Template:Table Choice

From MC Public Wiki
Revision as of 17:02, 14 October 2011 by Admin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}

Template-info.png Documentation

This template is used to color the cell background and cell text of a table depending on what option you choose.

Usage

To use the template you choose from one of the available parameters and optionally choose to add custom text. Note that the first letter for custom text is automatically changed to uppercase.

Examples

{| class="wikitable" style="margin: 0px"
|{{tc|yes}}
|}

Will output:

Yes


{| class="wikitable" style="margin: 0px"
|{{tc|unknown|not sure}}
|}

Will output:

Not sure

Available parameters

Parameter Example
yes Yes
no No
never Never
neutral Neutral
partial Partial
planned Planned
unknown Unknown
n/a N/A

The above documentation is transcluded from Template:Table Choice/doc. (edit | history)

fr:Modèle:Choix table