Difference between revisions of "Template:Bottom"

From ChoralWiki
Jump to navigation Jump to search
(Table formatting)
(documentation)
Line 1: Line 1:
 
<includeonly>|}</includeonly><noinclude>
 
<includeonly>|}</includeonly><noinclude>
 +
{{DisplayBox|bgcolor=g|title=Documentation|text=
 +
This template, together with {{tl|top}} and {{tl|middle}}, 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:05, 10 January 2013


Documentation

This template, together with {{top}} and {{middle}}, 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...

|}