Template

LinesOverlay Test

From Dogcraft Wiki

No edit summary
No edit summary
Line 3: Line 3:
<templatestyles src="Template:LinesOverlay_Test/styles.css" />
<templatestyles src="Template:LinesOverlay_Test/styles.css" />
<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}}}">
   {{#loop: i
   {{#invoke: String
| 0
| rep
| {{#count:{{{line1|}}}|,}}
| <div class="line" style="
| <div class="line" style="
--x1: {{#explode:{{#explode:{{{line1|}}}| |{{#var: i }}}}|,|0}};  
--x1: {{#explode:{{#explode:{{{line1|}}}| |{{#var: i }}}}|,|0}};  
Line 12: Line 11:
--z2: {{#explode:{{#explode:{{{line1|}}}| |{{#expr: {{#var: i }} + 1}}}}|,|1}};
--z2: {{#explode:{{#explode:{{{line1|}}}| |{{#expr: {{#var: i }} + 1}}}}|,|1}};
   "></div>
   "></div>
| {{#count:{{{line1|}}}|,}}
}}
</div>
</div>



Revision as of 22:52, 15 March 2024



String Module Error: function rep expects a number as second parameter, received ""



This page was last modified on 15 March 2024, at 22:52. (7 months ago)