Module:LuaCall: Difference between revisions
From Test Wiki
Content deleted Content added
+desc |
desc |
||
| Line 83: | Line 83: | ||
-- Example: |
-- Example: |
||
-- {{#invoke:LuaCall|call|mw.log|a|1|2|3}} will return results of mw.log('a', 1, 2, 3) |
-- {{#invoke:LuaCall|call|mw.log|a|1|2|3}} will return results of mw.log('a', 1, 2, 3) |
||
-- {{#invoke:LuaCall|call|mw.logObject|\a|321|\321| \321 }} will return results of mw.logObject('a', 321, '321', ' \321 ') |
-- {{#invoke:LuaCall|call|mw.logObject|\a|321|\321| \321 }} will return results of mw.logObject('a', 321, '321', ' \\321 ') |
||
-- |
-- |
||
-- This example show the debugging to see which Unicode characters are allowed in template parameters, |
-- This example show the debugging to see which Unicode characters are allowed in template parameters, |
||