Template:MasterCraftingTable: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
(fix of the fix)
>OmegaK2
(use HTML now to avoid wikimedia issues)
Line 1: Line 1:
<includeonly>{| class="wikitable MasterCraftingTable" style="width: {{{width|auto}}};"
<includeonly><table class="wikitable MasterCraftingTable" style="width: {{{width|auto}}};">
|-
<tr>
{{#if:{{{master|}}}| ! Master |}}
{{#if:{{{master|}}}| <th>Master</th> |}}
! {{Abbr|[[Image:Level_up_icon_small.png|link=|Lvl.]]|Required Master Level|class=nounderline}}
<th>{{Abbr|[[Image:Level_up_icon_small.png|link=|Lvl.]]|Required Master Level|class=nounderline}}</th>
! {{Abbr|[[Image:Level_up_icon_small.png|link=|Lvl.]]|Required Player Level|class=nounderline}}
<th>{{Abbr|[[Image:Level_up_icon_small.png|link=|Lvl.]]|Required Player Level|class=nounderline}}</th>
! {{Abbr|Effect|Effect that can be enchated/crafted onto an item}}
<th>{{Abbr|Effect|Effect that can be enchated/crafted onto an item}}</th>
! {{Abbr|Cost|Required currency for crafting}}{{#switch: {{{armor}}}
<th>{{Abbr|Cost|Required currency for crafting}}</th>{{#switch: {{{armor}}}
| short = ! Armor
| short = ! Armor
| detailed =
| detailed =
! style="max-width: 20px;width: 20px;" {{!}} [[File:Vaal Mask.png|16px|link=Helmet]]
<th style="max-width: 20px;width: 20px;">[[File:Vaal Mask.png|16px|link=Helmet]]</th>
! style="max-width: 20px;width: 20px;" {{!}} [[File:Infantry Brigandine.png|16px|link=Body armour]]
<th style="max-width: 20px;width: 20px;">[[File:Infantry Brigandine.png|16px|link=Body armour]]</th>
! style="max-width: 20px;width: 20px;" {{!}} [[File:Nubuck Gloves.png|16px|link=Gloves]]
<th style="max-width: 20px;width: 20px;">[[File:Nubuck Gloves.png|16px|link=Gloves]]</th>
! style="max-width: 20px;width: 20px;" {{!}} [[File:Silk Slippers.png|16px|link=Boots]]
<th style="max-width: 20px;width: 20px;">[[File:Silk Slippers.png|16px|link=Boots]]</th>
! style="max-width: 20px;width: 20px;" {{!}} [[File:Rustic Sash.png|16px|link=Belt]]
<th style="max-width: 20px;width: 20px;">[[File:Rustic Sash.png|16px|link=Belt]]</th>
! style="max-width: 20px;width: 20px;" {{!}} [[File:Conductive Quiver.png|16px|link=Quiver]]
<th style="max-width: 20px;width: 20px;">[[File:Conductive Quiver.png|16px|link=Quiver]]</th>
| #default =
| #default =
|}}
|}}{{#switch: {{{jewellery}}}
{{#switch: {{{jewellery}}}
| short = ! Jewellery
| short = ! Jewellery
| detailed =
| detailed =
! style="max-width: 20px;width: 20px;" {{!}} [[File:Gold Ring.png|16px|link=Ring]]
<th style="max-width: 20px;width: 20px;">[[File:Gold Ring.png|16px|link=Ring]]</th>
! style="max-width: 20px;width: 20px;" {{!}} [[File:Gold Amulet.png|16px|link=Amulet]]
<th style="max-width: 20px;width: 20px;">[[File:Gold Amulet.png|16px|link=Amulet]]</th>
| #default =
| #default =
|}}
|}}{{#switch: {{{weapons_ranged}}}
{{#switch: {{{weapons_ranged}}}
| short = ! {{Abbr|Ranged|Ranged Weapons}}
| short = ! {{Abbr|Ranged|Ranged Weapons}}
| detailed =
| detailed =
! style="max-width: 20px;width: 20px;" {{!}} [[File:Long Bow.png|16px|link=Bow]]
<th style="max-width: 20px;width: 20px;">[[File:Long Bow.png|16px|link=Bow]]</th>
! style="max-width: 20px;width: 20px;" {{!}} [[File:Quartz Wand.png|8px|link=Wand]]
<th style="max-width: 20px;width: 20px;">[[File:Quartz Wand.png|8px|link=Wand]]</th>
| #default =
| #default =
|}}
|}}{{#switch: {{{weapons_1h}}}
{{#switch: {{{weapons_1h}}}
| short = ! {{Abbr|1H|One Handed Weapons}}
| short = ! {{Abbr|1H|One Handed Weapons}}
| detailed =
| detailed =
! style="max-width: 20px;width: 20px;" {{!}} [[File:Quartz Sceptre.png|16px|link=Sceptre]]
<th style="max-width: 20px;width: 20px;">[[File:Quartz Sceptre.png|16px|link=Sceptre]]</th>
! style="max-width: 20px;width: 20px;" {{!}} [[File:Sharktooth Claw.png|16px|link=Claw]]
<th style="max-width: 20px;width: 20px;">[[File:Sharktooth Claw.png|16px|link=Claw]]</th>
! style="max-width: 20px;width: 20px;" {{!}} [[File:Skean.png|8px|link=Dagger]]
<th style="max-width: 20px;width: 20px;">[[File:Skean.png|8px|link=Dagger]]</th>
| #default =
| #default =
|}}
|}}{{#switch: {{{weapons_2h}}}
{{#switch: {{{weapons_2h}}}
| short = ! {{Abbr|2H|Two Handed Weapons}}
| short = ! {{Abbr|2H|Two Handed Weapons}}
| detailed =
| detailed =
! style="max-width: 20px;width: 20px;" {{!}} [[File:Primitive Staff.png|16px|link=Staff]]
<th style="max-width: 20px;width: 20px;">[[File:Primitive Staff.png|16px|link=Staff]]</th>
| #default =
| #default =
|}}</includeonly><noinclude>
|}}</tr></includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 11:35, 23 August 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}}
|}

|-

| 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}}
|}
Lvl. Lvl. Effect 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}}
|}
Lvl. Lvl. Effect Cost

|- | 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
|}
Master Lvl. Lvl. Effect 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

|}

Lvl. Lvl. Effect Cost