Template
LinesOverlay Test
From Dogcraft Wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<templatestyles src="Template:LinesOverlay_Test/styles.css" /> | <templatestyles src="Template:LinesOverlay_Test/styles.css" /> | ||
{{#invoke:String|count|{{{line1|}}}|,}} | <div data-num="{{#invoke:String|count|{{{line1|}}}|,}}"></div> | ||
<div id="outerLinesContainer" style="--lineWidth: {{{lineWidth|5}}}; --startX: {{{startX|0}}}; --startZ: {{{startZ|0}}}"> | <div id="outerLinesContainer" style="--lineWidth: {{{lineWidth|5}}}; --startX: {{{startX|0}}}; --startZ: {{{startZ|0}}}"> | ||
{{#invoke: String | {{#invoke: String | ||
|rep | |rep | ||
|<div class="line" style="--x1: {{#explode:{{#explode:{{{line1|}}}| |0}}|,|0}}; --z1: {{#explode:{{#explode:{{{line1|}}}| |0}}|,|1}}; --x2: {{#explode:{{#explode:{{{line1|}}}| |1}}|,|0}}; --z2: {{#explode:{{#explode:{{{line1|}}}| |1}}|,|1}}; transform: rotate(90deg); height: 100px;"></div> | |<div class{{=}}"line" style{{=}}"--x1: {{#explode:{{#explode:{{{line1|}}}| |0}}|,|0}}; --z1: {{#explode:{{#explode:{{{line1|}}}| |0}}|,|1}}; --x2: {{#explode:{{#explode:{{{line1|}}}| |1}}|,|0}}; --z2: {{#explode:{{#explode:{{{line1|}}}| |1}}|,|1}}; transform: rotate(90deg); height: 100px;"></div> | ||
|{{#invoke:String|count|{{{line1|}}}|,}} | |{{#invoke:String|count|{{{line1|}}}|,}} }} | ||
}} | }} | ||
</div> | </div> |
Revision as of 17:35, 17 March 2024
}}
This page was last modified on 17 March 2024, at 17:35. (7 months ago)