Minecraft Wiki
Advertisement
[view | edit | history | purge]Documentation
Shortcut
tc

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.

style= can be use to add additional styling.

Examples[]

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

Will output:

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

Will output:

Not sure

Available parameters[]

Parameter Example
yes Ano
always Vždy
no Ne
never Nikdy
rarely Zřídka
neutral Neutrální
partial Částečný
planned Planned
unknown Neznámý
in vypnuto
in! ZAPNUTO
out vypnuto
out! ZAPNUTO
n/a N/A
-
[view | edit | history | purge]The above documentation is transcluded from Šablona:Table Choice/doc.
Advertisement