No edit summary |
m (Protected "Template:Infobox NaviCust part/grid" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(19 intermediate revisions by the same user not shown) | |||
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({{#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}} | ||
|\s}} | |||
</div> | |||
<templatestyles src="Infobox NaviCust part/grid/styles.css"></templatestyles> |