Template:Camp supplies: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(new template for MiscItemPage usage)
 
mNo edit summary
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{SmallIcon|Camp Supplies Icon.png}} [[Camp Supplies]]</includeonly><noinclude>
<includeonly><span aria-label="Camp supplies" style="display:inline-block">{{SmallIcon|Camp Supplies Icon.png}}</span> {{{1|}}} {{#switch: {{{2|}}}
Usage: {{code|<nowiki>{{Camp Supplies}}</nowiki>}}
| #default = [[Camp Supplies]]
| bold = '''Camp Supplies'''
| no link
| nolink = Camp Supplies
| short = }}</includeonly><noinclude>


Result: {{Camp Supplies}}
{| 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:Item Page Templates]]
[[Category:Icon templates]]
</noinclude>
 
== 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": {
"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.

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