Template:CraftHead: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(Undo revision 641941 by ASHBOMB (talk))
Tag: Undo
 
(23 intermediate revisions by 5 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 98: Line 108:
! [[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]]}}
Line 159: 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 165: Line 203:


|stool|st={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
|stool|st={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
! Speed<br />Trait
! {{#if:{{{trait|}}}|{{{trait}}}|Speed<br />Trait}}
! Material<br />Duability
! Material<br />Durability
! Speed
! Speed
! Construction
! Construction
! Tempered<br />Construction
! Tempered<br />Construction
{{#switch:{{lc:{{{w}}}}}|y|yes|t|true=
! Weight}}
{{!}}-
{{!}}-


|carvedammo|ca={{{!}} border="1" class="sortable {{#switch:{{{co}}}|y=mw-collapsible mw-collapsed|}}"
|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 200: 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
|-
|-
| mw=<br />mws= || metal weapons<br />swappable metal weapons
| mw=<br />mws= || metal weapons<br />swappable metal weapons

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.