Sjabloon:Captionexample/doc: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
(Nieuwe pagina aangemaakt met '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE END OF THIS PAGE. --> This is a simple template to center align and underline captions....') |
|||
Regel 13: | Regel 13: | ||
To do this without a template, simply use the following code: | To do this without a template, simply use the following code: | ||
− | :<code><nowiki><div class="center" style="width:auto; margin-left:auto; margin-right:auto;text-decoration:underline;"></nowiki></tt>''your text''<tt><nowiki></div></nowiki></code> | + | :<code><nowiki><div class="center" style="width:auto; margin-left:auto; margin-right:auto;text-decoration:underline;font-style:italic"></nowiki></tt>''your text''<tt><nowiki></div></nowiki></code> |
To center a table, see [[Help:TABLECENTER]]. | To center a table, see [[Help:TABLECENTER]]. |
Versie van 17 jul 2013 07:44
40px | This is a documentation subpage for Sjabloon:Captionexample. It contains usage information, categories, interlanguage links and other content that is not part of the original sjabloon page. |
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">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