Template:Infobox NaviCust part/grid: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<div class="navicust-grid" style="--part-color: {{#switch: {{#explode:{{{colors|}}}|,|0}}
<div class="navicust-grid" style="--part-color: {{#switch: {{#explode:{{{colors|}}}|,|0}}
|Red=red
|Red=#de1000
|White=white
|Pink=#de8cc6
|Blue=blue}}">
|Yellow=#dede00
|Green=#18c600
|Blue=#2984de
|White=#dedede
|Orange=#de7b00
|Purple=#9400ce
|Gray=#848484
}}">
{{#arraymap:{{{mask|}}}|\n|PLACEHOLDER|
{{#arraymap:{{{mask|}}}|\n|PLACEHOLDER|
   {{#arraymap:PLACEHOLDER||PLACEHOLDER|<div class="navicust-grid__cell {{#ifeq: PLACEHOLDER|X|navicust-grid__cell-filled||}}">PLACEHOLDER</div>|\s}}
   {{#arraymap:PLACEHOLDER||PLACEHOLDER|<div class="navicust-grid__cell {{#ifeq: PLACEHOLDER|X|navicust-grid__cell-filled||}}">PLACEHOLDER</div>|\s}}

Revision as of 03:06, 19 October 2022