Template:LoA/Item: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 79: Line 79:
{{!-}}
{{!-}}
}}
}}
{{#switch: {{{set_name|}}}{{{set_item1|}}}{{{set_item2|}}}{{{set_item3|}}}{{{set_item4|}}}{{{set_item5|}}}{{{set_item6|}}}{{{set_bonus_2|}}}{{{set_bonus_4|}}}{{{set_bonus_6|}}}
{{#if: {{{set_name|}}}|
| =
{{#ifexist: LoA/SetAttributes/{{{set_name}}} | {{:LoA/SetAttributes/{{{set_name}}}}} | [[LoA/SetAttributes/{{{set_name}}}|Add {{{set_name}}} attributes]] }}
|#default = {{!}}<hr style="margin-left: 12.5%; height: 1px; color: #1a1512; width: 75% " />
{{!-}}
{{!}}
{{table-begin}}
{{!-}}
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}<span style="font-weight: bold; color:{{LoA/ColorBrown}};">Set Attributes</span>
{{!}}&nbsp;
{{!-}}
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}<span style="font-weight: bold; color:{{LoA/ColorGold}};">{{{set_name}}} Set</span>
{{!}}&nbsp;
{{!-}}
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}{{{set_item1}}}
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}{{{set_item4}}}
{{!-}}
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}{{{set_item2}}}
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}{{{set_item5}}}
{{!-}}
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}{{{set_item3}}}
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}{{{set_item6}}}
{{!-}}
{{!}}colspan="2" style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}<span style="color:{{LoA/ColorGray}};"><nowiki>[2]</nowiki> {{{set_bonus_2|???}}}</span>
{{!-}}
{{!}}colspan="2" style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}<span style="color:{{LoA/ColorGray}};"><nowiki>[4]</nowiki> {{{set_bonus_4|???}}}</span>
{{!-}}
{{!}}colspan="2" style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}<span style="color:{{LoA/ColorGray}};"><nowiki>[6]</nowiki> {{{set_bonus_6|???}}}</span>
{{table-end}}
{{!-}}
}}
}}
|<hr style="margin-left: 12.5%; height: 1px; color: #1a1512; width: 75% " />
|<hr style="margin-left: 12.5%; height: 1px; color: #1a1512; width: 75% " />

Revision as of 01:26, 26 January 2014

Item
File:LoA Item.png
Type: {{{type}}}

{{{desc}}}

Price: {{{price}}}
Limit: {{{limit}}}

Required variables:
name - name of item
color - color of item, Emerald, Opal, Garnet, Topaz, Ruby. (note: current theory is birthstones)
image - name of image (default is "LoA name.png").  image should not include LoA in its name.
desc - item description
obtained - obtained text
price - item price
limit - limit text

Level variables:
equip_level - level for equipment
req_level - level requirement for non-equipment

Equipment specific variables:
max_enhance - maximum level item can be enhanced
max_gems - maximum number of gems
set_name - name of the Set e.g. Peerless
set_bonus_2 - bonus for 2 worn pieces of same set
set_bonus_4 - bonus for 4 worn pieces of same set
set_bonus_6 - bonus for 6 worn pieces of same set
set_item1 - First item in the set (Left column 1)
set_item2 - Second item in the set (Left column 2)
set_item3 - Third item in the set (Left column 3)
set_item4 - Fourth item in the set (Right column 1)
set_item5 - Fifth item in the set (Right column 2)
set_item6 - Sixth item in the set (Right column 3)

Stats variables:
br - item Battle Rating
hp - item base hp value
agi - item base agility value
patk - item base patk value
pdef - item base pdef value
matk - item base matk value
mdef - item base mdef value
hit - item base Hit rating
crit - item base Crit rating
block - item base Block rating
dodge - item base Dodge rating
end - item base END value
ice_dmg - item base Ice DMG value
ice_resist - item base Ice RES value
fire_dmg - item base Fire DMG value
fire_resist - item base Fire RES value
electro_dmg - item base Electro DMG value
electro_resist - item base Electro RES value