Glorious Wiki readers. We are adding the Midnight Magic video and livestream to the wiki. We appreciate your patience as we process the new and updated information! |
Difference between revisions of "Template:item"
Jump to navigation
Jump to search
m (Text replacement - "formatrarity" to "format_rarity") |
|||
(85 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Use this template to define an item. | Use this template to define an item. | ||
− | + | ; type | |
− | </noinclude><includeonly>[[{{ROOTPAGENAME}}]] is {{#switch:{{{type|}}} | + | : [[Quest item]], [[Glint ]],[[Fuel ]], [[Reagent ]], [[Fragment ]], [[Grinding stone ]], [[Dye ]], [[Ingot ]], [[Cloth ]], [[Leather ]], [[Timber ]], [[Crafting material ]], [[Crop ]], [[Animal byproduct ]], [[Herb ]], [[Lumber ]], [[Ore ]], [[Gem ]], [[Fish ]], [[Corrupted resource ]], [[Gatherable ]], [[Artisan pants ]], [[Artisan shirt ]], [[Artisan belt ]], [[Backpack ]], [[Crate ]], [[Industrial goods ]], [[Luxuries ]], [[War materials ]], [[Player commodities ]], [[Caravan ]], [[Caravan component ]], [[Tool ]], [[Mold ]], [[Reagent ]], [[Fishing pole ]], [[Pickaxe ]], [[Spell focus ]], [[Offhand ]], [[Sigil ]], [[Flask ]], [[Potion ]], [[Bow ]], [[Longbow ]], [[Shortbow ]], [[Axe ]], [[Hammer ]], [[Shield ]], [[Daggers ]], [[Sword ]], [[Greatsword ]], [[Wand ]], [[Halberd ]], [[Spear ]], [[Scepter ]], [[Staff ]], [[Mace ]], [[Spellbook ]], [[Jewelry ]], [[Helmet ]], [[Shoulders ]], [[Chest armor ]], [[Wrists ]], [[Gloves ]], [[Belt ]], [[Pants ]], [[Boots ]], [[Back armor ]] |
− | |Tool = a [[{{{type}}}]][[Category: | + | ; icon |
− | |Fishing pole = a [[{{{type}}}]][[Category:Fishing poles]][[Category:Tools]] | + | ; rarity |
− | |Pickaxe = a [[{{{type}}}]][[Category:Pickaxes]][[Category:Tools]] | + | ; level |
+ | ; durability | ||
+ | ; crate_robustness | ||
+ | ; profession | ||
+ | ; tier | ||
+ | ; quest | ||
+ | ; source | ||
+ | : [[Drop]], [[Vendor]], [[Crafted items]], [[Quest rewards]], [[Vendor]] | ||
+ | ; set | ||
+ | ; gold (cost) | ||
+ | ; silver (cost) | ||
+ | ; copper (cost) | ||
+ | ; radiant (glint) | ||
+ | ; illustrious (glint) | ||
+ | ; glowing (glint) | ||
+ | ; dim (glint) | ||
+ | ; dull (glint) | ||
+ | </noinclude><includeonly>[[{{ROOTPAGENAME}}]] {{#ifeq:{{#sub:{{ROOTPAGENAME}}|-1}}|s|are|is}} {{#switch:{{{type|}}} | ||
+ | |Quest item = a [[Quest item]] [[Category:Quest items]] | ||
+ | |Glint = a type of [[Glint]] [[Category:Glint types]][[Category:Glint]] | ||
+ | |Fuel = a [[Fuel]] [[Category:Fuels]] | ||
+ | |Reagent = a [[Reagent]] [[Crafting materials|crafting material]] [[Category:Reagents]][[Category:Crafting materials]] | ||
+ | |Fragment = a [[Fragment]] [[Crafting materials|crafting material]] [[Category:Fragments]][[Category:Crafting materials]] | ||
+ | |Grinding stone = a [[Grinding stone]] [[Crafting materials|crafting material]] [[Category:Grinding stones]][[Category:Crafting materials]] | ||
+ | |Pigment = a [[Pigment]] [[Crafting materials|crafting material]] [[Category:Pigments]][[Category:Crafting materials]] | ||
+ | |Ingot = an [[Ingot]] [[Crafting materials|crafting material]] [[Category:Ingots]][[Category:Crafting materials]] | ||
+ | |Cloth = a [[Cloth]] [[Crafting materials|crafting material]] [[Category:Cloth]][[Category:Crafting materials]] | ||
+ | |Leather = a [[Leather]] [[Crafting materials|crafting material]] [[Category:Leather]][[Category:Crafting materials]] | ||
+ | |Timber = a [[Timber]] [[Crafting materials|crafting material]] [[Category:Timber]][[Category:Crafting materials]] | ||
+ | |Crafting material = a [[Crafting materials|crafting material]] [[Category:Crafting materials]] | ||
+ | |Crop = a [[Crop|crop]][[Category:Crops]][[Category:Resource]] | ||
+ | |Animal byproduct = an [[Animal byproducts|animal byproduct]][[Category:Animal byproducts]][[Category:Resource]] | ||
+ | |Herb = a [[Gathering|gatherable]] [[Herbs|herb]][[Category:Herbs]][[Category:Gatherables]][[Category:Resource]] | ||
+ | |Lumber = a [[Gathering|gatherable]] [[Lumber]] [[Resources|resource]][[Category:Lumber]][[Category:Gatherables]][[Category:Resource]] | ||
+ | |Ore = a [[Gathering|gatherable]] [[Ore]] [[Resources|resource]][[Category:Ore]][[Category:Gatherables]][[Category:Resource]] | ||
+ | |Gem = a [[Gathering|gatherable]] [[Gem]] [[Resources|resource]][[Category:Gems]][[Category:Gatherables]][[Category:Resource]] | ||
+ | |Fish = a [[Gathering|gatherable]] [[Fish]] [[Resources|resource]][[Category:Fish]][[Category:Gatherables]][[Category:Resource]] | ||
+ | |Corrupted resource = a [[Gathering|gatherable]] [[Corrupted resources|corrupted]] [[Resources|resource]][[Category:Gatherables]][[Category:Resource]][[Category:Corruption]] | ||
+ | |Gatherable = a [[Gatherable|gatherable]] [[Resources|resource]][[Category:Gatherables]][[Category:Resource]] | ||
+ | |Artisan pants = [[Artisan pants]][[Category:Artisan gear]][[Category:Artisan pants]] | ||
+ | |Artisan shirt = an [[Artisan shirt]][[Category:Artisan gear]][[Category:Artisan shirts]] | ||
+ | |Artisan belt = an [[Artisan belt]][[Category:Artisan gear]][[Category:Artisan belts]] | ||
+ | |Backpack = a [[Backpacks|Backpack]][[Category:Backpacks]] | ||
+ | |Crate = a [[Crates|Crate]][[Category:Crates]] | ||
+ | |Industrial goods = an [[Industrial goods|industrial good]] [[Node commodities|node commodity]][[Category:Commodities]][[Category:Node commodities]][[Category:Resources]][[Category:Industrial goods]] | ||
+ | |Luxuries = a [[Luxuries|luxury]] [[Node commodities|node commodity]][[Category:Commodities]][[Category:Node commodities]][[Category:Resources]][[Category:Luxuries]] | ||
+ | |War materials = a [[War materials|war material]] [[Node commodities|node commodity]][[Category:Commodities]][[Category:Node commodities]][[Category:Resources]][[Category:War materials]] | ||
+ | |Player commodities = a [[Player commodities|player commodity]][[Category:Commodities]][[Category:Player commodities]][[Category:Resources]] | ||
+ | |Caravan = a [[Caravan item|caravan item]][[Category:Caravans]] | ||
+ | |Caravan component = a [[Caravan components|caravan component]][[Category:Caravan components]] | ||
+ | |Tool = an [[Artisan tool]][[Category:Tools]][[Category:Artisan tools]] | ||
+ | |Mold = a [[{{{type}}}]][[Category:Crafting materials]][[Category:Molds]] | ||
+ | |Reagent = a [[{{{type}}}]][[Category:Crafting materials]][[Category:Reagents]] | ||
+ | |Fishing pole = a [[{{{type}}}]][[Category:Fishing poles]][[Category:Tools]][[Category:Artisan tools]] | ||
+ | |Pickaxe = a [[{{{type}}}]][[Category:Pickaxes]][[Category:Tools]][[Category:Artisan tools]] | ||
+ | |Spell focus = a [[{{{type}}}]][[Category:Spell focuses]] | ||
+ | |Offhand = a [[{{{type}}}]][[Category:Offhand items]] | ||
+ | |Sigil = a [[{{{type}}}]][[Category:Sigils]][[Category:Offhand items]] | ||
|Flask = a [[{{{type}}}]][[Category:Flasks]] | |Flask = a [[{{{type}}}]][[Category:Flasks]] | ||
|Potion = a [[{{{type}}}]][[Category:Potions]] | |Potion = a [[{{{type}}}]][[Category:Potions]] | ||
+ | |Bow = a [[{{{type}}}]][[Category:Weapons]][[Category:Bows]] | ||
+ | |Longbow = a [[{{{type}}}]][[Category:Weapons]][[Category:Bows]] | ||
+ | |Shortbow = a [[{{{type}}}]][[Category:Weapons]][[Category:Bows]] | ||
|Axe = an [[{{{type}}}]][[Category:Weapons]][[Category:Axes]] | |Axe = an [[{{{type}}}]][[Category:Weapons]][[Category:Axes]] | ||
− | |Shield = a [[{{{type}}}]][[Category:Weapons]][[Category:Shields]] | + | |Hammer = a [[{{{type}}}]][[Category:Weapons]][[Category:Hammers]] |
+ | |Shield = a [[{{{type}}}]][[Category:Weapons]][[Category:Shields]][[Category:Offhand items]] | ||
+ | |Daggers = [[{{{type}}}]][[Category:Weapons]][[Category:Daggers]] | ||
|Sword = a [[{{{type}}}]][[Category:Weapons]][[Category:Swords]] | |Sword = a [[{{{type}}}]][[Category:Weapons]][[Category:Swords]] | ||
+ | |Greatsword = a [[{{{type}}}]][[Category:Weapons]][[Category:Swords]][[Category:Greatswords]] | ||
|Wand = a [[{{{type}}}]][[Category:Weapons]][[Category:Wands]] | |Wand = a [[{{{type}}}]][[Category:Weapons]][[Category:Wands]] | ||
|Halberd = a [[{{{type}}}]][[Category:Weapons]][[Category:Halberds]] | |Halberd = a [[{{{type}}}]][[Category:Weapons]][[Category:Halberds]] | ||
|Spear = a [[{{{type}}}]][[Category:Weapons]][[Category:Spears]] | |Spear = a [[{{{type}}}]][[Category:Weapons]][[Category:Spears]] | ||
+ | |Scepter = a [[{{{type}}}]][[Category:Weapons]][[Category:Scepters]] | ||
|Staff = a [[{{{type}}}]][[Category:Weapons]][[Category:Staves]] | |Staff = a [[{{{type}}}]][[Category:Weapons]][[Category:Staves]] | ||
|Mace = a [[{{{type}}}]][[Category:Weapons]][[Category:Maces]] | |Mace = a [[{{{type}}}]][[Category:Weapons]][[Category:Maces]] | ||
Line 26: | Line 90: | ||
|Pants = [[{{{type}}}|Leg armor]][[Category:Armor]][[Category:Pants]] | |Pants = [[{{{type}}}|Leg armor]][[Category:Armor]][[Category:Pants]] | ||
|Boots = [[{{{type}}}|Foot armor]][[Category:Armor]][[Category:Boots]] | |Boots = [[{{{type}}}|Foot armor]][[Category:Armor]][[Category:Boots]] | ||
+ | |Back armor = [[{{{type}}}|Back armor]][[Category:Armor]][[Category:Cloaks]] | ||
|a/an [[{{{type}}}]][[Category:Unknown item]] | |a/an [[{{{type}}}]][[Category:Unknown item]] | ||
− | }} in [[Ashes of Creation]]. | + | }} in [[Ashes of Creation]].{{{citation|}}} |
− | + | {{#if:{{{icon|}}}|<br/>{{{icon|}}}}} | |
− | {{{icon|}}} | ||
{| class="wikitable"; | {| class="wikitable"; | ||
− | ! style="text-align: left; padding:10px"| [[Items|Type]] | + | ! style="white-space: nowrap; text-align: left; padding:10px"| [[Items|Type]] |
| [[{{{type}}}]] | | [[{{{type}}}]] | ||
|- | |- | ||
− | ! style="text-align: left; padding:10px" | + | {{#if:{{{rarity|}}}| |
− | | | + | ! style="text-align: left; padding:10px"{{!}} [[Rarity]] |
− | | | + | {{!}} {{format_rarity|{{{rarity}}}}} |
− | ! style="text-align: left; padding:10px" | + | {{!}}- |
− | | {{{ | + | }} |
− | |- | + | {{#if:{{{level|}}}| |
+ | ! style="text-align: left; padding:10px"{{!}} [[Level requirement]] | ||
+ | {{!}} {{{level}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{durability|}}}| | ||
+ | ! style="text-align: left; padding:10px"{{!}} [[Durability]] | ||
+ | {{!}} {{{durability}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{crate_robustness|}}}| | ||
+ | ! style="text-align: left; padding:10px"{{!}} Crate robustness | ||
+ | {{!}} {{{crate_robustness}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{profession|}}}| | ||
+ | ! style="text-align: left; padding:10px"{{!}} [[Professions|Profession]] | ||
+ | {{!}} {{{profession}}} | ||
+ | {{!}}- | ||
+ | }} | ||
{{#if:{{{tier|}}}| | {{#if:{{{tier|}}}| | ||
! style="text-align: left; padding:10px"{{!}} [[Resource tiers]] | ! style="text-align: left; padding:10px"{{!}} [[Resource tiers]] | ||
{{!}} {{{tier}}} | {{!}} {{{tier}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{quest|}}}| | ||
+ | ! style="text-align: left; padding:10px"{{!}} [[Quests|Quest]] | ||
+ | {{!}} [[{{{quest}}}]] | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 48: | Line 136: | ||
! style="text-align: left; padding:10px"{{!}} Source | ! style="text-align: left; padding:10px"{{!}} Source | ||
{{!}} {{#switch:{{{source|}}} | {{!}} {{#switch:{{{source|}}} | ||
+ | |Drop = [[Drop]][[Category:Loot]] | ||
|Vendor = [[Vendor]][[Category:Merchants]] | |Vendor = [[Vendor]][[Category:Merchants]] | ||
|Crafted items = [[Crafted items]][[Category:Crafted items]] | |Crafted items = [[Crafted items]][[Category:Crafted items]] | ||
Line 53: | Line 142: | ||
|Crafted items, Quest rewards = [[Crafted items]][[Category:Crafted items]], [[Quest rewards]][[Category:Quest rewards]] | |Crafted items, Quest rewards = [[Crafted items]][[Category:Crafted items]], [[Quest rewards]][[Category:Quest rewards]] | ||
|Vendor, Quest rewards = [[Vendor]][[Category:Merchants]] [[Quest rewards]][[Category:Quest rewards]] | |Vendor, Quest rewards = [[Vendor]][[Category:Merchants]] [[Quest rewards]][[Category:Quest rewards]] | ||
− | |{{{source|}}} | + | |{{{source|}}} |
}} | }} | ||
{{!}}- | {{!}}- | ||
Line 59: | Line 148: | ||
{{#if:{{{set|}}}| | {{#if:{{{set|}}}| | ||
! style="text-align: left; padding:10px"{{!}} [[Gear sets{{!}}Gear set]] | ! style="text-align: left; padding:10px"{{!}} [[Gear sets{{!}}Gear set]] | ||
− | {{!}} [[ | + | {{!}} [[{{{set}}}|{{{set}}}]] |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{cost|}}}| | + | {{#if:{{{cost|}}}{{{gold|}}}{{{silver|}}}{{{copper|}}}{{{radiant|}}}{{{illustrious|}}}{{{bright|}}}{{{glowing|}}}{{{dim|}}}{{{dull|}}}| |
− | ! style="text-align: left; padding:10px"{{!}} [[ | + | ! style="text-align: left; padding:10px"{{!}} [[Currency|Cost]] |
− | {{!}} {{{cost}}} | + | {{!}} |
+ | {{formatcurrency|cost={{{cost|}}}|gold={{{gold|}}}|silver={{{silver|}}}|copper={{{copper|}}}|radiant={{{radiant|}}}|illustrious={{{illustrious|}}}|bright={{{bright|}}}|glowing={{{glowing|}}}|dim={{{dim|}}}|dull={{{dull|}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|}{{#if:{{{set|}}}|[[Category:{{{set}}}]]|}}{{#if:{{{rarity|}}}|[[Category:{{{rarity}}}]]|}}[[Category:Item]]</includeonly> | |}{{#if:{{{set|}}}|[[Category:{{{set}}}]]|}}{{#if:{{{rarity|}}}|[[Category:{{{rarity}}}]]|}}[[Category:Item]]</includeonly> |
Revision as of 08:03, 18 April 2024
Use this template to define an item.
- type
- Quest item, Glint ,Fuel , Reagent , Fragment , Grinding stone , Dye , Ingot , Cloth , Leather , Timber , Crafting material , Crop , Animal byproduct , Herb , Lumber , Ore , Gem , Fish , Corrupted resource , Gatherable , Artisan pants , Artisan shirt , Artisan belt , Backpack , Crate , Industrial goods , Luxuries , War materials , Player commodities , Caravan , Caravan component , Tool , Mold , Reagent , Fishing pole , Pickaxe , Spell focus , Offhand , Sigil , Flask , Potion , Bow , Longbow , Shortbow , Axe , Hammer , Shield , Daggers , Sword , Greatsword , Wand , Halberd , Spear , Scepter , Staff , Mace , Spellbook , Jewelry , Helmet , Shoulders , Chest armor , Wrists , Gloves , Belt , Pants , Boots , Back armor
- icon
- rarity
- level
- durability
- crate_robustness
- profession
- tier
- quest
- source
- Drop, Vendor, Crafted items, Quest rewards, Vendor
- set
- gold (cost)
- silver (cost)
- copper (cost)
- radiant (glint)
- illustrious (glint)
- glowing (glint)
- dim (glint)
- dull (glint)