Help:Template limits: Difference between revisions

Content deleted Content added
adding template info
Line 74:
Template invocations with no arguments have an expanded text cache. So if <code><nowiki>{{foo}}</nowiki></code> includes the second-level meta-template <code><nowiki>{{bar}}</nowiki></code>, then multiple invocations of <code><nowiki>{{foo}}</nowiki></code> will only increment the post-expand include size for the fully-expanded <code><nowiki>{{foo}}</nowiki></code>; the secondary include <code><nowiki>{{bar}}</nowiki></code> is only counted once. But if you included the same template multiple times with <code><nowiki>{{foo|arg}}</nowiki></code>, then the secondary templates are counted each time, even if the argument is the same.
 
Pages exceeding the post-expand include size limit are automatically added to [[:Category:Pages where {{MediaWiki:post-expand-template include size is exceeded-inclusion-category}}]] ([https://en.wikipedia.org/w/api.php?action=query&list=categorymembers&cmtitle={{urlencode:Category%3APages%20where%20template%20include%20size%20is%20exceeded:{{MediaWiki:post-expand-template-inclusion-category}}}}&cmprop=title%7Ctimestamp&cmlimit=500&cmsort=timestamp&cmdir=desc&format=xml recent additions]).
[[Template:Citations broken from PEIS limit]] may be manually added to the page when citations or templates are broken as a result of the issue.
=== Using comments, noinclude and onlyinclude ===