Template:CraftHead: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(test)
(update for crossbows)
(48 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{1}}}
<includeonly>{{#switch:{{{1}}}
|shortmetalarmor|sma={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
|shortmetalarmor|sma={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! Physical<br />Resist
! [[Property:Crafting physical resistance is|Physical<br />Resist]]
! Mod
! Mod
! Maneuver<br />Hindrance
! [[Property:Hindrance is|Maneuver<br />Hindrance]]
! Stealth<br />Hinderance
! [[Property:Stealth hindrance is|Stealth<br />Hinderance]]
! Density
! [[Property:Crafting density is|Density]]
! [[Property:Weight of|WT]]{{#switch:{{{co}}}|y=!! &nbsp;}}
! WT
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}-
}}

|shortleatherarmor|sla|sca|sba={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
|shortleatherarmor|sla|sca|sba={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! Material
! Material
! Mod
! Mod
! Maneuver<br />Hindrance
! [[Property:Hindrance is|Maneuver<br />Hindrance]]
! Stealth<br />Hinderance{{#switch:{{{c|}}}|n|no|-=|!! Construction}}
! [[Property:Stealth hindrance is|Stealth<br />Hinderance]]{{#switch:{{{c|}}}|n|no|-=|!! Construction}}
! [[Property:Weight of|WT]]{{#switch:{{{co}}}|y=!! &nbsp;}}
! WT
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}-
}}

|longmetalarmor|lma={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
|longmetalarmor|lma={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! Phys<br />Resist{{#switch:{{{c|}}}|n|no|-=|!! Dur}}
! [[Property:Crafting physical resistance is|Physical<br />Resist]]{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
! Mod
! Mod
! Punct<br />Prot
! [[Property:Puncture protection is|Punct<br />Prot]]
! Punct<br />Abs
! [[Property:Puncture absorption is|Punct<br />Abs]]
! Slice<br />Prot
! [[Property:Slice protection is|Slice<br />Prot]]
! Slice<br />Abs
! [[Property:Slice absorption is|Slice<br />Abs]]
! Impact<br />Prot
! [[Property:Impact protection is|Impact<br />Prot]]
! Impact<br />Abs
! [[Property:Impact absorption is|Impact<br />Abs]]
! Fire<br />Prot
! [[Property:Fire protection is|Fire<br />Prot]]
! Fire<br />Abs
! [[Property:Fire absorption is|Fire<br />Abs]]
! Cold<br />Prot
! [[Property:Cold protection is|Cold<br />Prot]]
! Cold<br />Abs
! [[Property:Cold absorption is|Cold<br />Abs]]
! Elect<br />Prot
! [[Property:Electric protection is|Elect<br />Prot]]
! Elect<br />Abs{{#switch:{{{c|}}}|n|no|-=|!! Construction}}
! [[Property:Electric absorption is|Elect<br />Abs]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Construction]]}}
! [[Property:Crafting density is|Density]]{{#switch:{{{co}}}|y=!! &nbsp;}}
! Density
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}-
}}

|longleatherarmor|lla|lca|lba={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
|longleatherarmor|lla|lca|lba={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! Material
! Material
! Mod
! Mod
! [[Property:Hindrance is|Maneuver<br />Hindrance]]
! Punct<br />Prot
! [[Property:Stealth hindrance is|Stealth<br />Hinderance]]
! Punct<br />Abs
! Slice<br />Prot
! [[Property:Puncture protection is|Punct<br />Prot]]
! Slice<br />Abs
! [[Property:Puncture absorption is|Punct<br />Abs]]
! Impact<br />Prot
! [[Property:Slice protection is|Slice<br />Prot]]
! Impact<br />Abs
! [[Property:Slice absorption is|Slice<br />Abs]]
! Fire<br />Prot
! [[Property:Impact protection is|Impact<br />Prot]]
! Fire<br />Abs
! [[Property:Impact absorption is|Impact<br />Abs]]
! Cold<br />Prot
! [[Property:Fire protection is|Fire<br />Prot]]
! Cold<br />Abs
! [[Property:Fire absorption is|Fire<br />Abs]]
! Elect<br />Prot
! [[Property:Cold protection is|Cold<br />Prot]]
! [[Property:Cold absorption is|Cold<br />Abs]]
! Elect<br />Abs{{#switch:{{{c|}}}|n|no|-=|!! Construction}}
! [[Property:Electric protection is|Elect<br />Prot]]
! Density
! [[Property:Electric absorption is|Elect<br />Abs]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Construction]]}}
! [[Property:Weight of|Weight]]{{#switch:{{{co}}}|y=!! &nbsp;}}
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}-
}}

|longleathershield|lls={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
|longleathershield|lls={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! Material
! Material
! Mod
! Mod
! [[Property:Hindrance is|Hindrance]]
! Hinderance
! Held<br />Basic
! [[Property:Min protection is|Held<br />Basic]]
! Held<br />Full
! [[Property:Max protection is|Held<br />Full]]
! Worn<br />Basic
! Worn<br />Basic
! Worn<br />Full
! Worn<br />Full
! [[Property:Puncture damage is|Pierce]]
! Pierce
! [[Property:Slice damage is|Slice]]
! Slice
! Impact
! [[Property:Impact damage is|Impact]]
! [[Property:FOI is|FOI]]
! FOI
! [[Property:Balance is|Bal]]
! Bal
! Suit{{#switch:{{{c|}}}|n|no|-=|!! Const}}
! [[Property:Suitedness is|Suit]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Const]]}}
! [[Property:Weight of|WT]]{{#switch:{{{co}}}|y=!! &nbsp;}}
! Wt
{{#if:{{{h|}}}|
|longmetalarmor|lms={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
{{!}}+ <big>'''{{{h}}}'''</big>
! Phys<br />Resist{{#switch:{{{c|}}}|n|no|-=|!! Dur}}
{{!}}-
}}

|longmetalshield|lms={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! [[Property:Crafting physical resistance is|Physical<br />Resist]]{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
! Mod
! Mod
! [[Property:Hindrance is|Hindrance]]
! Hinderance
! Held<br />Basic
! [[Property:Min protection is|Held<br />Basic]]
! Held<br />Full
! [[Property:Max protection is|Held<br />Full]]
! Worn<br />Basic
! Worn<br />Basic
! Worn<br />Full
! Worn<br />Full
! [[Property:Puncture damage is|Pierce]]
! Pierce
! [[Property:Slice damage is|Slice]]
! Slice
! Impact
! [[Property:Impact damage is|Impact]]
! [[Property:Balance is|Bal]]
! FOI
! [[Property:Suitedness is|Suit]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Const]]}}
! Bal
! [[Property:Crafting density is|Density]]
! Suit{{#switch:{{{c|}}}|n|no|-=|!! Const}}
! [[Property:Weight of|WT]]{{#switch:{{{co}}}|y=!! &nbsp;}}
! Density
{{#if:{{{h|}}}|
! Wt
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}-
}}

|carvedweapon|cw={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
|carvedweapon|cw={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! Material
! Material
! Hard{{#switch:{{{c|}}}|n|no|-=|!! Dur}}
! [[Property:Crafting hardness is|Hard]]{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
! Mod
! Mod
! [[Property:Puncture damage is|Pierce]]
! Pierce
! [[Property:Slice damage is|Slice]]
! Slash
! Impact
! [[Property:Impact damage is|Impact]]
! [[Property:FOI is|FOI]]
! FOI
! Balance
! [[Property:Balance is|Balance]]
! Suit{{#switch:{{{c|}}}|n|no|-=|!! Const}}
! [[Property:Suitedness is|Suit]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Const]]}}
! [[Property:Weight of|WT]]{{#switch:{{{co}}}|y=!! &nbsp;}}
! WT
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}-
}}

|metalweapon|mw={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
|metalweapon|mw={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
{{#if:{{{h|}}}|! colspan="{{#switch:{{{c|}}}|n|no|-=11|9}}"{{!}}{{{h}}}}}
! Hard{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
{{!}}-
! Hard{{#switch:{{{c|}}}|n|no|-=|!! Dur}}
! Mod
! Mod
! Pierce
! Pierce
! Slash
! Slice
! Impact
! Impact
! FOI
! FOI
! Balance
! Balance
! Suit{{#switch:{{{c|}}}|n|no|-=|!! Construction}}
! Suit{{#switch:{{{c|}}}|n|no|-=|!! Construction}}
! WT{{#switch:{{{co}}}|y=!! &nbsp;}}
! WT
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}-}}

|swappablemetalweapon|mws={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
|swappablemetalweapon|mws={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! Hardness{{#switch:{{{c|}}}|n|no|-=|!! Dur}}
! Hard{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
! Mod
! Mod
! Mode
! Mode
! Pierce
! Pierce
! Slash
! Slice
! Impact
! Impact
! FOI
! FOI
! Balance
! Balance
! Suit{{#switch:{{{c|}}}|n|no|-=|!! Construction}}
! Suit{{#switch:{{{c|}}}|n|no|-=|!! Construction}}
! WT{{#switch:{{{co}}}|y=!! &nbsp;}}
! WT
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}-
}}

|tool|t=! Speed Cap Speed
|tool|t=! Speed Cap Speed
! Speed Cap Construction
! Speed Cap Construction
! Durability Cap Speed
! Durability Cap Speed
! Durability Cap Construction
! Durability Cap Construction
! Vol{{#switch:{{{co}}}|y=!! &nbsp;}}
! Vol
{{#if:{{{h|}}}|
|carvedammo|ca={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
{{!}}+ <big>'''{{{h}}}'''</big>
! Material
{{!}}-
! Hard{{#switch:{{{c|}}}|n|no|-=|!! Dur}}
}}

|shortcrossbow|scb={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! Wood
! Affinity{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
! Mod
! Mod
! [[Property:FOI is|FOI]]
! Pierce
! [[Property:Balance is|Balance]]
! Slash
! [[Property:Suitedness is|Suit]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Const]]}}
! Blunt
! Force
! RT
! [[Property:Weight of|WT]]{{#switch:{{{co}}}|y=!! &nbsp;}}
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}-
}}

|longcrossbow|lcb={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! Wood
! Affinity{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
! Mod
! [[Property:Ductility is|Ductility]]
! [[Property:FOI is|FOI]]
! [[Property:Balance is|Balance]]
! [[Property:Suitedness is|Suit]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Const]]}}
! RT
! [[Property:Weight of|WT]]{{#switch:{{{co}}}|y=!! &nbsp;}}
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}-
}}

|stool|st={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! {{#if:{{{trait|}}}|{{{trait}}}|Speed<br />Trait}}
! Material<br />Durability
! Speed
! Construction
! Construction
! Tempered<br />Construction
! WT
{{#switch:{{lc:{{{w}}}}}|y|yes|t|true=
}}</includeonly><noinclude>A template for setting up crafting template tables. Documentation to follow.{{Cat|Templates}}</noinclude>
! Weight}}
{{!}}-

|shapedbow|sb={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! Wood
! Affinity{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
! Mod
! [[Property:Drawstrength is|Draw]]
! [[Property:Adjustable draw|Adj.Draw]]
! [[Property:FOI is|FOI]]
! [[Property:Balance is|Balance]]
! [[Property:Suitedness is|Suit]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Const]]}}
! RT
! [[Property:Weight of|WT]]{{#switch:{{{co}}}|y=!! &nbsp;}}
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}-
}}

|shapedweapon|sw={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! Wood
! Hard{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
! Mod
! Pierce
! Slice
! Impact
! FOI
! Balance
! Suit{{#switch:{{{c|}}}|n|no|-=|!! Construction}}
! WT{{#switch:{{{co}}}|y=!! &nbsp;}}
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}-}}


|carvedammo|ca|shapedammo|sa={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! Material
! [[Property:Crafting hardness is|Hard]]{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
! Mod
! [[Property:Puncture damage is|Pierce]]
! [[Property:Slice damage is|Slice]]
! [[Property:Impact damage is|Impact]]
! [[Property:FOI is|FOI]]
! [[Property:Construction is|Construction]]
! [[Property:Weight of|WT]]{{#switch:{{{co}}}|y=!! &nbsp;}}
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}-
}}
}}</includeonly><noinclude>A template for setting up crafting template tables.

The first variable determines which it's set up for.
{| border="1"
|-
| sma=<br />lma= || metal armor, short form<br />metal armor, long form
|-
| sla=<br />lla= || leather, bone, or stone armor, short form<br />leather, bone, or stone armor, long form
|-
| sls=<br />lls= || leather shield, short form<br />leather shield, long form
|-
| sms=<br />lms= || metal shield, short form<br />metal shield, long form
|-
| cw=<br />ca= || bone or stone weapons<br />stone or bone ammo
|-
| scb=<br />lcb= || wood crossbows, short form (no ductility)<br/>wood crossbows, long form
|-
| sb=<br />sa= || wood bows<br />wood ammo
|-
| mw=<br />mws= || metal weapons<br />swappable metal weapons
|-
| t<br />st= || tools<br />short tool display
|}
Variable "h" determines if there is a table title and what it is. Note that for unknown reasons, adding a title will disable sorting.

Variable "co" determines if the table is collapsible.

Variable "d" determines if durability is shown, with "-" disabling.

Variable "c" determines if construction and durability are shown, with "-" disabling.{{Cat|Templates}}</noinclude>

Revision as of 15:14, 17 June 2016

A template for setting up crafting template tables.

The first variable determines which it's set up for.

sma=
lma=
metal armor, short form
metal armor, long form
sla=
lla=
leather, bone, or stone armor, short form
leather, bone, or stone armor, long form
sls=
lls=
leather shield, short form
leather shield, long form
sms=
lms=
metal shield, short form
metal shield, long form
cw=
ca=
bone or stone weapons
stone or bone ammo
scb=
lcb=
wood crossbows, short form (no ductility)
wood crossbows, long form
sb=
sa=
wood bows
wood ammo
mw=
mws=
metal weapons
swappable metal weapons
t
st=
tools
short tool display

Variable "h" determines if there is a table title and what it is. Note that for unknown reasons, adding a title will disable sorting.

Variable "co" determines if the table is collapsible.

Variable "d" determines if durability is shown, with "-" disabling.

Variable "c" determines if construction and durability are shown, with "-" disabling.