Difference between revisions of "Template:Equipment footer"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly><div class="equipment-footer"><!-- | <includeonly><div class="equipment-footer"><!-- | ||
-->{{#if:{{{1|}}}|<div class="equipment-melding" title=" | -->{{#if:{{{1|}}}|<div class="equipment-melding" title="This item has {{{1}}} materia slots readily available.">{{#arraymap:{{#switch:{{{1}}}|1=m|2=m,m|3=m,m,m|4=m,m,m,m|5=m,m,m,m,m|6=m,m,m,m,m,m}}|,|@@@|[[File:Materia slot.png|14px|link=]]| }}</div>{{#set:Has materia slots={{{1}}}}}|{{#set:Has materia slots=0}}}}<!-- | ||
-->{{#ifeq: {{{2|n}}}|n|<div class="adv-melding" title="This item cannot undergo overmelding.">Advanced Melding Forbidden</div>{{#set:Has advanced melding=No}}|{{#set:Has advanced melding=Yes}}}} | -->{{#ifeq: {{{2|n}}}|n|<div class="adv-melding" title="This item cannot undergo overmelding.">Advanced Melding Forbidden</div>{{#set:Has advanced melding=No}}|{{#set:Has advanced melding=Yes}}}} | ||
<hr><!-- | <hr><!-- | ||
--><div class="equip-props"><span class="equip-prop {{#vardefineecho:is-convertible|{{#if:{{{3|}}}|yes|no}}}}" title="{{#if:{{{3|}}}|This item can be converted into a materia.|This item cannot be converted into a materia.}}">{{#set:Is convertible={{#var:is-convertible}}}}Convertible</span> • <span class="equip-prop {{#vardefineecho:is-projectable|{{#if:{{{4|}}}|yes|no}}}}" title="{{#if:{{{4|}}}|This item can have its appearance projected onto another similar item.|This item cannot have its appearance projected onto another similar item.}}">{{#set:Is projectable={{#var:is-projectable}}}}Projectable</span> • <span class="equip-prop | --><div class="equip-props"><span class="equip-prop {{#vardefineecho:is-convertible|{{#if:{{{3|}}}|yes|no}}}}" title="{{#if:{{{3|}}}|This item can be converted into a materia.|This item cannot be converted into a materia.}}">{{#set:Is convertible={{#var:is-convertible}}}}Convertible</span> • <span class="equip-prop {{#vardefineecho:is-projectable|{{#if:{{{4|}}}|yes|no}}}}" title="{{#if:{{{4|}}}|This item can have its appearance projected onto another similar item.|This item cannot have its appearance projected onto another similar item.}}">{{#set:Is projectable={{#var:is-projectable}}}}Projectable</span> • <span class="equip-prop {{#if:{{{5|}}}|yes|no}}" title="{{#if:{{{5|}}}|This item can be desynthesized into base materials.|This item cannot be desynthesized into base materials.}}">Desynthesizable <small>({{ {{#vardefineecho:desynth-class|{{#explode:{{{5}}}| |0}}}}|name=y}}{{#set:Requires desynthesis class={{#var:desynth-class}} [[Requires desynthesis level::{{#explode:{{{5|}}}| |1}}]])</small></span> • <span class="equip-prop {{#vardefineecho:is-dyeable|{{#if:{{{6|}}}|yes|no}}}}" title="{{#if:{{{6|}}}|This item can be dyed.|This item cannot be dyed.}}">{{#set:Is dyeable={{#var:is-dyeable}}}}Dyeable</span> • <span class="equip-prop {{#vardefineecho:is-storable|{{#if:{{{7|}}}|yes|no}}}}" title="{{#if:{{{7|}}}|This item can be stored in the Armory.|This item cannot be stored in the Armory.}}">{{#set:Is storable={{#var:is-storable}}}}Storable</span> • <span class="equip-prop {{#vardefineecho:is-crestworthy|{{#if:{{{8|}}}|yes|no}}}}" title="{{#if:{{{8|}}}|Free Company crests can be attached to this item.|Free Company crests cannot be attached to this item.}}">{{#set:Is crest-worthy={{#var:is-crestworthy}}}}Crest-worthy</span> • <span class="equip-prop {{#vardefineecho:is-collectable|{{#if:{{{9|}}}|yes|no}}}}" title="{{#if:{{{9|}}}|This item can be used in collectible synthesis.|This item cannot be used in collectible synthesis.}}">{{#set:Is collectable={{#var:is-collectable}}}}Collectable</span></div> | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
== Description == | == Description == | ||
Line 13: | Line 13: | ||
# Convertible? | # Convertible? | ||
# Projectable? | # Projectable? | ||
# Desynthesizable? | # Desynthesizable (class lvl)? | ||
# Dyeable? | # Dyeable? | ||
# Storable? | # Storable? |
Revision as of 11:30, 1 December 2017
Description
Adds a footer with equipment-related properties such as melding slots, convertible status, projectable status, desynthesizable status, dyeable status, etc. Meant to be used by {{Weapon infobox}}, {{Armor infobox}}, and {{Trinket infobox}}.
Parameters
- Materia slots
- Advanced melding
- Convertible?
- Projectable?
- Desynthesizable (class lvl)?
- Dyeable?
- Storable?
- Crest-worthy?
- Collectable?