Template:LotS Item: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
(Fix did removed code from pages, but added error signs. Noinclude reinstated)
No edit summary
 
(12 intermediate revisions by 3 users not shown)
Line 4: Line 4:
{|  style="width:50%;color:white; background:#000000; border:5px solid #2F4F4F; vertical-align:top; -moz-border-radius:0.5em; padding:0px;"
{|  style="width:50%;color:white; background:#000000; border:5px solid #2F4F4F; vertical-align:top; -moz-border-radius:0.5em; padding:0px;"
|-
|-
|style="text-align:left; vertical-align:top; padding-left:3px;"| <span style="color:{{LotS/Color{{{color}}}}};"> '''[[[name::{{{name}}}]]''' </span>
|style="text-align:left; vertical-align:top; padding-left:3px;"| <span style="color:{{LotS/Color{{{color}}}}};"> '''[[name::{{{name}}}]]''' </span>
|style="text-align:right; text-transform:uppercase; padding-right:3px;"|{{Nowrap|'''{{LotS/Type|[[type::{{{type}}}]]}}'''}}
|style="text-align:right; text-transform:uppercase; padding-right:3px;"|{{Nowrap|'''{{LotS/Type|[[type::{{{type}}}]]}}'''}}
|-
|-
Line 36: Line 36:
|-
|-
|colspan="2" align="left" style="padding-left:3px; padding-right:3px;"|{{#if: {{{procRate| }}} |'''Proc Rate'''
|colspan="2" align="left" style="padding-left:3px; padding-right:3px;"|{{#if: {{{procRate| }}} |'''Proc Rate'''
[[procRate::{{{procRate}}}]] }}
[[procRate::{{{procRate}}}]]'''%''' }}
|-
|-
|colspan="2" align="left" style="padding-left:3px; padding-right:3px;"|{{#if: {{{procDmgMin| }}} |'''Proc Damage (minimum)'''
|colspan="2" align="left" style="padding-left:3px; padding-right:3px;"|{{#if: {{{procDmgMin| }}} |'''Proc Damage (minimum)'''
[[procDmgMin::{{{procDmgMin}}}]] }}
[[procDmgMin::{{{procDmgMin}}}]] }}
|-
|-
|colspan="2" align="left" style="padding-left:3px; padding-right:3px;"|{{#if: {{{procDmgMin| }}} |'''Proc Damage (cap)'''
|colspan="2" align="left" style="padding-left:3px; padding-right:3px;"|{{#if: {{{procDmgCap| }}} |'''Proc Damage (cap)'''
[[procDmgCap::{{{procDmgCap}}}]] }}
[[procDmgCap::{{{procDmgCap}}}]] }}
|-
|-
Line 52: Line 52:
{{#ifeq:{{{type}}}|Crew|{{#set:sp={{#expr:{{{attack}}} * 1.44 + {{{defense}}} * .36}}}}|}}
{{#ifeq:{{{type}}}|Crew|{{#set:sp={{#expr:{{{attack}}} * 1.44 + {{{defense}}} * .36}}}}|}}
{{#ifeq:{{{type}}}|Engineering|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}}
{{#ifeq:{{{type}}}|Engineering|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}}
{{#set:statdps={{#expr: {{{attack}}} * 4 + {{{defense}}}}}}}
{{#set:statdps={{#expr: {{{attack}}} * 4 + {{{defense}}} }} }}
{{#set:minprocdps={{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{{procDmgMin}}} }} |0}} }}
{{#set:minprocdps={{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{{procDmgMin}}} }} |0}} }}
{{#set:maxprocdps={{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{#if: {{{procDmgCap|}}} | {{{procDmgCap}}} | {{{procDmgMin}}} }} }} |0}} }}
{{#set:maxprocdps={{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{#if: {{{procDmgCap|}}} | {{{procDmgCap}}} | {{{procDmgMin}}} }} }} |0}} }}
Line 58: Line 58:
{{#set:totalmaxprocdps={{#expr: {{{attack}}} * 4 + {{{defense}}} + {{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{#if: {{{procDmgCap|}}} | {{{procDmgCap}}} | {{{procDmgMin}}} }} }} |0}} }} }}
{{#set:totalmaxprocdps={{#expr: {{{attack}}} * 4 + {{{defense}}} + {{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{#if: {{{procDmgCap|}}} | {{{procDmgCap}}} | {{{procDmgMin}}} }} }} |0}} }} }}
|}}
|}}
{{#set:stamina={{{stamina|0}}}}}
{{#set:stamina={{{stamina|0}}} }}
{{#set:energy={{{energy|0}}}}}
{{#set:energy={{{energy|0}}} }}
{{#set:honor={{{honor|0}}}}}
{{#set:honor={{{honor|0}}} }}
{{#set:pvp={{{pvp|0}}}}}
{{#set:pvp={{{pvp|0}}} }}
{{#set:pvpattack={{{pvpattack|0}}}}}
{{#set:pvpattack={{{pvpattack|0}}} }}
{{#set:pvpdefense={{{pvpdefense|0}}}}}
{{#set:pvpdefense={{{pvpdefense|0}}} }}
{{#set:health={{{health|0}}}}}
{{#set:health={{{health|0}}} }}
<noinclude>{{#set:avattack={{#expr: {{{attack}}} + {{{defense}}} * 0.25 + {{#if {{{pvp}}} | {{{pvp}}} | 0}} }} }}
<noinclude>{{#set:avattack={{#expr: {{{attack}}} + {{{defense}}} * 0.25 + {{#if {{{pvp|}}} | {{{pvp}}} | 0}} }}| }}
{{#set:avdefense={{#expr: {{{attack}}} * 0.25 + {{{defense}}} + {{#if {{{pvp}}} | {{{pvp}}} | 0 }} }} }}
{{#set:avdefense={{#expr: {{{attack}}} * 0.25 + {{{defense}}} + {{#if {{{pvp|}}} | {{{pvp}}} | 0 }} }}| }}
{{#set:melee={{#expr: {{{attack}}} * 0.3 + {{{defense}}} + {{#if {{{pvp}}} | {{{pvp}}} | 0 }} }} }}  
{{#set:melee={{#expr: {{{attack}}} * 0.3 + {{{defense}}} + {{#if {{{pvp|}}} | {{{pvp}}} | 0 }} }}| }}  
{{#set:tank={{#expr: {{{attack}}} * 0.5 + {{{defense}}} * 0.8 + {{#if {{{pvp}}} | {{{pvp}}} | 0 }} }} }}
{{#set:tank={{#expr: {{{attack}}} * 0.5 + {{{defense}}} * 0.8 + {{#if {{{pvp|}}} | {{{pvp}}} | 0 }} }}| }}
{{#set:ranged={{#expr: {{{attack}}} * 0.8 + {{{defense}}} * 0.5 + {{#if {{{pvp}}} | {{{pvp}}} | 0 }} }} }}
{{#set:ranged={{#expr: {{{attack}}} * 0.8 + {{{defense}}} * 0.5 + {{#if {{{pvp|}}} | {{{pvp}}} | 0 }} }}| }}
{{#set:healer={{#expr: {{{attack}}} * 0.2 + {{{defense}}} * 1.1 + {{#if {{{pvp}}} | {{{pvp}}} | 0 }} }} }}</noinclude>
{{#set:healer={{#expr: {{{attack}}} * 0.2 + {{{defense}}} * 1.1 + {{#if {{{pvp|}}} | {{{pvp}}} | 0 }} }}| }} </noinclude>
{{#set:color={{{color|}}}}}
{{#set:color={{{color|}}}}}
{{#set:ability={{{ability|}}}}}
{{#set:ability={{{ability|}}}}}

Latest revision as of 19:11, 20 January 2016

Item Navigation
Main Hand | Off Hand | Helmet | Chest | Gloves | Pants | Boots | Trinkets | Utilities | Fusion
Tactics | Consumables | Ships | Officers | Crew | Sidekicks | Engineering | Best Items | Home


[[name::{{{name}}}]] [[:Category:LotS/[[type::{{{type}}}]]|[[type::{{{type}}}]]]]
[[File:LotS_{{{name}}}.png|{{{name}}}]]