We have begun migration of most wikis to our new host, Amazon Web Services. All but the top 100 wikis are in read-only mode until the migration is complete. Estimated completion: TBD -- Update: Fri 10/20 11pm UTC - We have encountered some unexpected issues. Our staff is working around the clock to complete this process as quickly as possible. Thank you for your patience.

Template:Table Choice

From Minecraft Wiki
(Redirected from Template:Tc)
Jump to: navigation, search
[view | edit | history | purge]Documentation

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

Usage[edit source]

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.

style= can be use to add additional styling.

Examples[edit source]

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

Will output:

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

Will output:

Not sure

Available parameters[edit source]

Parameter Example
yes Yes
always Always
no No
never Never
rarely Rarely
neutral Neutral
partial Partial
planned Planned
unknown Unknown
in off
in! ON
out off
out! ON
n/a N/A
[view | edit | history | purge]The above documentation is transcluded from Template:Table Choice/doc.