Template:Camp supplies: Difference between revisions
Jump to navigation
Jump to search
add tooltip |
HiddenDragon (talk | contribs) mNo edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
| no link | | no link | ||
| nolink = Camp Supplies | | nolink = Camp Supplies | ||
| short = }}</includeonly><noinclude> | | 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 == | == Template data == | ||
Line 30: | Line 25: | ||
"description": "The number of camp supplies to represent. Can be omitted.", | "description": "The number of camp supplies to represent. Can be omitted.", | ||
"type": "number", | "type": "number", | ||
"suggested": true | "suggested": true, | ||
"required": false | |||
}, | }, | ||
"2": { | "2": { | ||
"label": "format", | "label": "format", | ||
"description": " | "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": [ | "suggestedvalues": [ | ||
"nolink", | "nolink", | ||
"bold", | "bold", | ||
"short" | "short" | ||
] | ], | ||
"required": false, | |||
"type": "string", | |||
"suggested": false | |||
} | } | ||
} | } | ||
} | } | ||
</templatedata></noinclude> | </templatedata> | ||
}} | |||
[[Category:Templates]] | |||
[[Category:Link templates]] | |||
</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 |
{{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 |