Template:Middle: Difference between revisions
Jump to navigation
Jump to search
Documentation
(Table formatting) |
(documentation) |
||
Line 1: | Line 1: | ||
<includeonly>|valign="top" width=50%|</includeonly><noinclude> | <includeonly>|valign="top" width=50%|</includeonly><noinclude> | ||
{{DisplayBox|bgcolor=g|title=Documentation|text= | |||
This template, together with {{tl|top}} and {{tl|bottom}}, allows a user to easily create a two-column table. | |||
;Usage | |||
'''<nowiki>{{top}}</nowiki>'''<br><br> | |||
''...text of left column...''<br><br> | |||
'''<nowiki>{{middle}}</nowiki>'''<br><br> | |||
''...text of right column...''<br><br> | |||
'''<nowiki>{{bottom}}</nowiki>''' | |||
It's equivalent to using the wiki code: | |||
<nowiki>{|border="0" cellpadding="5" cellspacing="0" width=100%</nowiki><br> | |||
<nowiki>|valign="top"|</nowiki><br><br> | |||
''...text of left column...''<br><br> | |||
<nowiki>|valign="top" width=50%|</nowiki><br><br> | |||
''...text of right column...''<br><br> | |||
<nowiki>|}</nowiki> | |||
}} | |||
[[Category:Table formatting templates]] | [[Category:Table formatting templates]] | ||
</noinclude> | </noinclude> |
Revision as of 17:04, 10 January 2013
This template, together with {{top}} and {{bottom}}, allows a user to easily create a two-column table.
- Usage
{{top}}
...text of left column...
{{middle}}
...text of right column...
{{bottom}}
It's equivalent to using the wiki code:
{|border="0" cellpadding="5" cellspacing="0" width=100%
|valign="top"|
...text of left column...
|valign="top" width=50%|
...text of right column...
|}