Template:LoA/Item: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(94 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| style="width: | {| 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"|[[Image:LoA {{{image}}}]] | |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;" | {{#if: {{{class|}}}| | ||
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Class: {{{class}}} | |||
{{!-}} | |||
}} | |||
{{#if: {{{equip_level|}}}| | |||
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Equip Lvl.: {{{equip_level}}} | |||
{{!-}} | |||
}} | |||
{{#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;"{{!}}Requires Lvl.: {{{req_level}}} | |||
{{!-}} | |||
}} | |||
{{#if: {{{max_gems|}}}| | |||
{{!}}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% " /> | |||
|- | |||
| | |||
{| | |||
|- | |- | ||
|style="text-align:left; vertical-align:top; padding-left:3px;"| | |style="text-align:left; vertical-align:top; padding-left:3px;"|<span style="font-weight: bold; color:{{LoA/ColorBrown}};">Description</span> | ||
|- | |- | ||
|style="text-align:left; vertical-align:top; padding: | |style="text-align:left; vertical-align:top; padding-left:3px;"|{{{desc}}} | ||
|style="text-align:left; vertical-align:top; padding: | |- | ||
{{#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> | |||
{{!-}} | |||
}} | |||
|} | |} | ||
|- | |- | ||
| | |<hr style="margin-left: 12.5%; height: 1px; color: #1a1512; width: 75% " /> | ||
|- | |||
|style="text-align:left; vertical-align:top; padding-left:3px;"|Price: {{{price}}} | |||
|- | |||
|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> | ||
name - name of item | Required variables: | ||
color - color of item, Emerald, Opal, Garnet, Topaz, Ruby | 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 | ||
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 | |||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Latest revision as of 08:55, 4 February 2018
Item | ||
| ||
| ||
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