Template:LoA/Item: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
No edit summary
No edit summary
 
(88 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|  style="width:275px; color:white; background:#000000; border:5px solid #2F4F4F; vertical-align:top; padding:0px;" |
{|  style="width:295px; color:white; background:#000000; border:5px solid #2F4F4F; vertical-align:top; padding:0px;" |
|-
|-
|style="text-align:center; vertical-align:top; padding-left:3px;"| <span style="font-size: 130%; color:{{LoA/Color{{{color}}}}};"> '''{{{name}}}''' </span>
|style="text-align:center; vertical-align:top; padding-left:3px;"| <span style="font-size: 130%; color:{{LoA/Color{{{color}}}}};"> '''{{#if: {{{name|}}}|{{{name}}}|{{#explode: {{PAGENAME}}|/|-1}}}}''' </span>
{{#if: {{{max_enhance|}}} |<span style="font-weight: bold; color:{{LoA/Color{{{color}}}}};">(can be enhanced to +{{{max_enhance}}})</span>}}
{{#if: {{{max_enhance|}}} |<span style="font-weight: bold; color:{{LoA/Color{{{color}}}}};">(can be enhanced to +{{{max_enhance}}})</span>}}
|-
|-
Line 7: Line 7:
{|
{|
|-
|-
|rowspan="4" width="64px"|{{#if: {{{image|}}}| [[Image:LoA {{{image}}}]]|[[Image:LoA {{{name}}}.png]]}}
|rowspan="4" width="64px"|{{#if: {{{image|}}}| [[Image:LoA {{{image}}}]]|[[Image:LoA {{#if: {{{name|}}}|{{{name}}}|{{#explode: {{PAGENAME}}|/|-1}}}}.png]]}}
|-
|-
|style="text-align:left; vertical-align:top; padding-left:3px;"|Type: {{{type}}}
|style="text-align:left; vertical-align:top; padding-left:3px;"|Type: {{{type}}}
|-
|-
|style="text-align:left; vertical-align:top; padding-left:3px;"|Class: {{{class}}}
{{#if: {{{class|}}}|
|-
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Class: {{{class}}}
|style="text-align:left; vertical-align:top; padding-left:3px;"|Equip Lvl.: {{{level}}}
{{!-}}
|-
}}
|style="text-align:left; vertical-align:top; padding: 8px;"|<span style="color:{{LoA/ColorTopaz}};">B.R.</span>
{{#if: {{{equip_level|}}}|
|style="text-align:left; vertical-align:top; padding: 8px;"|<span style="font-weight: bold; font-size: 200%; color:{{LoA/ColorTopaz}};">{{{br}}}</span>
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Equip Lvl.: {{{equip_level}}}
|}
{{!-}}
|-
}}
|<hr style="margin-left: 12.5%; height: 1px; color: #1a1512; width: 75% " />
{{#if: {{{equip_DR_level|}}}|
|-
{{!}}colspan="2" style="text-align:left; vertical-align:top; padding-left:71px;"{{!}}Equip Divine Realm Lvl.: {{{equip_DR_level}}}
|
{{!-}}
{|
}}
|-
{{#if: {{{req_level|}}}|
|style="text-align:left; vertical-align:top; padding-left:3px;"|<span style="font-weight: bold; color:{{LoA/ColorBrown}};">Base Attributes</span>
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Requires Lvl.: {{{req_level}}}
|&nbsp;
{{!-}}
|-
}}
|style="text-align:left; vertical-align:top; padding-left:3px;"|HP {{{base_hp}}}
{{#if: {{{max_gems|}}}|
|style="text-align:left; vertical-align:top; padding-left:3px;"|<span style="font-weight: bold; color:{{LoA/ColorEmerald}};">(Enhance +0)
{{!}}colspan="2" style="text-align:left; vertical-align:top; padding-left:71px;"{{!}}Gem Sockets: {{{max_gems}}}
{{!-}}
}}
{{#if: {{{fuse_gems|}}}|
{{!}}colspan="2" style="text-align:left; vertical-align:top; padding-left:71px;"{{!}}Fuse Gem Sockets: {{{fuse_gems}}}
{{!-}}
}}
{{#switch: {{{hp|}}}{{{agi|}}}{{{patk|}}}{{{pdef|}}}{{{matk|}}}{{{mdef|}}}{{{hit|}}}{{{crit|}}}{{{block|}}}{{{dodge|}}}{{{end|}}}
| =
|#default =
{{!}}style="text-align:left; vertical-align:top; padding: 8px;"{{!}}<span style="color:{{LoA/ColorTopaz}};">B.R.</span>
{{!}}style="text-align:left; vertical-align:top; padding: 8px;"{{!}}<span style="font-weight: bold; font-size: 200%; color:{{LoA/ColorTopaz}};">{{LoA/BRCalc
|patk={{#if: {{{patk|}}}|{{{patk}}}|0}}
|matk={{#if: {{{matk|}}}|{{{matk}}}|0}}
|pdef={{#if: {{{pdef|}}}|{{{pdef}}}|0}}
|mdef={{#if: {{{mdef|}}}|{{{mdef}}}|0}}
|hp={{#if: {{{hp|}}}|{{{hp}}}|0}}
|hit={{#if: {{{hit|}}}|{{{hit}}}|0}}
|crit={{#if: {{{crit|}}}|{{{crit}}}|0}}
|agi={{#if: {{{agi|}}}|{{{agi}}}|0}}
|iatk={{#if: {{{iatk|}}}|{{{iatk}}}|0}}
}}</span>
}}
|}
|}
|-
|-
{{#switch: {{{hp|}}}{{{agi|}}}{{{patk|}}}{{{pdef|}}}{{{matk|}}}{{{mdef|}}}{{{hit|}}}{{{crit|}}}{{{block|}}}{{{dodge|}}}{{{end|}}}{{{ice_dmg|}}}{{{ice_resist|}}}{{{fire_dmg|}}}{{{fire_resist|}}}{{{electro_dmg|}}}{{{electro_resist|}}}
| =
|#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}};">Base Attributes</span>
{{!-}}
{{#if: {{{hp|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}HP {{{hp}}}
{{!-}}}}
{{#if: {{{patk|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}PATK {{{patk}}}
{{!-}}}}
{{#if: {{{matk|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}MATK {{{matk}}}
{{!-}}}}
{{#if: {{{pdef|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}PDEF {{{pdef}}}
{{!-}}}}
{{#if: {{{mdef|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}MDEF {{{mdef}}}
{{!-}}}}
{{#if: {{{agi|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Agility {{{agi}}}
{{!-}}}}
{{#if: {{{hit|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Hit {{{hit}}}
{{!-}}}}
{{#if: {{{crit|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Crit rating {{{crit}}}
{{!-}}}}
{{#if: {{{block|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Block {{{block}}}
{{!-}}}}
{{#if: {{{dodge|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Dodge {{{dodge}}}
{{!-}}}}
{{#if: {{{end|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}END {{{end}}}
{{!-}}}}
{{#if: {{{ice_dmg|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Ice DMG{{{ice_dmg}}}
{{!-}}}}
{{#if: {{{ice_resist|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Ice RES {{{ice_resist}}}
{{!-}}}}
{{#if: {{{fire_dmg|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Fire DMG {{{fire_dmg}}}
{{!-}}}}
{{#if: {{{fire_resist|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Fire RES {{{fire_resist}}}
{{!-}}}}
{{#if: {{{electro_dmg|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Electro DMG {{{electro_dmg}}}
{{!-}}}}
{{#if: {{{electro_resist|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Electro RES {{{electro_resist}}}
{{!-}}}}
{{table-end}}
{{!-}}
}}
{{#if: {{{set_name|}}}|
{{#ifexist: LoA/SetAttributes/{{{set_name}}} | {{:LoA/SetAttributes/{{{set_name}}}}} |
{{!}}[[LoA/SetAttributes/{{{set_name}}}{{!}}Add {{{set_name}}} attributes]] }}
}}
|<hr style="margin-left: 12.5%; height: 1px; color: #1a1512; width: 75% " />
|<hr style="margin-left: 12.5%; height: 1px; color: #1a1512; width: 75% " />
|-
|-
Line 36: Line 108:
{|
{|
|-
|-
|style="text-align:left; vertical-align:top; padding-left:3px;"|<span style="font-weight: bold; color:{{LoA/ColorBrown}};">Set Attributes</span>
|style="text-align:left; vertical-align:top; padding-left:3px;"|<span style="font-weight: bold; color:{{LoA/ColorBrown}};">Description</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>
|}
|-
|<hr style="margin-left: 12.5%; height: 1px; color: #1a1512; width: 75% " />
|-
|{|
|-
|style="text-align:left; vertical-align:top; padding-left:3px;"|<span style="font-weight: bold; color:{{LoA/ColorBrown}};">Base Attributes</span>
|-
|-
|style="text-align:left; vertical-align:top; padding-left:3px;"|{{{desc}}}
|style="text-align:left; vertical-align:top; padding-left:3px;"|{{{desc}}}
|-
|-
|style="text-align:left; vertical-align:top; padding-left:3px;"|Found in: {{{obtained}}}
{{#if: {{{obtained|}}}|
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Found in: <span style="color:{{LoA/ColorEmerald}};">{{{obtained}}}</span>
{{!-}}
}}
{{#if: {{{bling|}}}|
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}<span style="color: #cc6633;">Bonuses from different bling items stack</span>
{{!-}}
}}
|}
|}
|-
|-
Line 72: Line 125:
|-
|-
|style="text-align:left; vertical-align:top; padding-left:3px;"|Price: {{{price}}}
|style="text-align:left; vertical-align:top; padding-left:3px;"|Price: {{{price}}}
|-
|style="text-align:left; vertical-align:top; padding-left:3px;"|Limit: {{{limit}}}
|style="text-align:left; vertical-align:top; padding-left:3px;"|Limit: {{{limit}}}
|}
|}
{{#if: {{{max_enhance|}}}|
<div style="width: {{#expr: (({{{max_enhance}}}+15)*10)+75}}px;">
}}
{{#ifexpr: {{{max_enhance|0}}}=5 |
<tabber>
"Level 0-5"=
[[{{PAGENAME}}/0-5|Edit this table]]<br />
{{:{{PAGENAME}}/0-5}}
</tabber>
}}
{{#ifexpr: {{{max_enhance|0}}}=20 |
<tabber>
"Level 0-10"=
[[{{PAGENAME}}/0-10|Edit this table]]<br />
{{:{{PAGENAME}}/0-10}}
|-|
"Level 11-20"=
[[{{PAGENAME}}/11-20|Edit this table]]<br />
{{:{{PAGENAME}}/11-20}}
</tabber>
}}
{{#ifexpr: {{{max_enhance|0}}}=50 |
<tabber>
"Level 0-10"=
[[{{PAGENAME}}/0-10|Edit this table]]<br />
{{:{{PAGENAME}}/0-10}}
|-|
"Level 11-20"=
[[{{PAGENAME}}/11-20|Edit this table]]<br />
{{:{{PAGENAME}}/11-20}}
|-|
"Level 21-30"=
[[{{PAGENAME}}/21-30|Edit this table]]<br />
{{:{{PAGENAME}}/21-30}}
|-|
"Level 31-40"=
[[{{PAGENAME}}/31-40|Edit this table]]<br />
{{:{{PAGENAME}}/31-40}}
|-|
"Level 41-50"=
[[{{PAGENAME}}/41-50|Edit this table]]<br />
{{:{{PAGENAME}}/41-50}}
</tabber>
}}
{{#ifexpr: {{{max_enhance|0}}}=60 |
<tabber>
"Level 0-10"=
[[{{PAGENAME}}/0-10|Edit this table]]<br />
{{:{{PAGENAME}}/0-10}}
|-|
"Level 11-20"=
[[{{PAGENAME}}/11-20|Edit this table]]<br />
{{:{{PAGENAME}}/11-20}}
|-|
"Level 21-30"=
[[{{PAGENAME}}/21-30|Edit this table]]<br />
{{:{{PAGENAME}}/21-30}}
|-|
"Level 31-40"=
[[{{PAGENAME}}/31-40|Edit this table]]<br />
{{:{{PAGENAME}}/31-40}}
|-|
"Level 41-50"=
[[{{PAGENAME}}/41-50|Edit this table]]<br />
{{:{{PAGENAME}}/41-50}}
|-|
"Level 51-60"=
[[{{PAGENAME}}/51-60|Edit this table]]<br />
{{:{{PAGENAME}}/51-60}}
</tabber>
}}
{{#ifexpr: {{{max_enhance|0}}}=70 |
<tabber>
"Level 0-10"=
[[{{PAGENAME}}/0-10|Edit this table]]<br />
{{:{{PAGENAME}}/0-10}}
|-|
"Level 11-20"=
[[{{PAGENAME}}/11-20|Edit this table]]<br />
{{:{{PAGENAME}}/11-20}}
|-|
"Level 21-30"=
[[{{PAGENAME}}/21-30|Edit this table]]<br />
{{:{{PAGENAME}}/21-30}}
|-|
"Level 31-40"=
[[{{PAGENAME}}/31-40|Edit this table]]<br />
{{:{{PAGENAME}}/31-40}}
|-|
"Level 41-50"=
[[{{PAGENAME}}/41-50|Edit this table]]<br />
{{:{{PAGENAME}}/41-50}}
|-|
"Level 51-60"=
[[{{PAGENAME}}/51-60|Edit this table]]<br />
{{:{{PAGENAME}}/51-60}}
|-|
"Level 61-70"=
[[{{PAGENAME}}/61-70|Edit this table]]<br />
{{:{{PAGENAME}}/61-70}}
</tabber>
}}
{{#ifexpr: {{{max_enhance|0}}}=80 |
<tabber>
"Level 0-10"=
[[{{PAGENAME}}/0-10|Edit this table]]<br />
{{:{{PAGENAME}}/0-10}}
|-|
"Level 11-20"=
[[{{PAGENAME}}/11-20|Edit this table]]<br />
{{:{{PAGENAME}}/11-20}}
|-|
"Level 21-30"=
[[{{PAGENAME}}/21-30|Edit this table]]<br />
{{:{{PAGENAME}}/21-30}}
|-|
"Level 31-40"=
[[{{PAGENAME}}/31-40|Edit this table]]<br />
{{:{{PAGENAME}}/31-40}}
|-|
"Level 41-50"=
[[{{PAGENAME}}/41-50|Edit this table]]<br />
{{:{{PAGENAME}}/41-50}}
|-|
"Level 51-60"=
[[{{PAGENAME}}/51-60|Edit this table]]<br />
{{:{{PAGENAME}}/51-60}}
|-|
"Level 61-70"=
[[{{PAGENAME}}/61-70|Edit this table]]<br />
{{:{{PAGENAME}}/61-70}}
|-|
"Level 71-80"=
[[{{PAGENAME}}/71-80|Edit this table]]<br />
{{:{{PAGENAME}}/71-80}}
</tabber>
}}
{{#if: {{{max_enhance|}}}|
</div>
}}
<noinclude>
<noinclude>
<pre>
<pre>
Variables list:


name - name of item
Required variables:
color - color of item, Emerald, Opal, Garnet, Topaz, Ruby. (note: current theory is birthstones)
name - (optional override) name of item
color - color of item, Emerald, Opal, Garnet, Topaz, Ruby, Gold
image - (optional override) 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
equip_DR_level - level for divine realm equipment
req_level - level requirement for non-equipment
 
Equipment specific variables:
max_enhance - maximum level item can be enhanced
max_enhance - maximum level item can be enhanced
image - name of image (default is "LoA name.png").  image should not include LoA in its name.
max_gems - maximum number of gems
base_hp - base hp amount
fuse_gems - maximum number of upgradable sockets
set_name - name of the Set e.g. Peerless
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
Stats variables:
set_bonus_6 - bonus for 6 worn pieces of same set
hp - item base hp value
set_item1 - First item in the set (Left column 1)
agi - item base agility value
set_item2 - Second item in the set (Left column 2)
patk - item base patk value
set_item3 - Third item in the set (Left column 3)
pdef - item base pdef value
set_item4 - Fourth item in the set (Right column 1)
matk - item base matk value
set_item5 - Fifth item in the set (Right column 2)
mdef - item base mdef value
set_item6 - Sixth item in the set (Right column 3)
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
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 08:55, 4 February 2018

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

Description
{{{desc}}}

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


- - - - -



Required variables:
name - (optional override) name of item
color - color of item, Emerald, Opal, Garnet, Topaz, Ruby, Gold
image - (optional override) 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
equip_DR_level - level for divine realm 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
fuse_gems - maximum number of upgradable sockets
set_name - name of the Set e.g. Peerless

Stats variables:
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