Pillars of Eternity Wiki
Register
Advertisement
Template-info Template documentation

This template is used to convert a item/weapon/armor/shield type string to a link to the associated article, with the input as the link label. This was done to reduce clutter, unify this process, and avoid code duplication across templates that might already do this.

In addition to item type, it also handles item categories.

Parameters[]

1
The item type to link to. This should be in singular form (with some exceptions), and is not case sensitive.
If not provided, the template will not output anything, not even an error.
If an input is invalid, the template will output an error. You can use iferror to check for this.
2
The link label. If omitted, parameter 1 is used and will maintain its original capitalization.
anchor
A string to append to the page name in the link, so that the link jumps to a specific section of the article. Note that some types already have an anchor!

Notes[]

  • Using a custom link label via {{!}} is not supported, though you can provide a separate second parameter (can be empty to use the link text) to do this if you want. The second parameter will maintain the input case.
  • This template defines the variable item_type_page, though it is only used to simplify the logic for the invalid check. It is set to nothing after every use.

The following table outlines what is produced given the input.

Input Output Output without label
Weapons
Weapon Weapon Weapons (Deadfire)
Arbalest Arbalest Arbalests (Deadfire)
Arquebus Arquebus Arquebuses (Deadfire)
Battle axe Battle axe Battle axes (Deadfire)
Blunderbuss Blunderbuss Blunderbusses (Deadfire)
Club Club Clubs (Deadfire)
Crossbow Crossbow Crossbows (Deadfire)
Dagger Dagger Daggers (Deadfire)
Estoc Estoc Estocs (Deadfire)
Flail Flail Flails (Deadfire)
Great sword Great sword Great swords (Deadfire)
Hatchet Hatchet Hatchets (Deadfire)
Hunting bow Hunting bow Hunting bows (Deadfire)
Mace Mace Maces (Deadfire)
Morning star Morning star Morning stars (Deadfire)
Pike Pike Pikes (Deadfire)
Pistol Pistol Pistols (Deadfire)
Pollaxe Pollaxe Pollaxes (Deadfire)
Quarterstaff Quarterstaff Quarterstaffs (Deadfire)
Rapier Rapier Rapiers (Deadfire)
Rod Rod Rods (Deadfire)
Sabre Sabre Sabres (Deadfire)
Scepter Scepter Scepters (Deadfire)
Spear Spear Spears (Deadfire)
Stiletto Stiletto Stilettos (Deadfire)
Sword Sword Swords (Deadfire)
Unarmed Unarmed Unarmed (Deadfire)
Wand Wand Wands (Deadfire)
War bow War bow War bows (Deadfire)
War hammer War hammer War hammers (Deadfire)
Armor
Armor Armor Armor (Deadfire)
Light armor Light armor Armor (Deadfire)#Light armor
Medium armor Medium armor Armor (Deadfire)#Medium armor
Heavy armor Heavy armor Armor (Deadfire)#Heavy armor
Cloth armor Cloth armor Cloth armor (Deadfire)
Hide armor Hide armor Hide armor (Deadfire)
Leather armor Leather armor Leather armor (Deadfire)
Padded armor Padded armor Padded armor (Deadfire)
Breastplate Breastplate Breastplates (Deadfire)
Mail armor Mail armor Mail armor (Deadfire)
Scale armor Scale armor Scale armor (Deadfire)
Brigandine Brigandine Brigandines (Deadfire)
Plate armor Plate armor Plate armor (Deadfire)
Shields
Shield Shield Shields
Small shield Small shield Small shields (Deadfire)
Medium shield Medium shield Medium shields (Deadfire)
Large shield Large shield Large shields (Deadfire)
Accessories
Accessory Accessory Accessories
Amulet, necklace, torc Amulet* Pillars of Eternity II: Deadfire amulets
Belt Belt Pillars of Eternity II: Deadfire belts
Boots Boots Pillars of Eternity II: Deadfire boots
Cape, cloak Cape* Pillars of Eternity II: Deadfire cloaks
Bracers, gauntlets, gloves Gloves* Pillars of Eternity II: Deadfire handwear
Hat, helm Hat* Pillars of Eternity II: Deadfire headgear
Ring Ring Pillars of Eternity II: Deadfire rings
Trinket Trinket Pillars of Eternity II: Deadfire trinkets
Consumables
Consumable Consumable Consumables
Drink Drink Pillars of Eternity II: Deadfire food and drink
Food Food Pillars of Eternity II: Deadfire food and drink
Drug Drug Pillars of Eternity II: Deadfire drugs
Unguent Unguent Pillars of Eternity II: Deadfire unguents
Figurine Figurine Pillars of Eternity II: Deadfire figurines
Potion Potion Pillars of Eternity II: Deadfire potions
Scroll Scroll Pillars of Eternity II: Deadfire scrolls
Poison Poison Pillars of Eternity II: Deadfire poisons
Bomb, Explosive Bomb* Bombs
Wardstone Wardstone Wardstones
Trap Trap Pillars of Eternity II: Deadfire traps
Ingredients
Ingredient Ingredient Pillars of Eternity II: Deadfire crafting#Ingredients
Monster part Monster part Pillars of Eternity II: Deadfire crafting#Monster parts
Plant Plant Pillars of Eternity II: Deadfire crafting#Plants
Gem Gem Pillars of Eternity II: Deadfire crafting#Gems
Component Component Pillars of Eternity II: Deadfire crafting#Components
Books and documents
Book Book Books
Document Document Documents
Journal Journal Journals
Letter Letter Letter
Note Note Notes
Ship upgrades
Ship upgrade Ship upgrade Ship upgrades
Hull Hull Ship upgrades#Hull
Sail Sail Ship upgrades#Sails
Cannon Cannon Ship upgrades#Guns
Flag Flag Ship upgrades#Colors
Wheel Wheel Ship upgrades#Helms
Lantern Lantern Ship upgrades#Lanterns
Anchor Anchor Ship upgrades#Anchors
Triumph Triumph Ship upgrades#Triumphs
Misc upgrade Misc upgrade Ship upgrades#Miscellaneous
Other items
Other item Other item Pillars of Eternity II: Deadfire other items
Currency Currency Currency
Grimoire Grimoire Pillars of Eternity II: Deadfire grimoires
Pet Pet Pillars of Eternity II: Deadfire pets
Key Key Keys
Tool Tool Tools
Quest item Quest item Pillars of Eternity II: Deadfire quest items
Invalid output
swodr Invalid item type! See Template:Item type poe2 for more info.

* Varies depending on the input.

Advertisement