Template:Camp supplies: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(format docs, add "short" format parameter)
Line 3: Line 3:
| bold = '''Camp Supplies'''
| bold = '''Camp Supplies'''
| no link
| no link
| nolink = Camp Supplies}}</includeonly><noinclude>
| nolink = Camp Supplies
Usage: {{code|<nowiki>{{Camp Supplies}}</nowiki>}}
| 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}}
|}


Usage: {{code|<nowiki>{{Camp Supplies|20}}</nowiki>}}
[[Category:Item Page Templates]]
 
Result: {{Camp Supplies|20}}
 
Usage: {{code|<nowiki>{{Camp Supplies|20|nolink}}</nowiki>}}
 
Result: {{Camp Supplies|20|nolink}}


Usage: {{code|<nowiki>{{Camp Supplies|20|bold}}
== Template data ==
</nowiki>}}
<templatedata>
 
{
Result: {{Camp Supplies|20|bold}}
"params": {
[[Category:Item Page Templates]]
"1": {
</noinclude>
"label": "supplies",
"description": "The number of camp supplies to represent. Can be omitted.",
"type": "number",
"suggested": true
},
"2": {
"label": "format",
"description": "How to format.",
"suggestedvalues": [
"nolink",
"bold",
"short"
]
}
}
}
</templatedata></noinclude>

Revision as of 14:12, 22 October 2023


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

How to format.

Suggested values
nolink bold short
Unknownoptional