This template is used to display a table of any weapons, shields, armor and items that have a specific enchantment. It uses Template:Cargo enchantment item row poe2 to display and format the results.
Usage[]
It should be included in all enchantment pages for Pillars of Eternity II: Deadfire, under a second-level subheading
== Items with '''{{Pagename nd}}''' enchantment ==
Simply include the template on the page, and it will perform a query using the page name:
{{Cargo enchantment item poe2}}
If you want to specify the page name, use:
{{Cargo enchantment item poe2|page=mypagename}}
Note that enchantment names should be present in the following fields:
enchantments
for Template:Infobox item poe2curr_enchantments
for Template:Infobox weapon poe2 / Template:Infobox armor poe2 / Template:Infobox shield poe2
If you'd like to force an item to appear in the table, use the parameter force. This is not recommended, but may be needed if for whatever reason the item cannot have the enchantment in one of the above fields.
{{Cargo enchantment item poe2|force=Some Weapon,Some Item}}
Tests[]
- Weapon enchantment (+ disambig suffix in enchantment name)
{{Cargo enchantment item poe2|page=Ambushing (Deadfire)}}
Icon | Name | Item type | Enchantments |
---|---|---|---|
Stalker's Patience (Unique) |
Spear |
- Soulbound weapon enchantment
{{Cargo enchantment item poe2|page=Follower of the Obscured}}
Icon | Name | Item type | Enchantments |
---|---|---|---|
The Weyc's Wand [FS] (Soulbound) |
Wand |
|
- Soulbound weapon upgrade (upgrades aren't shown in enchantment column)
{{Cargo enchantment item poe2|page=Muddling Bolts}}
Icon | Name | Item type | Enchantments |
---|
- Shield enchantment (+ escaped single quote in enchantment name)
{{Cargo enchantment item poe2|page=Father's Aegis}}
Icon | Name | Item type | Enchantments |
---|---|---|---|
Nerian's Ward (Unique) |
Medium shield |
|
- Armor enchantment
{{Cargo enchantment item poe2|page=Gunnery}}
Icon | Name | Item type | Enchantments |
---|---|---|---|
Sharpshooter's Garb (Unique) |
Padded armor |
- Item enchantment
{{Cargo enchantment item poe2|page=Unburdened}}
Icon | Name | Item type | Enchantments |
---|---|---|---|
Ruata's Walking Cloak (Unique) |
Cloak |
|
- Test presence of breaks (there should be no text-height line between these two)
Icon | Name | Item type | Enchantments |
---|
Icon | Name | Item type | Enchantments |
---|
The above documentation is transcluded from Template:Cargo enchantment item poe2/doc. (edit | history)