Template:Center/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>16@r
moved from the template page
 
meta>16@r
+example
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
This is a simple template to align stuff to the center. To use this, place <nowiki>{{center|text}}</nowiki> on the desired page, replacing ''text'' with the desired content.
This is a simple template to align stuff to the center. To use this, place <nowiki>{{center|text}}</nowiki> on the desired page, replacing ''text'' with the desired content.
===Example===
{| class="wikitable" style="width:50%;"
| style="width:100px;" | '''Code''' || <nowiki>{{center|Hello world!}}</nowiki>
|-
| style="width:100px;" | '''Result''' || {{center|Hello world!}}
|}


<includeonly><!--
<includeonly><!--

Revision as of 17:32, 26 January 2008

This is a simple template to align stuff to the center. To use this, place {{center|text}} on the desired page, replacing text with the desired content.

Example

Code {{center|Hello world!}}
Result
Hello world!