Minecraft Wiki
Minecraft Wiki
Game widow (Συζήτηση | συνεισφορές)
μ (Εισήχθη 1 αναθεώρηση)
MajrBot (Συζήτηση | συνεισφορές)
(Replace long obsolete <tt> with <code>)
 
Γραμμή 6: Γραμμή 6:
 
To use the template you choose from one of the [[#Available parameters|available parameters]] and optionally choose to add custom text. Note that the first letter for custom text is automatically changed to uppercase.
 
To use the template you choose from one of the [[#Available parameters|available parameters]] and optionally choose to add custom text. Note that the first letter for custom text is automatically changed to uppercase.
   
<tt>style=</tt> can be use to add additional styling.
+
<code>style=</code> can be use to add additional styling.
   
 
=== Examples ===
 
=== Examples ===

Τελευταία αναθεώρηση της 02:38, 14 Νοεμβρίου 2018

This is the documentation page, it should be transcluded into the main template page. See Πρότυπο:Documentation for more information
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:

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

Will output:

Not sure

Available parameters

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
-