Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Type: Difference between revisions

Template page
Created page with "{{#switch: {{{1}}} | Openable | openable= x18px|frameless|link= | Quest Scroll | quest scroll= x18px|frameless|link= | Consumable | consumable = x18px|frameless|link= }}"
 
yep...
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#switch: {{{1}}}
{{#if: {{{tooltip|}}}|{{#switch: {{lc:{{{1}}}}}
  | Openable
| hat = [[File:Hat.png|x{{{size|18px}}}|frameless|link=]]
  | openable= [[File:Openable.png|x18px|frameless|link=]]
  | accessory = [[File:Accessory.png|x{{{size|18px}}}|frameless|link=]]
  | Quest Scroll
| aura = [[File:Aura.png|x{{{size|18px}}}|frameless|link=]]
  | quest scroll= [[File:Quest Scroll.png|x18px|frameless|link=]]
| trail = [[File:Trail.png|x{{{size|18px}}}|frameless|link=]]
  | Consumable
| cloak = [[File:Cloak.png|x{{{size|18px}}}|frameless|link=]]
  | consumable = [[File:Consumable.png|x18px|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": {
"1": {
"label": "Type",
"description": "Type of the item",
"type": "string",
"suggestedvalues": [
"Hat",
"Accessory",
"Aura",
"Trail",
"Cloak",
"Rod",
"Hair",
"Openable",
"Quest Scroll",
"Consumable",
"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
}
},
"description": "Displays type text/icon.",
"paramOrder": [
"1",
"icon"
]
}
</templatedata></noinclude>

Latest revision as of 11:31, 15 July 2025

Displays type text/icon.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Type1

Type of the item

Suggested values
Hat Accessory Aura Trail Cloak Rod Hair Openable Quest Scroll Consumable Currency Material
Stringsuggested
Iconicon

Choose to display as an icon

Suggested values
Hat Accessory Aura Trail Cloak Rod Hair Openable Quest Scroll Consumable Currency Material
Stringsuggested