Template:CraftHead: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(removed FOI from lms header.)
(update for crossbows)
Line 158: Line 158:
! Durability Cap Construction
! Durability Cap Construction
! Vol{{#switch:{{{co}}}|y=!!  }}
! Vol{{#switch:{{{co}}}|y=!!  }}
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}-
}}

|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|}}}|
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}+ <big>'''{{{h}}}'''</big>
Line 233: 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
| sb=<br />sa= || wood bows<br />wood ammo

Revision as of 14: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.