Difference between revisions of "Template:Dye Color Table"
Jump to navigation
Jump to search
(suppress check/ex columns if not needed) |
(recoding done. replaced "Available as" with "Available for") |
||
Line 16: | Line 16: | ||
! rowspan="2" | Color | ! rowspan="2" | Color | ||
! rowspan="2" | Color name | ! rowspan="2" | Color name | ||
− | ! colspan="{{#expr:0{{#if:{{#var:paint}}|+1}}{{#if:{{#var:hair}}|+1}}{{#if:{{#var:apparel}}|+1}} }}" | Available | + | ! colspan="{{#expr:0{{#if:{{#var:paint}}|+1}}{{#if:{{#var:hair}}|+1}}{{#if:{{#var:apparel}}|+1}} }}" | Available for |
! rowspan="2" | Color code [<span style="color:#0645ad;" class="mw-collapsible mw-customtoggle-color" id="mw-customcollapsible-color">Expand</span><span style="color:#0645ad;" class="mw-collapsible mw-collapsed mw-customtoggle-color" id="mw-customcollapsible-color">Collapse</span>] | ! rowspan="2" | Color code [<span style="color:#0645ad;" class="mw-collapsible mw-customtoggle-color" id="mw-customcollapsible-color">Expand</span><span style="color:#0645ad;" class="mw-collapsible mw-collapsed mw-customtoggle-color" id="mw-customcollapsible-color">Collapse</span>] | ||
<tr> | <tr> | ||
Line 362: | Line 362: | ||
</tr>}} | </tr>}} | ||
|} | |} | ||
− | </li></div></includeonly><noinclude> | + | </li></div></includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 09:37, 12 December 2023
Overview
Displays a collapsible table of all the dye colors, with their names (if one exists in-game), use and color code.
By default all colors are shown. It is however possible to only show a specific selection with any combination of the following three optional parameters:
paint = true
for all colors that can be used as paint,hair = true
for all colors that can be used as hair color; andapparel = true
for all colors that are available for apparel.
Examples
{{Dye Color Table}}
results in:
{{Dye Color Table| hair = true | apparel = true}}
results in:
The above documentation is transcluded from Template:Dye Color Table/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |