Template:LotS/ItemSetTotals: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
No edit summary
(Optimized with variables and SMW properties)
Line 1: Line 1:
{{#if: {{{1|}}}|
[[attack::{{#vardefineecho:attack|{{LotS/ItemSetStat|{{{1}}}|attack}}}}]]
[[defense::{{#vardefineecho:defense|{{LotS/ItemSetStat|{{{1}}}|defense}}}}]]
[[minproc::{{#vardefineecho:minproc|{{LotS/ItemSetStat|{{{1}}}|minproc}}}}]]
[[maxproc::{{#vardefineecho:maxproc|{{LotS/ItemSetStat|{{{1}}}|maxproc}}}}]]
[[procrate::{{#vardefineecho:procrate|{{LotS/ItemSetStat|{{{1}}}|procrate}}}}]]
[[health::{{#vardefineecho:health|{{LotS/ItemSetStat|{{{1}}}|health}}}}]]
[[pvp::{{#vardefineecho:pvp|{{LotS/ItemSetStat|{{{1}}}|pvp}}}}]]
[[stamina::{{#vardefineecho:stamina|{{LotS/ItemSetStat|{{{1}}}|stamina}}}}]]
[[energy::{{#vardefineecho:energy|{{LotS/ItemSetStat|{{{1}}}|energy}}}}]]
[[honor::{{#vardefineecho:honor|{{LotS/ItemSetStat|{{{1}}}|honor}}}}]]
|}}
{| style="border-spacing: 15px; color: white; background-color: black; padding: 5px 20px"
{| style="border-spacing: 15px; color: white; background-color: black; padding: 5px 20px"
|-
|-
Line 4: Line 16:
|-
|-
| style="color: yellow;" | '''Attack'''  
| style="color: yellow;" | '''Attack'''  
| {{#if: {{{1|}}}|{{#if:{{LotS/ItemSetStat|{{{1}}}|attack}} > 0 | + {{LotS/ItemSetStat|{{{1}}}|attack}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
| {{#if: {{{1|}}}|{{#if:{{#var:attack}} > 0 | + {{#var:attack}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
|-
|-
| style="color: yellow;" | '''Defense'''  
| style="color: yellow;" | '''Defense'''  
| {{#if: {{{1|}}}|{{#if:{{LotS/ItemSetStat|{{{1}}}|defense}} > 0 | + {{LotS/ItemSetStat|{{{1}}}|defense}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
| {{#if: {{{1|}}}|{{#if:{{#var:defense}} > 0 | + {{#var:defense}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
|-
|-
| style="color: yellow;" | '''Min Proc'''  
| style="color: yellow;" | '''Min Proc'''  
| {{#if: {{{1|}}}|{{#if:{{{{LotS/ItemSetStat|{{{1}}}|minproc}} > 0 && {{LotS/ItemSetStat|{{{1}}}|procRate}} > 0}}| +  {{LotS/ItemSetStat|{{{1}}}|minproc}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
| {{#if: {{{1|}}}|{{#if:{{{{#var:minproc}} > 0 && {{#var:procRate}} > 0}}| +  {{#var:minproc}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
|-
|-
| style="color: yellow;" | '''Max Proc'''  
| style="color: yellow;" | '''Max Proc'''  
| {{#if: {{{1|}}}|{{#if:{{{{LotS/ItemSetStat|{{{1}}}|maxproc}} > 0 && {{LotS/ItemSetStat|{{{1}}}|procRate}} > 0}} | + {{LotS/ItemSetStat|{{{1}}}|maxproc}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
| {{#if: {{{1|}}}|{{#if:{{{{#var:maxproc}} > 0 && {{#var:procRate}} > 0}} | + {{#var:maxproc}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
|-
|-
|  style="color: red;" | '''Health'''  
|  style="color: red;" | '''Health'''  
| {{#if: {{{1|}}}|{{#if:{{LotS/ItemSetStat|{{{1}}}|health}} > 0 | + {{LotS/ItemSetStat|{{{1}}}|health}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
| {{#if: {{{1|}}}|{{#if:{{#var:health}} > 0 | + {{#var:health}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
|-
|-
| '''PvP Power'''
| '''PvP Power'''
| {{#if: {{{1|}}}|{{#if:{{LotS/ItemSetStat|{{{1}}}|pvp}} > 0 | + {{LotS/ItemSetStat|{{{1}}}|pvp}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
| {{#if: {{{1|}}}|{{#if:{{#var:pvp}} > 0 | + {{#var:pvp}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
|-
|-
| <span style="color: {{LotS/ColorOrange}};">'''Stamina'''</span>
| <span style="color: {{LotS/ColorOrange}};">'''Stamina'''</span>
| {{#if: {{{1|}}}|{{#if:{{LotS/ItemSetStat|{{{1}}}|stamina}} > 0 | + {{LotS/ItemSetStat|{{{1}}}|stamina}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
| {{#if: {{{1|}}}|{{#if:{{#var:stamina}} > 0 | + {{#var:stamina}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
|-
|-
| <span style="color: {{LotS/ColorGreen}};">'''Energy'''</span>
| <span style="color: {{LotS/ColorGreen}};">'''Energy'''</span>
| {{#if: {{{1|}}}|{{#if:{{LotS/ItemSetStat|{{{1}}}|energy}} > 0 | + {{LotS/ItemSetStat|{{{1}}}|energy}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
| {{#if: {{{1|}}}|{{#if:{{#var:energy}} > 0 | + {{#var:energy}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
|-
|-
| <span style="color: {{LotS/ColorViolet}};">'''Honor'''</span>
| <span style="color: {{LotS/ColorViolet}};">'''Honor'''</span>
| {{#if: {{{1|}}}|{{#if:{{User:Doomcat/LotS|{{{1}}}|honor}} > 0 | + {{LotS/ItemSetStat|{{{1}}}|honor}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
| {{#if: {{{1|}}}|{{#if:{{#var:honor}} > 0 | + {{#var:honor}}|None}}|<span style="color: red">Please specify an Item Set page</span>|}}
|}
|}

Revision as of 20:18, 6 April 2015

Set Totals

Attack Please specify an Item Set page
Defense Please specify an Item Set page
Min Proc Please specify an Item Set page
Max Proc Please specify an Item Set page
Health Please specify an Item Set page
PvP Power Please specify an Item Set page
Stamina Please specify an Item Set page
Energy Please specify an Item Set page
Honor Please specify an Item Set page