Template:Substituted/doc: Difference between revisions

[checked revision][checked revision]
Content deleted Content added
Created page with "{{Documentation subpage}} {{nosubst}} <!--- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE ---> {{tlf|Subst only}} produces the following notice: <div style..."
 
No edit summary
 
Line 5:
{{tlf|Subst only}} produces the following notice:
<div style="padding-top:0.5em;padding-bottom:0.6em;">{{Subst only|actualtemplate={{tlg|foo|subst=on}}}}</div>
(but {{tlf|Subst only}} itself should '''''not''''' be [[Wikipedia:Help:Substitution|substituted]].)
 
=== Usage ===
<code><nowiki>{{Subst only}}</nowiki></code>
 
{{tlf|Subst only}} should be placed on the {{strong|[[Wikipedia:Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpage|subpage]]}} of any template that requires [[Wikipedia:Help:Substitution|substitution]] rather than [[Wikipedia:Transclusion|transclusion]] (i.e. not on the template's own page itself).
 
Pages that include {{tlf|Subst only}} are added to [[:Category:Wikipedia substituted templates]].
Line 16:
=== Parameters ===
{{para|auto}}
: If set as "yes", the template to which the notice refers will be subst:ed automatically unless the {{para|demo|yes}} parameter is set. The notice is amended to state this. Default is "no". Setting this parameter to "yes" places the template in {{cl|Wikipedia templates to be automatically substituted}}; see [[Wikipedia:User:AnomieBOT/docs/TemplateSubster]] for more information.
{{para|alt}}
: Use to set an alternate and transcludable name for the template.
Line 25:
* {{tl|substituted}}
* {{tl|substonly}}
 
{{List of subst helper templates}}
 
<includeonly>{{sandbox other||