Anonymous
×
Create a new article
Write your page title here:
We currently have 55 articles on SR5 Foundry VTT System Wiki. Type your article name above or click on one of the titles below and start writing!



SR5 Foundry VTT System Wiki

Template:Stub/Documentation: Difference between revisions

(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>")
 
No edit summary
 
Line 1: Line 1:
{{Documentation}}
<includeonly>[[Category:Categorization Template]]</includeonly>
<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>
{{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.