Content deleted Content added
m →Template limits: code comments |
|||
Line 350:
'''Non-rendered tranclusions still count towards limit.''' For example, a page which contains only <code><nowiki>{{#if:{{:Main Page}}}}</nowiki><code> would still have a post-expand include size even though it would have no output at all.
The same applies to [[Wikipedia:Lua|Scribunto modules]]. For example, <code><nowiki>{{#invoke:Test|main}}</nowiki><code> would still increase post-expand include size even if Module:Test were simply: <syntaxhighlight lang=lua>mw.getCurrentFrame():preprocess'{{msgnw::Main Page}}'--remove this line and post-expand include size becomes zero
return {main = function()end}--main has no return value</syntaxhighlight>
==Lua programming language==
|