Anonymous
×
Create a new article
Write your page title here:
We currently have 205 articles on Shadowrun Seattle Shutdown. Type your article name above or click on one of the titles below and start writing!



Shadowrun Seattle Shutdown

Template:Parameter/Documentation: Difference between revisions

No edit summary
No edit summary
Line 6: Line 6:
It also accepts one {{Parameter|optional|string}}, any arbitrary text.
It also accepts one {{Parameter|optional|string}}, any arbitrary text.
==Return==
==Return==
<!-- None of these will work correctly in the actual documentation page. -->
<noinclude>None of these will work correctly in the documtation subpage, but will appear in the actual documentation</noinclude> It's invoked twice above, but for clarity sake...
It's invoked twice above, but for clarity sake...


{{Code|<nowiki>{{Parameter|mandatory}}</nowiki>}} adds the template to the {{Category|Templates With Mandatory Parameters|end}} and returns: {{Return|{{Parameter|mandatory}}}}
{{Code|<nowiki>{{Parameter|mandatory}}</nowiki>}} adds the template to the {{Category|Templates With Mandatory Parameters|end}} and returns: {{Return|{{Parameter|mandatory}}}}

Revision as of 13:35, 23 October 2022

Template:Parameter is used with in the template namespace to identify and categorize templates based on their usage of parameters.

Usage

It accepts one mandatory parameter, one of mandatory, optional, no, or none.

It also accepts one optional string parameter, any arbitrary text.

Return

None of these will work correctly in the documtation subpage, but will appear in the actual documentation It's invoked twice above, but for clarity sake...

{{Parameter|mandatory}} adds the template to the Templates With Mandatory Parameters category and returns:

mandatory parameter

{{Parameter|optional}} adds the template to the Templates With Optional Parameters category and returns:

optional parameter

{{Parameter|no}} or {{Parameter|none}} adds the template to the Category:Templates without Parameters category and returns:

no parameters