Difference between revisions of "User:Victor Bearwolf/Snail Obj"

From Game Logs
Jump to: navigation, search
(Move along, citizen. Nothing to see here.)
 
m
Line 1: Line 1:
<includeonly>{{#vardefine:snailcounter|{{#expr:{{#var:snailcounter}}+1}}}}{{#vardefine:snaildata|{{#var:snaildata}}{{{x|0}}}\{{{y|0}}}\}}<div style="position:absolute; top:{{{y|0}}}%; left:{{{x|0}}}%; width:{{{w}}}px; height:{{{h}}}px; background-color:{{{color|white}}};">{{#var:snailcounter}}</div></includeonly><noinclude>
+
<includeonly>{{#vardefine:snailcounter|{{#expr:{{#var:snailcounter}}+1}}}}{{#vardefine:snaildata|{{#var:snaildata}}{{{x|0}}}\{{{y|0}}}\}}<div style="position:absolute; top:calc({{{y|0}}} - 10px); left:calc({{{x|0}}} - 10px); width:20px; height:20px; background-color:{{{color|black}}}; border-radius:50%; text-align:center; color:{{{label|white}}}">{{#if:{{#var:snaillabels}}|{{#var:snailcounter}}}}</div></includeonly><noinclude><div style="position:relative; width:100%; height:500px; background:#aaaaaa;">
 
Unleash the Snails!
 
Unleash the Snails!
{{User:Victor_Bearwolf/Snail_Obj|x=50|y=20|w=50|h=30|color=#eeffee}}{{User:Victor_Bearwolf/Snail_Obj|x=20|y=40|w=50|h=30|color=#ffeeee}}{{User:Victor_Bearwolf/Snail_Obj|x=50|y=40|w=50|h=30|color=#eeeeff}}{{User:Victor_Bearwolf/Snail_Obj|x=80|y=40|w=50|h=30|color=#ffeeff}}
+
{{#vardefine:snaillabels|1}}
 +
{{User:Victor_Bearwolf/Snail_Obj|x=50%|y=20%|color=#ffffee|label=black}}{{User:Victor_Bearwolf/Snail_Obj|x=20%|y=40%|color=#ffeeee|label=black}}{{User:Victor_Bearwolf/Snail_Obj|x=50%|y=40%|color=#eeffee|label=black}}{{User:Victor_Bearwolf/Snail_Obj|x=80%|y=40%|color=#eeeeff|label=black}}
 +
{{User:Victor_Bearwolf/Snail_Obj|x=35%|y=60%}}
 +
{{User:Victor_Bearwolf/Snail_Obj|x=70%|y=60%}}
 
<br>Counted snails: {{#var_final:snailcounter}}
 
<br>Counted snails: {{#var_final:snailcounter}}
 
<br>Snails data: {{#var_final:snaildata}}
 
<br>Snails data: {{#var_final:snaildata}}
</noinclude>
+
</div></noinclude>

Revision as of 04:54, 20 October 2020

Unleash the Snails!


1
2
3
4
5
6


Counted snails: 6
Snails data: 50%\20%\20%\40%\50%\40%\80%\40%\35%\60%\70%\60%\