mNo edit summary
mNo edit summary
Line 1: Line 1:
I am bad at the game so I edit the wiki
I am bad at the game so I edit the wiki
==How to Debug in Scribunto==
==How to Debug in Scribunto==
<code><nowiki>{{#invoke:Test|a|sep=;|b}}</nowiki></code>
<code><nowiki>{{#invoke:Test|a|sep=;|b}}</nowiki></code>
Line 10: Line 9:
   }
   }
)</syntaxhighlight>
)</syntaxhighlight>
====Simplified version====
===Simplified version===
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
=p.main{
=p.main{
Line 17: Line 16:


==What's a sandbox==
==What's a sandbox==
{{PageRef|Yamato|type=Hero}}
===Input for JS?===
 
<input id="spirit" type="number" value="100">
{{#invoke:HeroDataArrays|heroHealthTable}}
<input id="pi" type="number" value="14">


===Light/Dark Mode Fiddling===
[[File:Siphon Life.png|class=abilityicon]]
[[File:Siphon Life.png|class=abilityicon]]
[[File:Tornado.png|class=abilityicon]]
[[File:Tornado.png|class=abilityicon]]
{{#invoke:ItemsByStat|tablefy|BulletLifestealPercent|+X% Bullet Lifesteal|%}}
Use this for the debug console when testing the ItemsByStat page: =p.tablefy(  mw.getCurrentFrame():newChild{
title="Module:ItemsByStat",      args={"BulletLifestealPercent", "+X% Bullet Lifesteal", "%"}  })