No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div class="navicust-grid navicust-grid--{{#switch:{{{type|}}}|Solid=solid|Plus=plus}}" style="--part-fill: {{ | <div class="navicust-grid navicust-grid--{{#switch:{{{type|}}}|Solid=solid|Plus=plus}}" style="--part-fill: {{NaviCust color/fill|{{#explode:{{{colors|}}}|,|0}}}}; --part-stroke: {{NaviCust color/stroke|{{#explode:{{{colors|}}}|,|0}}}}; grid-template-columns: repeat({{{width|}}}, 28px); grid-template-rows: repeat({{{height|}}}, 28px);"> | ||
}}; --part-stroke: {{ | |||
}}; grid-template-columns: repeat({{{width|}}}, 28px); grid-template-rows: repeat({{{height|}}}, 28px);"> | |||
{{#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}} |