Help:Template limits: Difference between revisions

Content deleted Content added
Line 89:
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}-- p.main() has no return value</syntaxhighlight>
 
==Template argument size==