Mr. Johnson (talk | contribs) (Created page with "{{Documentation}} <includeonly><onlyinclude>{{#ifeq:{{NAMESPACE}}|Template||Category:Stub}}{{Redbox|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>") |
Mr. Johnson (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[Category:Categorization Template]]</includeonly> | |||
<includeonly>< | {{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 {{Parameter|optional|string}}, a page name. | |||
==Return== | |||
If the optional parameter is excluded, e.g. {{Code|<nowiki>{{Stub}}</nowiki>}}, returns: {{Return|{{Stub}}}} | |||
If the optional parameter is included, e.g. {{Code|<nowiki>{{Stub|Template:Stub}}</nowiki>}}, returns: {{Return|{{Stub|Template:Stub}}}} |
Latest revision as of 18:21, 19 November 2023
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.
If the optional parameter is included, e.g. {{Stub|Template:Stub}}
, returns:
Stub
This page is a Stub, meant to be transcluded into Template:Stub rather than viewed directly.