Template:Center: Difference between revisions

From All Skies Encyclopaedia
imported>David Kernow
(updating category)
imported>Ahecht
(make substable)
 
(22 intermediate revisions by 18 users not shown)
Line 1: Line 1:
<includeonly><div class="center" style="width:auto; margin-left:auto; margin-right:auto;{{safesubst<noinclude />:#if: {{{style|}}} | {{{style}}};}}">{{{1|[[Category:Pages using center with no arguments]]}}}</div></includeonly>{{safesubst<noinclude />:#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using center with unknown parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Center]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | style }}<noinclude>
<div align="center">{{{1}}}</div><noinclude>
{{documentation}}

<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
This is a simple template to align stuff to the centre. To use this, place <nowiki>{{centre|text}}</nowiki> on the desired page, replacing ''text'' with the desired content.

[[Category:Formatting templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 17:44, 15 March 2024