Template:Never substitute/doc: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
(Created documentation.)
 
(This is not a high-priority template because it is not used in articles.)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{hatnote|The following also '''applies''' to this template, so this template should '''never''' be substituted:}}
{{Never substitute}}
{{Never substitute}}
Use {{tlx|Never substitute}} at the top of the documentation for a template that must be [[MW:Transclusion|transcluded]] and not be [[MW:Substituted|substituted]].


=== Usage ===
* {{tlx|Never substitute}}
<code><nowiki>{{Never substitute}}</nowiki></code>
{{Never substitute}}
 
This template should be placed on the <big>[[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpage|subpage]]</big> (not the template page itself) of any template that should '''not''' be substituted (and [[Wikipedia:Transclusion|transcluded]] instead).
 
{{List of subst helper templates}}
 
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
{{DEFAULTSORT:Substitute, Never}}
[[Category:Documentation header templates]]


}}</includeonly>
== TemplateData ==
<templatedata>
{
"params": {},
"description": "This template creates a notice on a template's documentation telling editors that the template should be transcluded and not be substituted.",
"format": "inline"
}
</templatedata>

Latest revision as of 12:34, 11 December 2024

Use {{Never substitute}} at the top of the documentation for a template that must be transcluded and not be substituted.

TemplateData

This template creates a notice on a template's documentation telling editors that the template should be transcluded and not be substituted.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified