10,731
edits
TheNightAvl (talk | contribs) (Created page with "{{documentation subpage}} <pre> local m_inline = require("Module:inline") local term, args = m_inline.parse("hello<key1:value1><key2:value2>") </pre> Yields: <pre> term = "hello" args = {["key1"] = "value1", ["key2"] = "value2"} </pre>") |
TheNightAvl (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
<pre> | <pre> | ||
local m_inline = require("Module:inline") | local m_inline = require("Module:inline") | ||
local term, args = m_inline.parse("hello<key1:value1><key2 | local term, args = m_inline.parse("hello<key1:value1><key2>") | ||
</pre> | </pre> | ||
Yields: | Yields: | ||
<pre> | <pre> | ||
term = "hello" | term = "hello" | ||
args = {["key1"] = "value1", ["key2"] = | args = {["key1"] = "value1", ["key2"] = true} | ||
</pre> | </pre> |