Difference between revisions of "Template:Center"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>style="text-align:center;"</includeonly><noinclude> Template for center style, especially useful for cells within tables: {| class="wikitable" | width="100%" {{ce...")
 
(test)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>style="text-align:center;"</includeonly><noinclude>
+
<includeonly>{{a|c}}</includeonly><noinclude>
 
Template for center style, especially useful for cells within tables:
 
Template for center style, especially useful for cells within tables:
{| class="wikitable"
+
{| width="100%" class="wikitable"
| width="100%" {{center}} | This text is centered.
+
| {{center}} | This text is centered within this cell.
 +
| This text is not centered within this cell. Default to align left.
 
|-
 
|-
| This text is not centered. Default to align left.
+
| colspan="2" | This text is also not centered.
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Latest revision as of 17:53, 4 June 2012

Template for center style, especially useful for cells within tables:

This text is centered within this cell. This text is not centered within this cell. Default to align left.
This text is also not centered.