Template:Table Choice/doc

From MC Public Wiki
< Template:Table Choice
Revision as of 17:01, 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

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

fr:Modèle:Choix table/doc