User:SerpentofSet: Difference between revisions
Jump to navigation
Jump to search
SerpentofSet (talk | contribs) mNo edit summary |
SerpentofSet (talk | contribs) 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=== | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
=p.main{ | =p.main{ | ||
Line 17: | Line 16: | ||
==What's a sandbox== | ==What's a sandbox== | ||
===Input for JS?=== | |||
<input id="spirit" type="number" value="100"> | |||
<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]] | ||
Revision as of 18:28, 20 October 2024
I am bad at the game so I edit the wiki
How to Debug in Scribunto
{{#invoke:Test|a|sep=;|b}}
=p.main(
mw.getCurrentFrame():newChild{
title="Module:Test",
args={"a",["sep"]=";","b"}
}
)
Simplified version
=p.main{
args={"a",["sep"]=";","b"}
}
What's a sandbox
Input for JS?
<input id="spirit" type="number" value="100"> <input id="pi" type="number" value="14">