Template:Table Choice

From MC Public Wiki
(Redirected from Template:Tc)
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