Diferencia entre revisiones de «Plantilla:Table Choice»
m (1 revisión) |
|||
(No se muestra una edición intermedia de otro usuario) | |||
Línea 18: | Línea 18: | ||
{{/doc}} | {{/doc}} | ||
− | [[ | + | [[Categoría:Plantillas]] |
+ | [[en:Template:Table Choice]] | ||
+ | [[fr:Modèle:Choix table]] | ||
</noinclude> | </noinclude> |
Revisión del 15:43 14 jul 2013
- Atajo
- 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:
Sí |
{| class="wikitable" style="margin: 0px"
| {{tc|unknown|not sure|style=text-decoration:underline}}
|}
Will output:
Not sure |
Available parameters
Parameter | Example |
---|---|
yes | Sí |
always | Siempre |
no | No |
never | Nunca |
neutral | Neutral |
partial | Parcial |
planned | Planeado |
unknown | Desconocido |
in | off |
in! | ON |
out | off |
out! | ON |
n/a | N/A |
La documentación anterior se transcluye de Plantilla:Table Choice/doc. (edit | history)