Template:Type: Difference between revisions
Template page
More actions
No edit summary |
yep... |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#switch: {{lc:{{{ | {{#if: {{{tooltip|}}}|{{#switch: {{lc:{{{1}}}}} | ||
| hat = [[File: | | hat = [[File:Hat.png|x{{{size|18px}}}|frameless|link=]] | ||
| accessory = [[File: | | accessory = [[File:Accessory.png|x{{{size|18px}}}|frameless|link=]] | ||
| aura = [[File: | | aura = [[File:Aura.png|x{{{size|18px}}}|frameless|link=]] | ||
| trail = [[File: | | trail = [[File:Trail.png|x{{{size|18px}}}|frameless|link=]] | ||
| cloak = [[File: | | cloak = [[File:Cloak.png|x{{{size|18px}}}|frameless|link=]] | ||
| rod = [[File: | | rod = [[File:Rod.png|x{{{size|18px}}}|frameless|link=]] | ||
| hair = [[File:Hair | | hair = [[File:Hair.png|x{{{size|18px}}}|frameless|link=]] | ||
| openable = [[File:Openable.png| | | openable = [[File:Openable.png|x{{{size|18px}}}|frameless|link=]] | ||
| quest scroll = [[File:Quest Scroll.png| | | quest scroll = [[File:Quest Scroll.png|x{{{size|18px}}}|frameless|link=]] | ||
| consumable = [[File:Consumable.png| | | consumable = [[File:Consumable.png|x{{{size|18px}}}|frameless|link=]] | ||
| currency = [[File:Currency.png| | | currency = [[File:Currency.png|x{{{size|18px}}}|frameless|link=]] | ||
| material = [[File:Material.png| | | material = [[File:Material.png|x{{{size|18px}}}|frameless|link=]] | ||
| fish = [[File: | | fish = [[File:Fish.png|x{{{size|18px}}}|frameless|link=]] | ||
}} | }}|{{#switch: {{lc:{{{1}}}}} | ||
{{#switch: {{lc:{{{ | | hat = [[File:Icon-Hat.png|{{{size|20px}}}]] [[Hats|hat]] | ||
| hat = [[File:Hat.png| | | accessory = [[File:Icon-Accessory.png|{{{size|20px}}}]] [[Accessories|accessory]] | ||
| accessory = [[File:Accessory.png| | | aura = [[File:Icon-Aura.png|{{{size|20px}}}]] [[Auras|aura]] | ||
| aura = [[File:Aura.png| | | trail = [[File:Icon-Trail.png|{{{size|20px}}}]] [[Trails|trail]] | ||
| trail = [[File:Trail.png| | | cloak = [[File:Icon-Cloak.png|{{{size|20px}}}]] [[Cloaks|cloak]] | ||
| cloak = [[File:Cloak.png| | | rod = [[File:Icon-Rod.png|{{{size|20px}}}]] [[Rods|rod]] | ||
| rod = [[File:Rod.png| | | hair = [[File:Hair-Basic.png|{{{size|20px}}}]] [[hair]] | ||
| hair = [[File:Hair.png| | | openable = [[File:Openable.png|x{{{size|18px}}}|frameless|link=]] | ||
| openable = [[File:Openable.png| | | quest scroll = [[File:Quest Scroll.png|x{{{size|18px}}}|frameless|link=]] | ||
| quest scroll = [[File:Quest Scroll.png| | | consumable = [[File:Consumable.png|x{{{size|18px}}}|frameless|link=]] | ||
| consumable = [[File:Consumable.png| | | currency = [[File:Currency.png|x{{{size|18px}}}|frameless|link=]] | ||
| currency = [[File:Currency.png| | | material = [[File:Material.png|x{{{size|18px}}}|frameless|link=]] | ||
| material = [[File:Material.png| | | fish = [[File:Icon-Fish.png|x{{{size|18px}}}|frameless|link=]] | ||
| fish = [[File:Fish.png| | }}}}<noinclude><templatedata> | ||
}}<noinclude><templatedata> | |||
{ | { | ||
"params": { | "params": { | ||
" | "1": { | ||
"label": " | "label": "Type", | ||
"description": " | "description": "Type of the item", | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
Line 51: | Line 50: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "icon": { | ||
"label": " | "label": "Icon", | ||
"description": " | "description": "Choose to display as an icon", | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
Line 69: | Line 68: | ||
"Material" | "Material" | ||
], | ], | ||
"suggested": true | "suggested": true | ||
} | } | ||
Line 75: | Line 73: | ||
"description": "Displays type text/icon.", | "description": "Displays type text/icon.", | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "1", | ||
"icon" | "icon" | ||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Latest revision as of 11:31, 15 July 2025
Displays type text/icon.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | 1 | Type of the item
| String | suggested |
Icon | icon | Choose to display as an icon
| String | suggested |