Template:Require substitution/sandbox: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
(Create sandbox version of Template:Require substitution)
 
(Adding autocategorization)
 
Line 6: Line 6:
           #if:{{{template|}}}
           #if:{{{template|}}}
           |. Replace <nowiki>{{</nowiki>{{{template}}} ...<nowiki>}} with {{</nowiki>subst:{{{template}}} ...<nowiki>}}</nowiki>
           |. Replace <nowiki>{{</nowiki>{{{template}}} ...<nowiki>}} with {{</nowiki>subst:{{{template}}} ...<nowiki>}}</nowiki>
         }}.}}
         }}.{{Category handler | [[Category:Pages not substituting templates]]}}}}
}}</includeonly><noinclude>{{documentation}}</noinclude>
}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 23:51, 6 December 2021

Template documentation[view] [edit] [history] [purge]


Usage

Metatemplate that can be wrapped around a template that requires substitution.

{{ {{{|safesubst:}}}Require substitution
   | ... (normal template code) ...
}}
This template was adapted from Template:Require substitution on Wikipedia.
Adaptation is noted for reference and attribution only. This template may differ from the original in function or in usage.