(Created page with "<includeonly>Category:Categorization Template</includeonly> {{Template|Parameter}} is used with in the template namespace to identify and categorize templates based on their usage of parameters. ==Usage== It accepts one {{Parameter|mandatory}}, one of {{Code|mandatory}}, {{Code|optional}}, {{Code|no}}, or {{Code|none}}. It also accepts one {{Parameter|optional|string}}, any arbitrary text. ==Return== It's invoked twice above, but for clarity sake... {{Code|<nowiki>...") |
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. --> | |||
It's invoked twice above, but for clarity sake... | It's invoked twice above, but for clarity sake... | ||
Revision as of 13:17, 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
It's invoked twice above, but for clarity sake...
{{Parameter|mandatory}} returns:
mandatory parameter
optional string parameter
