Toggle menu
15
236
70
27.5K
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 23:50, 24 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> The {{tl|cell1}} template can be used to create a single consecutive table cell with a specified background color. It is designed for compatibility with {{tl|cell2}}, {{tl|cell3}} and {{tl|cells}} (together, "the {{tl|cell2}} family"). By default, {{tl|cell}} has an internal font size of 50%. However, the {{tl|cell2}} family overrides this, and have a default internal font size of 100%....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The {{cell1}} template can be used to create a single consecutive table cell with a specified background color. It is designed for compatibility with {{cell2}}, {{cell3}} and {{cells}} (together, "the {{cell2}} family").

By default, {{cell}} has an internal font size of 50%. However, the {{cell2}} family overrides this, and have a default internal font size of 100%. Therefore a series containing only {{cell}}s will be half the height of a series containing at least one member of the {{cell2}} family. {{cell1}} is designed to emulate the behaviour of the {{cell2}} family, but for a single cell.

Usage

{{cell1|COLOR}}


The template takes one unnamed parameter as input, which is the background color of the table cells.

Examples

Example 1: using {{cell}}

{| width="50%" cellspacing=0
{{cell|red}}{{cell|blue}}{{cell|green}}
|}

Example 2: using {{cell1}}

{| width="50%" cellspacing=0
{{cell1|red}}{{cell1|blue}}{{cell1|green}}
|}

Note

The {{cell2}} and {{cell3}} template can be used for a sequence of two or three cells of the same color. For more than three cells, use {{cells}}.

See also