Template:CraftHead: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(removed FOI from lms header.)
(Undo revision 641941 by ASHBOMB (talk))
Tag: Undo
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{1}}}
<includeonly>{{#switch:{{{1}}}
|enchantment|en={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! Capacity
! Sigil Precision
! Potency
! Complexity
! Precision
{{#if:{{{h|}}}|
{{!}}+ <big>'''{{{h}}}'''</big>
{{!}}-}}

|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|}}"
! [[Property:Crafting physical resistance is|Physical<br />Resist]]
! [[Property:Crafting physical resistance is|Physical<br />Resist]]
Line 158: Line 168:
! Durability Cap Construction
! Durability Cap Construction
! Vol{{#switch:{{{co}}}|y=!! &nbsp;}}
! Vol{{#switch:{{{co}}}|y=!! &nbsp;}}
{{#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 272:
|-
|-
| 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

Latest revision as of 16:01, 9 July 2024

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.