Help:Template limits: Difference between revisions

Content deleted Content added
Davidwr (talk | contribs)
Post-expand include size: {{technical}} recently added, + |section
Davidwr (talk | contribs)
Post-expand include size: -{{Technical|section}} - on further review, that template is for articles, not project pages, so removing it entirely
Line 70:
== Post-expand include size ==
{{shortcut|WP:PEIS}}
{{Technical|section}}
The '''post-expand include size''' is the sum of the lengths of the expanded wikitexts generated by templates, parser functions and variables. Whenever the parser is instructed by the source code of a page to expand a template etc. (that is, to replace it by transclusion or substitution), the parser adds together the length of the expanded wikitext generated by the template etc. and the current counter value of the page. If this sum is more than the '''post-expand limit''' (same as the max article size limit), the initial template etc. is not replaced and an error message is added as a comment in the output HTML. Otherwise the post-expand counter is increased to the new value, and parsing continues. A template that is expanded more than once in the page contributes more than once to its post-expand include size.