Difference between revisions of "Template:Nextcolumn"
Jump to navigation
Jump to search
(A whole new system) |
(Add some documentation) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | </td>{{#switch: {{{bar|}}} | + | <includeonly></td>{{#switch: {{{bar|}}} |
| − | |||
|no | |no | ||
|none={{TD15}} | |none={{TD15}} | ||
|grey | |grey | ||
| + | | | ||
|gray={{TD15}}<td width=2 bgcolor="#AAAAAA">{{TD15}} | |gray={{TD15}}<td width=2 bgcolor="#AAAAAA">{{TD15}} | ||
|#default={{TD15}}<td width=2 bgcolor="{{{bar}}}">{{TD15}} | |#default={{TD15}}<td width=2 bgcolor="{{{bar}}}">{{TD15}} | ||
| − | }}<td valign=top> | + | }}<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