Mr. Johnson (talk | contribs) (Created page with "{{Documentation}} <includeonly><onlyinclude>{{#ifeq:{{NAMESPACE}}|Template||Category:Stub}}{{Iconbox|This page is a {{Category|stub}}, meant to be transcluded into {{#if:{{{1|}}}|[[{{{1}}}]]|[[Special:WhatLinksHere/{{FULLPAGENAME}}|another page]]}} rather than viewed directly.|color=blue}}</onlyinclude></includeonly>") |
Mr. Johnson (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude>{{#ifeq:{{NAMESPACE}}|Template||[[Category:Stub]]}}{{ | <includeonly><onlyinclude>{{#ifeq:{{NAMESPACE}}|Template||[[Category:Stub]]}}{{Redbox|Stub|This page is a {{Category|stub}}, meant to be transcluded into {{#if:{{{1|}}}|[[{{{1}}}]]|[[Special:WhatLinksHere/{{FULLPAGENAME}}|another page]]}} rather than viewed directly.}}</onlyinclude></includeonly> |
Latest revision as of 18:22, 19 November 2023
Template:Stub
Template:Stub
is used to identify and categorize templates that are meant to be transcluded into other templates, rather than viewed directly.
Usage
It accepts one optional string parameter, a page name.
Return
If the optional parameter is excluded, e.g.{{Stub}}
, returns: Stub
This page is a Stub, meant to be transcluded into another page rather than viewed directly.
{{Stub|Template:Stub}}
, returns: Stub
This page is a Stub, meant to be transcluded into Template:Stub rather than viewed directly.
The documentation above was transcluded from Template:Stub/Documentation. [ edit ]