Template:Camp supplies: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
HiddenDragon (talk | contribs) mNo edit summary |
||
(8 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><span aria-label="Camp supplies" style="display:inline-block">{{SmallIcon|Camp Supplies Icon.png}}</span> {{{1|}}} {{#switch: {{{2|}}} | ||
{{SmallIcon|Camp Supplies Icon.png}} {{{1|}}} {{#switch: {{{2|}}} | | #default = [[Camp Supplies]] | ||
| | |||
| bold = '''Camp Supplies''' | | bold = '''Camp Supplies''' | ||
| no link | | no link | ||
| nolink = Camp Supplies | | nolink = Camp Supplies | ||
| | | short = }}</includeonly><noinclude>{{Documentation|content= | ||
Displays an amount of camp supplies. | |||
== Examples == | |||
{{Template demo | |||
| style = table | |||
| <nowiki>{{camp supplies}}</nowiki> | |||
| <nowiki>{{camp supplies|20}}</nowiki> | |||
| <nowiki>{{camp supplies|20|nolink}}</nowiki> | |||
| <nowiki>{{camp supplies|20|bold}}</nowiki> | |||
| <nowiki>{{camp supplies|20|short}}</nowiki> | |||
}} | |||
== Template data == | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "supplies", | |||
"description": "The number of camp supplies to represent. Can be omitted.", | |||
"type": "number", | |||
"suggested": true, | |||
</ | "required": false | ||
}, | |||
"2": { | |||
[[Category: | "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> | |||
}} | |||
[[Category:Templates]] | |||
[[Category:Link templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 23:41, 19 January 2025
Template documentation
Displays an amount of camp supplies.
Examples
Markup | Renders as |
---|---|
{{camp supplies}} | ![]() |
{{camp supplies|20}} | ![]() |
{{camp supplies|20|nolink}} | ![]() |
{{camp supplies|20|bold}} | ![]() |
{{camp supplies|20|short}} | ![]() |
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 |