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: {{NaviCust color/fill|{{#explode:{{{colors|}}}|,|0}}}}; --part-stroke: {{NaviCust color/stroke|{{#explode:{{{colors|}}}|,|0}}}}; grid-template-columns: repeat({{{ | <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({{#len:{{#explode:{{#arraymap:{{{mask|}}}|\n|PLACEHOLDER|PLACEHOLDER,||}}|,|0}}}}, 28px); grid-template-rows: repeat({{#len:{{#arraymap:{{{mask|}}}|\n|PLACEHOLDER|.||}}}}, 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}} |