Template:CraftHead: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(test for row for collapse)
(full impliment of row for collapse)
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 59: Line 59:
! [[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 79: Line 79:
! [[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 100: Line 100:
! [[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 116:
! [[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 146: Line 146:
! [[Property:Balance is|Balance]]
! [[Property:Balance is|Balance]]
! [[Property:Suitedness is|Suit]]{{#switch:{{{c|}}}|n|no|-=|!! [[Property:Construction is|Construction]]}}
! [[Property:Suitedness is|Suit]]{{#switch:{{{c|}}}|n|no|-=|!! [[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 156: Line 156:
! 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 171: Line 171:
! [[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>

Revision as of 18:34, 24 December 2014

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
mw=
mws=
metal weapons
swappable metal weapons
t= tools

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.