Template:Type: Difference between revisions
Template page
More actions
TheMysterys (talk | contribs) m Added currency type |
yep... |
||
(15 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{#switch: {{lc:{{{1}}}}} | {{#if: {{{tooltip|}}}|{{#switch: {{lc:{{{1}}}}} | ||
| openable= [[File:Openable.png| | | hat = [[File:Hat.png|x{{{size|18px}}}|frameless|link=]] | ||
| quest scroll= [[File:Quest Scroll.png| | | accessory = [[File:Accessory.png|x{{{size|18px}}}|frameless|link=]] | ||
| consumable = [[File:Consumable.png| | | aura = [[File:Aura.png|x{{{size|18px}}}|frameless|link=]] | ||
| currency = [[File:Currency.png| | | trail = [[File:Trail.png|x{{{size|18px}}}|frameless|link=]] | ||
}}<noinclude><templatedata> | | cloak = [[File:Cloak.png|x{{{size|18px}}}|frameless|link=]] | ||
| rod = [[File:Rod.png|x{{{size|18px}}}|frameless|link=]] | |||
| hair = [[File:Hair.png|x{{{size|18px}}}|frameless|link=]] | |||
| openable = [[File:Openable.png|x{{{size|18px}}}|frameless|link=]] | |||
| quest scroll = [[File:Quest Scroll.png|x{{{size|18px}}}|frameless|link=]] | |||
| consumable = [[File:Consumable.png|x{{{size|18px}}}|frameless|link=]] | |||
| currency = [[File:Currency.png|x{{{size|18px}}}|frameless|link=]] | |||
| material = [[File:Material.png|x{{{size|18px}}}|frameless|link=]] | |||
| fish = [[File:Fish.png|x{{{size|18px}}}|frameless|link=]] | |||
}}|{{#switch: {{lc:{{{1}}}}} | |||
| hat = [[File:Icon-Hat.png|{{{size|20px}}}]] [[Hats|hat]] | |||
| accessory = [[File:Icon-Accessory.png|{{{size|20px}}}]] [[Accessories|accessory]] | |||
| aura = [[File:Icon-Aura.png|{{{size|20px}}}]] [[Auras|aura]] | |||
| trail = [[File:Icon-Trail.png|{{{size|20px}}}]] [[Trails|trail]] | |||
| cloak = [[File:Icon-Cloak.png|{{{size|20px}}}]] [[Cloaks|cloak]] | |||
| rod = [[File:Icon-Rod.png|{{{size|20px}}}]] [[Rods|rod]] | |||
| hair = [[File:Hair-Basic.png|{{{size|20px}}}]] [[hair]] | |||
| openable = [[File:Openable.png|x{{{size|18px}}}|frameless|link=]] | |||
| quest scroll = [[File:Quest Scroll.png|x{{{size|18px}}}|frameless|link=]] | |||
| consumable = [[File:Consumable.png|x{{{size|18px}}}|frameless|link=]] | |||
| currency = [[File:Currency.png|x{{{size|18px}}}|frameless|link=]] | |||
| material = [[File:Material.png|x{{{size|18px}}}|frameless|link=]] | |||
| fish = [[File:Icon-Fish.png|x{{{size|18px}}}|frameless|link=]] | |||
}}}}<noinclude><templatedata> | |||
{ | { | ||
"params": { | "params": { | ||
Line 12: | Line 35: | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"Hat", | |||
"Accessory", | |||
"Aura", | |||
"Trail", | |||
"Cloak", | |||
"Rod", | |||
"Hair", | |||
"Openable", | "Openable", | ||
"Quest Scroll", | "Quest Scroll", | ||
" | "Consumable", | ||
"Currency" | "Currency", | ||
"Material" | |||
], | |||
"suggested": true | |||
}, | |||
"icon": { | |||
"label": "Icon", | |||
"description": "Choose to display as an icon", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Hat", | |||
"Accessory", | |||
"Aura", | |||
"Trail", | |||
"Cloak", | |||
"Rod", | |||
"Hair", | |||
"Openable", | |||
"Quest Scroll", | |||
"Consumable", | |||
"Currency", | |||
"Material" | |||
], | ], | ||
"suggested": true | "suggested": true | ||
} | } | ||
}, | }, | ||
"description": "Displays | "description": "Displays type text/icon.", | ||
"paramOrder": [ | |||
"1", | |||
"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 |