Help:Template limits: Difference between revisions

Content deleted Content added
m Reverted edits by Mhadi1 (talk): Unexplained removal of content (HG) (3.2.0)
Mhadi1 (talk | contribs)
My android.
Tags: Mobile edit Mobile web edit
Line 53:
</source>
 
Free my site.
==Expansion==
Templates in non-executed branches of conditional parser functions are not expanded, and therefore not counted. For example, in the code <code><nowiki>{{#if:yes|{{bar}}|{{foo}}}}</nowiki></code>, the template <code><nowiki>{{bar}}</nowiki></code> is expanded, but the template <code><nowiki>{{foo}}</nowiki></code> is not expanded.
Nevertheless, it is possible for a template argument to contribute to the counts even though it does not appear in the final output. For example, if the code <code><nowiki>{{#if:{{foo}}|yes|no}}</nowiki></code> is parsed, the length of the expanded version of template <code><nowiki>{{foo}}</nowiki></code> will be added to the post-expand counter, because that template must be expanded to decide which branch of the conditional should be selected.
 
== Preprocessor node count ==