Template:CraftHead: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(update for crossbows)
No edit summary
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]]

Revision as of 23:09, 18 April 2021

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.