Template:Middle: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(documentation)
(allow for 3 o more columns)
Line 1: Line 1:
<includeonly>|valign="top" width=50%|</includeonly><noinclude>
<includeonly>|valign="top" width={{#expr:100/{{{1|2}}} }}%|</includeonly><noinclude>
{{DisplayBox|bgcolor=g|title=Documentation|text=
{{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.  
This template, together with {{tl|top}} and {{tl|bottom}}, allows a user to easily create a two-column table.  

Revision as of 14:51, 4 April 2013


Documentation

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...

|}