Sjabloon:Captionexample/doc: verschil tussen versies

Uit informatiestandaarden
Naar navigatie springen Naar zoeken springen
Regel 9: Regel 9:
 
{{markup
 
{{markup
 
| <nowiki>{{Captionexample|XML EXAMPLE}}</nowiki>
 
| <nowiki>{{Captionexample|XML EXAMPLE}}</nowiki>
| {{Captionexample|XML EXAMPLE!}}
+
| {{Captionexample|XML EXAMPLE}}
 
}}
 
}}
  

Versie van 18 jul 2013 12:35


This is a simple template to center align and underline captions.

Example

Markup Renders as
{{Captionexample|XML EXAMPLE}}
XML EXAMPLE

To do this without a template, simply use the following code:

<div class="center" style="width:auto; margin-left:auto; margin-right:auto;text-decoration:underline;font-style:italic;font-weight:bold;">your text</div>

To center a table, see Help:TABLECENTER.

All three

With Template
Left

style="text-align:left"|

center
right
With Template
Left2

style="text-align:left"|left

center
right

See also