Toggle menu
15
237
93
27.9K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 18:26, 23 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation header}} 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. <code>style=</code> can be use to add additional styling. === Examples === <syntaxhighlight lang="wikite...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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"
| {{table choice|yes}}
|}

Will output:

Yes
{| class="wikitable" style="margin: 0px"
| {{table choice|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
-