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: red">
<div class="navicust-grid" style="--part-color: {{#switch: {{#explode:{{{colors|}}}|,|0}}
|Red=red
|White=white
|Blue=blue}}">
{{#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:04, 19 October 2022