Template:Camp supplies: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{SmallIcon|Camp Supplies Icon.png}} {{{1|}}} {{#switch: {{{2|}}} | <includeonly><span aria-label="Camp supplies" style="display:inline-block">{{SmallIcon|Camp Supplies Icon.png}}</span> {{{1|}}} {{#switch: {{{2|}}} | ||
| #default = [[Camp Supplies]] | | #default = [[Camp Supplies]] | ||
| bold = '''Camp Supplies''' | | bold = '''Camp Supplies''' | ||
| no link | | no link | ||
| nolink = Camp Supplies}}</includeonly><noinclude> | | nolink = Camp Supplies | ||
| short = }}</includeonly><noinclude> | |||
Result | {| class="wikitable" | ||
! Parameters !! Result | |||
|- | |||
| {{code|<nowiki>{{camp supplies}}</nowiki>}} || {{camp supplies}} | |||
|- | |||
| {{code|<nowiki>{{camp supplies|20}}</nowiki>}} || {{camp supplies|20}} | |||
|- | |||
| {{code|<nowiki>{{camp supplies|20|nolink}}</nowiki>}} || {{camp supplies|20|nolink}} | |||
|- | |||
| {{code|<nowiki>{{camp supplies|20|bold}}</nowiki>}} || {{camp supplies|20|bold}} | |||
|- | |||
| {{code|<nowiki>{{camp supplies|20|short}}</nowiki>}} || {{camp supplies|20|short}} | |||
|} | |||
[[Category:Icon templates]] | |||
== Template data == | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "supplies", | |||
"description": "The number of camp supplies to represent. Can be omitted.", | |||
"type": "number", | |||
"suggested": true, | |||
"required": false | |||
}, | |||
</noinclude> | "2": { | ||
"label": "format", | |||
"description": "The format of the output. Can be omitted. Default is a link to the Camp Supplies page. Possible values are: nolink, bold, short.", | |||
"suggestedvalues": [ | |||
"nolink", | |||
"bold", | |||
"short" | |||
], | |||
"required": false, | |||
"type": "string", | |||
"suggested": false | |||
} | |||
} | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 04:19, 29 June 2024
Parameters | Result |
---|---|
{{camp supplies}} |
Camp Supplies |
{{camp supplies|20}} |
20 Camp Supplies |
{{camp supplies|20|nolink}} |
20 Camp Supplies |
{{camp supplies|20|bold}} |
20 Camp Supplies |
{{camp supplies|20|short}} |
20 |
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
supplies | 1 | The number of camp supplies to represent. Can be omitted. | Number | suggested |
format | 2 | The format of the output. Can be omitted. Default is a link to the Camp Supplies page. Possible values are: nolink, bold, short.
| String | optional |