Template:LotS Item: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
(Add Stamina, Energy, and Honor to the template's SMW properties)
No edit summary
 
(27 intermediate revisions by 8 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 47: Line 47:
{{{notes}}} }}
{{{notes}}} }}
|}
|}
 
<includeonly>{{#if: {{{obtained| }}}||[[Category:LotS/Unknown Drop Location]]}}</includeonly><includeonly>{{#if: {{{hideCategory| }}}||[[Category:LotS/Item]][[Category:LotS/{{{type}}}]]}}</includeonly><includeonly>
<includeonly>{{#if: {{{obtained| }}}||[[Category:LotS/Unknown Drop Location]]}}</includeonly>
{{#if:{{{attack|}}}|
 
{{#ifeq:{{{type}}}|Officer|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}}
<includeonly>{{#if: {{{hideCategory| }}}||[[Category:LotS/Item]][[Category:LotS/{{{type}}}]]}}</includeonly>
{{#ifeq:{{{type}}}|Crew|{{#set:sp={{#expr:{{{attack}}} * 1.44 + {{{defense}}} * .36}}}}|}}
 
{{#ifeq:{{{type}}}|Engineering|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}}
<includeonly>
{{#set:statdps={{#expr: {{{attack}}} * 4 + {{{defense}}} }} }}
{{#if:{{{attack|}}}|{{#ifeq:{{{type}}}|Officer|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}}|}}
{{#if:{{{attack|}}}|{{#ifeq:{{{type}}}|Crew|{{#set:sp={{#expr:{{{attack}}} * 1.44 + {{{defense}}} * .36}}}}|}}|}}
{{#if:{{{attack|}}}|{{#ifeq:{{{type}}}|Engineering|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}}|}}
 
{{#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}} }}
{{#set:totalminprocdps={{#expr: {{{attack}}} * 4 + {{{defense}}} + {{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{{procDmgMin}}} }} |0}} }} }}
{{#set:totalminprocdps={{#expr: {{{attack}}} * 4 + {{{defense}}} + {{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{{procDmgMin}}} }} |0}} }} }}
{{#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|}}}}}
|}}
{{#set:energy={{{energy|}}}}}
{{#set:stamina={{{stamina|0}}} }}
{{#set:honor={{{honor|}}}}}
{{#set:energy={{{energy|0}}} }}
{{#set:honor={{{honor|0}}} }}
{{#set:pvp={{{pvp|0}}} }}
{{#set:pvpattack={{{pvpattack|0}}} }}
{{#set:pvpdefense={{{pvpdefense|0}}} }}
{{#set:health={{{health|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:melee={{#expr: {{{attack}}} * 0.3 + {{{defense}}} + {{#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: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|}}}}}
Line 71: Line 77:
{{#set:used={{{used|}}}}}
{{#set:used={{{used|}}}}}
{{#set:notes={{{notes|}}}}}
{{#set:notes={{{notes|}}}}}
{{#set:unique={{{unique|}}}}}
{{#set:unique={{{unique|}}}}}</includeonly>
</includeonly>

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}}}]]