Template:Table Choice

From TerraFirmaCraft Wiki
Jump to: navigation, search
Template documentation (for the above template, sometimes hidden or invisible)

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

Visit Template:Table Choice/doc to edit this text! (How does this work?)
fr:Modèle:Choix table