Template:Type: Difference between revisions
Template page
More actions
added Fish |
yep... |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#switch: {{lc:{{{1}}}}} | {{#if: {{{tooltip|}}}|{{#switch: {{lc:{{{1}}}}} | ||
| hat = [[File:Icon-Hat.png|20px]] [[Hats|hat]] | | hat = [[File:Hat.png|x{{{size|18px}}}|frameless|link=]] | ||
| accessory = [[File:Icon-Accessory.png|20px]] [[Accessories|accessory]] | | accessory = [[File:Accessory.png|x{{{size|18px}}}|frameless|link=]] | ||
| aura = [[File:Icon-Aura.png|20px]] [[Auras|aura]] | | aura = [[File:Aura.png|x{{{size|18px}}}|frameless|link=]] | ||
| trail = [[File:Icon-Trail.png|20px]] [[Trails|trail]] | | trail = [[File:Trail.png|x{{{size|18px}}}|frameless|link=]] | ||
| cloak = [[File:Icon-Cloak.png|20px]] [[Cloaks|cloak]] | | cloak = [[File:Cloak.png|x{{{size|18px}}}|frameless|link=]] | ||
| rod = [[File:Icon-Rod.png|20px]] [[Rods|rod]] | | rod = [[File:Rod.png|x{{{size|18px}}}|frameless|link=]] | ||
| hair = [[File:Hair-Basic.png|20px]] [[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:Icon-Fish.png| | | fish = [[File:Fish.png|x{{{size|18px}}}|frameless|link=]] | ||
}}<noinclude><templatedata> | }}|{{#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 34: | Line 48: | ||
"Material" | "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 |