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:54, 24 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> The {{tl|cells}} template can be used to create up to 20 consecutive table cells with a specified background color. The command <code><nowiki>{{cells|4|</nowiki>''COLOR''<nowiki>}}</nowiki></code> is equivalent to {{cell}}{{cell}}{{cell}}{{cell}} === Usage === {{cells}} The template takes two unnamed parameters as input * ''n'' is the number of consecutive table cells *...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The {{cells}} template can be used to create up to 20 consecutive table cells with a specified background color.

The command {{cells|4|COLOR}} is equivalent to {{cell|COLOR}} {{cell|COLOR}} {{cell|COLOR}} {{cell|COLOR}}


Usage

{{cells|n|COLOR}}

The template takes two unnamed parameters as input

  • n is the number of consecutive table cells
  • COLOR is the background color

Examples

Code
{{scarf|width=30em|{{cell|red}}{{cells|4|blue}}{{cell|green}}}}
Result


Note

The {{cell2}} and {{cell3}} templates can be used for a sequence of two or three cells of the same color.

See also