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"

Ashes of Creation community empowered Wiki
Jump to navigation Jump to search
 
(96 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. All fields and values are case-sensitive.
* TODO - document this!
+
; type
</noinclude><includeonly>[[{{ROOTPAGENAME}}]] is {{#switch:{{{type|}}}
+
: [[Mount]], [[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:Tools]]
+
; icon
  |Fishing pole = a [[{{{type}}}]][[Category:Fishing poles]][[Category:Tools]]
+
; rarity
  |Pickaxe = a [[{{{type}}}]][[Category:Pickaxes]][[Category:Tools]]
+
: [[Poor]], [[Common]], [[Uncommon]], [[Rare]], [[Heroic]], [[Epic]], [[Legendary]], [[Artifact]]
 +
; level
 +
; durability
 +
; crate_robustness
 +
; profession
 +
: [[Fishing]], [[Herbalism]], [[Hunting]], [[Lumberjacking]], [[Mining]], [[Alchemy]], [[Animal husbandry]], [[Cooking]], [[Farming]], [[Lumber Milling]], [[Metalworking]], [[Stonemasonry]], [[Tanning]], [[Weaving]], [[Arcane Engineering]], [[Armor smithing]], [[Carpentry]], [[Jewel cutting]], [[Leatherworking]], [[Scribing]], [[Tailoring]], [[Weapon smithing]]
 +
; tier
 +
; quest ([[Quests]])
 +
; source (comma separate multiple items)
 +
: [[Drop]], [[Vendor]], [[Crafted items]], [[Quest rewards]]
 +
; set ([[Gear sets]])
 +
; gold (cost)
 +
; silver (cost)
 +
; copper (cost)
 +
; radiant (glint cost)
 +
; illustrious (glint cost)
 +
; glowing (glint cost)
 +
; dim (glint cost)
 +
; dull (glint cost)
 +
</noinclude><includeonly>[[{{ROOTPAGENAME}}]] {{#ifeq:{{#sub:{{ROOTPAGENAME}}|-1}}|s|are|is}} {{#switch:{{{type|}}}
 +
|Mount = a [[Mount]] [[Category:Mounts]]
 +
|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 93:
 
  |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"| [[Rarity]]
+
{{#if:{{{rarity|}}}|
| [[{{{rarity}}}]]
+
! style="text-align: left; padding:10px"{{!}} [[Rarity]]
|-
+
{{!}} {{format_rarity|{{{rarity}}}}}
! style="text-align: left; padding:10px"| [[Levels|Level requirement]]
+
{{!}}-
| {{{level|-}}}
+
}}
|-
+
{{#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]]
 +
{{!}} {{format_profession|profession={{{profession}}}}}{{format_profession|profession={{{profession}}}|prefix=Category:}}
 +
{{!}}-
 +
}}
 
{{#if:{{{tier|}}}|
 
{{#if:{{{tier|}}}|
! style="text-align: left; padding:10px"{{!}} [[Resource tiers]]
+
! style="text-align: left; padding:10px"{{!}} {{#ifeq:{{{type|}}}|Mount|[[Mount tiers|Mount tier]]|[[Resource tiers|Resource tier]]}}
 
{{!}} {{{tier}}}
 
{{!}} {{{tier}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{quest|}}}|
 +
! style="text-align: left; padding:10px"{{!}} [[Quests|Quest]]
 +
{{!}} [[{{{quest}}}]]
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{source|}}}|
 
{{#if:{{{source|}}}|
 
! style="text-align: left; padding:10px"{{!}} Source
 
! style="text-align: left; padding:10px"{{!}} Source
{{!}} {{#switch:{{{source|}}}
+
{{!}} {{format item source list|source={{{source}}}}}{{format item source list|source={{{source}}}|prefix=Category:}}
|Vendor = [[Vendor]][[Category:Merchants]]
 
|Crafted items = [[Crafted items]][[Category:Crafted items]]
 
|Quest rewards = [[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]]
 
|{{{source|}}}[[Category:{{{source|Unknown source}}}]]
 
}}
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{set|}}}|
 
{{#if:{{{set|}}}|
 
! style="text-align: left; padding:10px"{{!}} [[Gear sets{{!}}Gear set]]
 
! style="text-align: left; padding:10px"{{!}} [[Gear sets{{!}}Gear set]]
{{!}} [[:Category:{{{set}}}|{{{set}}}]]
+
{{!}} {{format_gear_set|set={{{set}}}}}{{format_gear_set|set={{{set}}}|prefix=Category:}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{cost|}}}|
+
{{#if:{{{cost|}}}{{{gold|}}}{{{silver|}}}{{{copper|}}}{{{radiant|}}}{{{illustrious|}}}{{{bright|}}}{{{glowing|}}}{{{dim|}}}{{{dull|}}}|
! style="text-align: left; padding:10px"{{!}} [[Gold|Cost]]
+
! 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>

Latest revision as of 16:41, 28 April 2024