Template:LoA/Item: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(78 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"|{{#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}}} | ||
Line 17: | Line 17: | ||
{{#if: {{{equip_level|}}}| | {{#if: {{{equip_level|}}}| | ||
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Equip Lvl.: {{{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|}}}| | {{#if: {{{req_level|}}}| | ||
{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}} | {{!}}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="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}};">{{{ | {{!}}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> | |||
}} | }} | ||
|} | |} | ||
Line 40: | Line 64: | ||
{{#if: {{{hp|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}HP {{{hp}}} | {{#if: {{{hp|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}HP {{{hp}}} | ||
{{!-}}}} | {{!-}}}} | ||
{{#if: {{{ | {{#if: {{{patk|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}PATK {{{patk}}} | ||
{{!-}}}} | {{!-}}}} | ||
{{#if: {{{ | {{#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: {{{pdef|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}PDEF {{{pdef}}} | ||
{{!-}}}} | {{!-}}}} | ||
{{#if: {{{ | {{#if: {{{mdef|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}MDEF {{{mdef}}} | ||
{{!-}}}} | {{!-}}}} | ||
{{#if: {{{ | {{#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: {{{hit|}}}|{{!}}style="text-align:left; vertical-align:top; padding-left:3px;"{{!}}Hit {{{hit}}} | ||
Line 74: | Line 98: | ||
{{table-end}} | {{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 80: | Line 108: | ||
{| | {| | ||
|- | |- | ||
|style="text-align:left; vertical-align:top; padding-left:3px;"|<span style="font-weight: bold; color:{{LoA/ColorBrown}};"> | |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-left:3px;"|{{{desc}}} | |style="text-align:left; vertical-align:top; padding-left:3px;"|{{{desc}}} | ||
|- | |- | ||
|style="text-align:left; vertical-align:top; padding-left:3px;" | {{#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 120: | Line 128: | ||
|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> | ||
Required variables: | Required variables: | ||
name - name of item | name - (optional override) name of item | ||
color - color of item, Emerald, Opal, Garnet, Topaz, Ruby | color - color of item, Emerald, Opal, Garnet, Topaz, Ruby, Gold | ||
image - name of image (default is "LoA name.png"). image should not include LoA in its name. | image - (optional override) name of image (default is "LoA name.png"). image should not include LoA in its name. | ||
desc - item description | desc - item description | ||
obtained - obtained text | obtained - obtained text | ||
Line 134: | Line 284: | ||
Level variables: | Level variables: | ||
equip_level - level for equipment | equip_level - level for equipment | ||
equip_DR_level - level for divine realm equipment | |||
req_level - level requirement for non-equipment | req_level - level requirement for non-equipment | ||
Equipment specific variables: | 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 | set_name - name of the Set e.g. Peerless | ||
Stats variables: | Stats variables: | ||
hp - item base hp value | hp - item base hp value | ||
agi - item base agility value | agi - item base agility value |
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