Template:MasterCraftingTable: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>KLIKS
mNo edit summary
>Qetuth
(typo in 1H column messing up headings)
Line 5: Line 5:
! {{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;" {{!}} [[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: {{{2H sword|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Etched_Greatsword.png|16px|link=Two_Handed_Sword]]|}}{{#if: {{{1H sword|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Sabre.png|8px|link=One_Handed_Sword]]|}}{{#if: {{{2H mace|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Brass_Maul.png|16px|link=Two_Handed_Mace]]|}}{{#if: {{{1H mace|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Stone Hammer.png|16px|link=One_Handed_Mace]]|}}{{#if: {{{2H axe|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Double_Axe.png|16px|link=Two_Handed_Axe]]|}}{{#if: {{{1H axe|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Cleaver.png|16px|link=One_Handed_Axe]]|}}{{#if: {{{staff|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Primitive Staff.png|16px|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: {{{2H sword|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Etched_Greatsword.png|16px|link=Two_Handed_Sword]]|}}{{#if: {{{1H sword|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Sabre.png|8px|link=One_Handed_Sword]]|}}{{#if: {{{2H mace|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Brass_Maul.png|16px|link=Two_Handed_Mace]]|}}{{#if: {{{1H mace|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Stone Hammer.png|16px|link=One_Handed_Mace]]|}}{{#if: {{{2H axe|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Double_Axe.png|16px|link=Two_Handed_Axe]]|}}{{#if: {{{1H axe|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Cleaver.png|16px|link=One_Handed_Axe]]|}}{{#if: {{{staff|}}}|!! style="max-width: 20px;width: 20px;" {{!}} [[File:Primitive Staff.png|16px|link=Staff]]|}}{{#if: {{{1H|}}}|!! {{Abbr|1H|One-Handed Weapons}}|}}{{#if: {{{2H|}}}|!! {{Abbr|2H|Two-Handed Weapons}}|}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 00:24, 16 December 2014

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 File:Vaal Mask.png File:Infantry Brigandine.png File:Nubuck Gloves.png File:Silk Slippers.png File:Copper Tower Shield.png File:Conductive Quiver.png File:Rustic Sash.png File:Gold Ring.png File:Long Bow.png File:Quartz Wand.png File:Quartz Sceptre.png File:Sharktooth Claw.png File:Skean.png File:Primitive Staff.png
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