Ad placeholder

Template:Camp supplies: Difference between revisions

Jump to navigation Jump to search
format docs, add "short" format parameter
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>

Navigation menu