Sjabloon:Captionexample: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
(Nieuwe pagina aangemaakt met '<includeonly><div class="center" style="width:auto; margin-left:auto; margin-right:auto;text-decoration:underline;">{{{1}}}</div></includeonly><noinclude> {{:{{NAME...') |
|||
(3 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 1: | Regel 1: | ||
− | <includeonly><div class="center" style="width:auto; margin-left:auto; margin-right:auto;text-decoration:underline;">{{{1}}}</div></includeonly><noinclude> | + | <includeonly><div class="center" style="width:auto; margin-top:1em; margin-left:auto; margin-right:auto;text-decoration:underline;font-style:italic;font-weight:bold;">{{{1}}}</div></includeonly><noinclude> |
{{:{{NAMESPACE}}:{{PAGENAME}}/doc}} | {{:{{NAMESPACE}}:{{PAGENAME}}/doc}} | ||
</noinclude> | </noinclude> |
Huidige versie van 18 jul 2013 om 15:42
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-top: 1em;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