Difference between revisions of "Template:Nextcolumn"
Jump to navigation
Jump to search
m (get simpler again) |
(Add some documentation) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <includeonly></td>{{#switch: {{{bar|}}} |
+ | |no | ||
+ | |none={{TD15}} | ||
+ | |grey | ||
+ | | | ||
+ | |gray={{TD15}}<td width=2 bgcolor="#AAAAAA">{{TD15}} | ||
+ | |#default={{TD15}}<td width=2 bgcolor="{{{bar}}}">{{TD15}} | ||
+ | }}<td valign=top></includeonly><noinclude> | ||
+ | Used, with [[:Template:Multicolumn]] and [[:Template:EndMulticolumn]] to create several columns of output. | ||
+ | |||
+ | Nextcolumn takes a parameter to define the bar that separates the columns: | ||
+ | ; not specifying the bar parameter | ||
+ | : Outputs a gray bar | ||
+ | ; bar=gray or bar=grey | ||
+ | : Outputs a gray bar | ||
+ | ; bar=no or bar=none | ||
+ | : Does not output a visible bar (Columns are separated by a 15 pixel empty column) | ||
+ | ; bar=blue | ||
+ | : Ouputs a blue bar | ||
+ | </noinclude> |
Latest revision as of 17:26, 3 January 2012
Used, with Template:Multicolumn and Template:EndMulticolumn to create several columns of output.
Nextcolumn takes a parameter to define the bar that separates the columns:
- not specifying the bar parameter
- Outputs a gray bar
- bar=gray or bar=grey
- Outputs a gray bar
- bar=no or bar=none
- Does not output a visible bar (Columns are separated by a 15 pixel empty column)
- bar=blue
- Ouputs a blue bar