Template:MasterCraftingTable: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
mNo edit summary
>OmegaK2
No edit summary
 
(14 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable MasterCraftingTable" style="width: {{{width|auto}}};"
<includeonly>{| class="wikitable sortable MasterCraftingTable" style="width: {{{width|auto}}};"
|-
|-
{{#if:{{{master|}}}| ! Master |}}
{{#if:{{{master|}}}| ! Master |}}
! {{Abbr|Effect|Effect that can be enchated/crafted onto an item}}{{#if: {{{item_affix|yes}}}|!! [[Item_Affix#Prefix|Prefix]]!! [[Item_Affix#Suffix|Suffix]]|}}{{#if: {{{plvl|yes}}}|!! {{Abbr|[[Image:Level_up_icon_small.png|link=|Lvl.]]|Required Player Level|class=nounderline}}|}}
! {{Abbr|Effect|Effect that can be crafted onto an item}}{{#if: {{{item_affix|yes}}}|!! [[Item_Affix#Prefixes|Prefix]]!! [[Item_Affix#Suffixes|Suffix]]|}}{{#if: {{{plvl|yes}}}|!! {{Abbr|[[Image:Level_up_icon_small.png|link=|Lvl.]]|Required Player Level|class=nounderline}}|}}
! {{Abbr|[[Image:Level_up_icon_small.png|link=|Lvl.]]|Required Master Level|class=nounderline}}
! {{Abbr|[[Image:Level_up_icon_small.png|link=|Lvl.]]|Required Master Level|class=nounderline}}
! {{Abbr|Cost|Required currency for crafting}}
! {{Abbr|Cost|Required currency for crafting}}{{#if: {{{helmet|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Helmets|size=16|link=Helmet}}|}}{{#if: {{{body|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Body Armours|size=16|link=Body armour}}|}}{{#if: {{{gloves|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Gloves|size=16|link=Gloves}}|}}{{#if: {{{shoes|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Boots|size=16|link=Boots}}|}}{{#if: {{{shield|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Shields|size=16|link=Shield}}|}}{{#if: {{{quiver|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Quivers|size=16|link=Quiver}}|}}{{#if: {{{belt|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Belts|size=16|link=Belt}}|}}{{#if: {{{ring|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Rings|size=16|link=Ring}}|}}{{#if: {{{amulet|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Amulets|size=16|link=Amulet}}|}}{{#if: {{{bow|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Bows|size=16|link=Bow}}|}}{{#if: {{{wand|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Wands|size=8|link=Wand}}|}}{{#if: {{{sceptre|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Sceptres|size=16|link=Sceptre}}|}}{{#if: {{{claw|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Claws|size=16|link=Claw}}|}}{{#if: {{{dagger|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Daggers|size=8|link=Dagger}}||}}{{#if: {{{2H sword|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Two Hand Swords|size=16|link=Two_Handed_Sword}}|}}{{#if: {{{1H sword|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=One Hand Swords|size=8|link=One_Handed_Sword}}|}}{{#if: {{{2H mace|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Two Hand Maces|size=16|link=Two_Handed_Mace}}|}}{{#if: {{{1H mace|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=One Hand Maces|size=16|link=One_Handed_Mace}}|}}{{#if: {{{2H axe|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=One Hand Axes|size=16|link=Two_Handed_Axe}}|}}{{#if: {{{1H axe|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Two Hand Axes|size=16|link=One_Handed_Axe}}|}}{{#if: {{{staff|}}}|!! style="max-width: 20px;width: 20px;" {{!}} {{Query item class icon|item_class=Staves|size=16|link=Staff}}|}}{{#if: {{{1H|}}}|!! {{Abbr|1H|One-Handed Weapons}}|}}{{#if: {{{2H|}}}|!! {{Abbr|2H|Two-Handed Weapons}}|}}</includeonly><noinclude>
{{#if: {{{helmet|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Vaal Mask.png|16px|link=Helmet]]|}}{{#if: {{{body|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Infantry Brigandine.png|16px|link=Body armour]]|}}{{#if: {{{gloves|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Nubuck Gloves.png|16px|link=Gloves]]|}}{{#if: {{{shoes|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Silk Slippers.png|16px|link=Boots]]|}}{{#if: {{{shield|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Copper Tower Shield.png|16px|link=Shield]]|}}{{#if: {{{quiver|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Conductive Quiver.png|16px|link=Quiver]]|}}{{#if: {{{belt|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Rustic Sash.png|16px|link=Belt]]|}}{{#if: {{{ring|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Gold Ring.png|16px|link=Ring]]|}}{{#if: {{{amulet|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Gold Amulet.png|16px|link=Amulet]]|}}{{#if: {{{bow|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Long Bow.png|16px|link=Bow]]|}}{{#if: {{{wand|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Quartz Wand.png|8px|link=Wand]]|}}{{#if: {{{sceptre|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Quartz Sceptre.png|16px|link=Sceptre]]|}}{{#if: {{{claw|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Sharktooth Claw.png|16px|link=Claw]]|}}{{#if: {{{dagger|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Skean.png|8px|link=Dagger]]||}}{{#if: {{{staff|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Primitive Staff.png|16px|link=Staff]]|}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 08:40, 3 January 2018

Template documentation[view] [edit] [history] [purge]

Usage

This template creates a table header for the master crafting. Without further specification of Arguments it will only include the required master and player level, the effect and cost columns.

Arguments

Parameter Value Description
master any Will show the master column
item_affix empty Will hide the suffix & affix columns
plvl empty Will show the player level column
helmet any Will show the helmet column
body any Will show the body (armor) column
gloves any Will show the gloves column
shoes any Will show the shoes column
shield any Will show the shield column
quiver any Will show the quiver column
belt any Will show the belt column
ring any Will show the ring column
amulet any Will show the amulet column
bow any Will show the bow column
wand any Will show the wand column
sceptre any Will show the sceptre column
claw any Will show the claw column
dagger any Will show the dagger column
staff any Will show the staff column
1H any Will show the one handed column
2H any Will show the two handed column

Examples

Default Table

{{MasterCraftingTable}}
|-
| Superpowers +1 || {{no}} || {{yes}} || 15 || 1 || 1x {{il|Exalted Orb}}
|}
Effect Prefix Suffix Lvl. Lvl. Cost
Superpowers +1
15 1 1x Exalted OrbExalted OrbStack Size: 20Augments a rare item with a new random modifierRight click this item then left click a rare item to apply it. Rare items can have up to six random modifiers.

Minimal Table

{{MasterCraftingTable
|item_affix=
|plvl=
}}
|-
| Superpowers +1 || 1 || 1x {{il|Exalted Orb}}
|}
Effect Lvl. Cost
Superpowers +1 1 1x Exalted OrbExalted OrbStack Size: 20Augments a rare item with a new random modifierRight click this item then left click a rare item to apply it. Rare items can have up to six random modifiers.

Complete Table

{{MasterCraftingTable
|master=yes
|helmet=yes
|body=yes
|gloves=yes
|shoes=yes
|shield=yes
|quiver=yes
|belt=yes
|ring=1
|amulet=1
|bow=1
|wand=1
|sceptre=1
|claw=1
|dagger=1
|staff=1}}
|-
| Vorici
| Superpowers +1
| {{yes}}
| {{no}}
| 15 
| 1 
| 1x {{il|Exalted Orb}}
| {{yes}}
| {{no}}
|}
Master Effect Prefix Suffix Lvl. Lvl. Cost style="max-width: 20px;width: 20px;" style="max-width: 20px;width: 20px;" style="max-width: 20px;width: 20px;" | style="max-width: 20px;width: 20px;" style="max-width: 20px;width: 20px;" style="max-width: 20px;width: 20px;" style="max-width: 20px;width: 20px;" style="max-width: 20px;width: 20px;" style="max-width: 20px;width: 20px;" style="max-width: 20px;width: 20px;" style="max-width: 20px;width: 20px;" style="max-width: 20px;width: 20px;" style="max-width: 20px;width: 20px;" style="max-width: 20px;width: 20px;" |
Vorici Superpowers +1
15 1 1x Exalted OrbExalted OrbStack Size: 20Augments a rare item with a new random modifierRight click this item then left click a rare item to apply it. Rare items can have up to six random modifiers.

Adding a column

Since MasterCraftingTable only creates the header of the table, you can also simply add columns if you like. If those are (or may be) used on multiple master pages, please edit the template instead of consistency.

{{MasterCraftingTable}}
! Extra Column
|-
| Superpowers +1 || {{no}} || {{yes}} || 15 || 1 || 1x {{il|Exalted Orb}} || Extra
|}
Effect Prefix Suffix Lvl. Lvl. Cost Extra Column
Superpowers +1
15 1 1x Exalted OrbExalted OrbStack Size: 20Augments a rare item with a new random modifierRight click this item then left click a rare item to apply it. Rare items can have up to six random modifiers. Extra