Template:Camp Supplies: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(format docs, add "short" format parameter)
(update templatedata // via Wikitext Extension for VSCode)
 
(One intermediate revision by one other user 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'''
Line 20: Line 20:
|}
|}


[[Category:Item Page Templates]]
[[Category:Icon Templates]]


== Template data ==
== Template data ==
Line 30: Line 30:
"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": "How to 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": [
"suggestedvalues": [
"nolink",
"nolink",
"bold",
"bold",
"short"
"short"
]
],
"required": false,
"type": "string",
"suggested": false
}
}
}
}
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 16:38, 2 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.

Template parameters

ParameterDescriptionTypeStatus
supplies1

The number of camp supplies to represent. Can be omitted.

Numbersuggested
format2

The format of the output. Can be omitted. Default is a link to the Camp Supplies page. Possible values are: nolink, bold, short.

Suggested values
nolink bold short
Stringoptional