Template:CraftHead: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(update for crossbows)
(32 intermediate revisions by 4 users not shown)
Line 6: Line 6:
! [[Property:Stealth hindrance is|Stealth<br />Hinderance]]
! [[Property:Stealth hindrance is|Stealth<br />Hinderance]]
! [[Property:Crafting density is|Density]]
! [[Property:Crafting density is|Density]]
! [[Property:Weight of|WT]]
! [[Property:Weight of|WT]]{{#switch:{{{co}}}|y=!! &nbsp;}}
{{#if:{{{h|}}}|
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}+ <big>'''{{{h}}}'''</big>
Line 17: Line 17:
! [[Property:Hindrance is|Maneuver<br />Hindrance]]
! [[Property:Hindrance is|Maneuver<br />Hindrance]]
! [[Property:Stealth hindrance is|Stealth<br />Hinderance]]{{#switch:{{{c|}}}|n|no|-=|!! Construction}}
! [[Property:Stealth hindrance is|Stealth<br />Hinderance]]{{#switch:{{{c|}}}|n|no|-=|!! Construction}}
! [[Property:Weight of|WT]]
! [[Property:Weight of|WT]]{{#switch:{{{co}}}|y=!! &nbsp;}}
{{#if:{{{h|}}}|
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}+ <big>'''{{{h}}}'''</big>
Line 38: Line 38:
! [[Property:Electric protection is|Elect<br />Prot]]
! [[Property:Electric protection is|Elect<br />Prot]]
! [[Property:Electric absorption is|Elect<br />Abs]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Construction]]}}
! [[Property:Electric absorption is|Elect<br />Abs]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Construction]]}}
! [[Property:Crafting density is|Density]]
! [[Property:Crafting density is|Density]]{{#switch:{{{co}}}|y=!! &nbsp;}}
{{#if:{{{h|}}}|
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}+ <big>'''{{{h}}}'''</big>
Line 47: Line 47:
! Material
! Material
! Mod
! Mod
! [[Property:Hindrance is|Maneuver<br />Hindrance]]
! [[Property:Stealth hindrance is|Stealth<br />Hinderance]]
! [[Property:Puncture protection is|Punct<br />Prot]]
! [[Property:Puncture protection is|Punct<br />Prot]]
! [[Property:Puncture absorption is|Punct<br />Abs]]
! [[Property:Puncture absorption is|Punct<br />Abs]]
Line 59: Line 61:
! [[Property:Electric protection is|Elect<br />Prot]]
! [[Property:Electric protection is|Elect<br />Prot]]
! [[Property:Electric absorption is|Elect<br />Abs]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Construction]]}}
! [[Property:Electric absorption is|Elect<br />Abs]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Construction]]}}
! [[Property:Crafting density is|Density]]
! [[Property:Weight of|Weight]]{{#switch:{{{co}}}|y=!! &nbsp;}}
{{#if:{{{h|}}}|
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}+ <big>'''{{{h}}}'''</big>
Line 79: Line 81:
! [[Property:Balance is|Bal]]
! [[Property:Balance is|Bal]]
! [[Property:Suitedness is|Suit]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Const]]}}
! [[Property:Suitedness is|Suit]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Const]]}}
! [[Property:Weight of|WT]]
! [[Property:Weight of|WT]]{{#switch:{{{co}}}|y=!! &nbsp;}}
{{#if:{{{h|}}}|
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}+ <big>'''{{{h}}}'''</big>
Line 96: Line 98:
! [[Property:Slice damage is|Slice]]
! [[Property:Slice damage is|Slice]]
! [[Property:Impact damage is|Impact]]
! [[Property:Impact damage is|Impact]]
! [[Property:FOI is|FOI]]
! [[Property:Balance is|Bal]]
! [[Property:Balance is|Bal]]
! [[Property:Suitedness is|Suit]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Const]]}}
! [[Property:Suitedness is|Suit]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Const]]}}
! [[Property:Crafting density is|Density]]
! [[Property:Crafting density is|Density]]
! [[Property:Weight of|WT]]
! [[Property:Weight of|WT]]{{#switch:{{{co}}}|y=!! &nbsp;}}
{{#if:{{{h|}}}|
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}+ <big>'''{{{h}}}'''</big>
Line 116: Line 117:
! [[Property:Balance is|Balance]]
! [[Property:Balance is|Balance]]
! [[Property:Suitedness is|Suit]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Const]]}}
! [[Property:Suitedness is|Suit]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Const]]}}
! [[Property:Weight of|WT]]
! [[Property:Weight of|WT]]{{#switch:{{{co}}}|y=!! &nbsp;}}
{{#if:{{{h|}}}|
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}+ <big>'''{{{h}}}'''</big>
Line 123: Line 124:


|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|}}"
! [[Property:Crafting hardness is|Hard]]{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
! Hard{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
! Mod
! Mod
! Pierce
! [[Property:Puncture damage is|Pierce]]
! Slice
! [[Property:Slice damage is|Slice]]
! [[Property:Impact damage is|Impact]]
! Impact
! FOI
! [[Property:FOI is|FOI]]
! [[Property:Balance is|Balance]]
! Balance
! [[Property:Suitedness is|Suit]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Construction]]}}
! Suit{{#switch:{{{c|}}}|n|no|-=|!! Construction}}
! WT{{#switch:{{{co}}}|y=!! &nbsp;}}
! [[Property:Weight of|WT]]
{{#if:{{{h|}}}|
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}+ <big>'''{{{h}}}'''</big>
Line 137: Line 138:


|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|}}"
! [[Property:Crafting hardness is|Hard]]{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
! Hard{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
! Mod
! Mod
! Mode
! Mode
! Pierce
! [[Property:Puncture damage is|Pierce]]
! Slice
! [[Property:Slice damage is|Slice]]
! [[Property:Impact damage is|Impact]]
! Impact
! FOI
! [[Property:FOI is|FOI]]
! [[Property:Balance is|Balance]]
! Balance
! [[Property:Suitedness is|Suit]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Construction]]}}
! Suit{{#switch:{{{c|}}}|n|no|-=|!! Construction}}
! WT{{#switch:{{{co}}}|y=!! &nbsp;}}
! [[Property:Weight of|WT]]
{{#if:{{{h|}}}|
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}+ <big>'''{{{h}}}'''</big>
Line 156: Line 157:
! Durability Cap Speed
! Durability Cap Speed
! Durability Cap Construction
! Durability Cap Construction
! Vol{{#switch:{{{co}}}|y=!! &nbsp;}}
! Vol
{{#if:{{{h|}}}|
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}+ <big>'''{{{h}}}'''</big>
Line 162: Line 163:
}}
}}


|carvedammo|ca={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
|shortcrossbow|scb={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! Wood
! Affinity{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
! Mod
! [[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>
{{!}}-
}}

|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
! Tempered<br />Construction
{{#switch:{{lc:{{{w}}}}}|y|yes|t|true=
! 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
! Material
! [[Property:Crafting hardness is|Hard]]{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
! [[Property:Crafting hardness is|Hard]]{{#switch:{{{d|}}}|-=|{{#switch:{{{c|}}}|n|no|-=|!! Dur}}}}
Line 171: Line 243:
! [[Property:FOI is|FOI]]
! [[Property:FOI is|FOI]]
! [[Property:Construction is|Construction]]
! [[Property:Construction is|Construction]]
! [[Property:Weight of|WT]]
! [[Property:Weight of|WT]]{{#switch:{{{co}}}|y=!! &nbsp;}}
{{#if:{{{h|}}}|
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}+ <big>'''{{{h}}}'''</big>
Line 190: Line 262:
|-
|-
| cw=<br />ca= || bone or stone weapons<br />stone or bone ammo
| 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
| mw=<br />mws= || metal weapons<br />swappable metal weapons
|-
|-
| t= || tools
| t<br />st= || tools<br />short tool display
|}
|}
Variable "h" determines if there is a table title and what it is.
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 "co" determines if the table is collapsible.

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.