Template:LotS/SMWItemTableDome: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
No edit summary
No edit summary
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#ask: [[Category:LotS/{{{1}}}]]
<includeonly>{{#ask: [[Category:LotS/{{{1}}}]]
|-style="color: #FFFFFF; background: #1C1C1C;" cellpadding="3" align="center" valign="middle"
  |?name
  |?name
  |?color
  |?color
Line 11: Line 10:
  |?pvpDefense
  |?pvpDefense
  |?pvpHealth
  |?pvpHealth
  |?avattack
|{{#expr: {{#varpull:LotS/{{{1}}}|LotS Item|attack}} + {{#varpull:LotS/{{{1}}}|LotS Item|defense}} * .25 + {{#if: {{#varpull:LotS/{{{1}}}|LotS Item|pvp}} | {{#varpull:LotS/{{{1}}}|LotS Item|pvp}} |0}} }}
|?avdefense
 
  |?tank
|{{#expr: {{#varpull:LotS/{{{1}}}|LotS Item|attack}} *.25 + {{#varpull:LotS/{{{1}}}|LotS Item|defense}} + {{#if: {{#varpull:LotS/{{{1}}}|LotS Item|pvp}} | {{#varpull:LotS/{{{1}}}|LotS Item|pvp}} |0}}  }}
|?ranger
 
|?melee
|{{#expr: {{#varpull:LotS/{{{1}}}|LotS Item|attack}} *.3 + {{#varpull:LotS/{{{1}}}|LotS Item|defense}} + {{#if: {{#varpull:LotS/{{{1}}}|LotS Item|pvp}} | {{#varpull:LotS/{{{1}}}|LotS Item|pvp}} |0}} }}
  |?healer
 
|{{#expr: {{#varpull:LotS/{{{1}}}|LotS Item|attack}} *.5 + {{#varpull:LotS/{{{1}}}|LotS Item|defense}} * .8 + {{#if: {{#varpull:LotS/{{{1}}}|LotS Item|pvp}} | {{#varpull:LotS/{{{1}}}|LotS Item|pvp}} |0}} }}
 
|{{#expr: {{#varpull:LotS/{{{1}}}|LotS Item|attack}} *.8 + {{#varpull:LotS/{{{1}}}|LotS Item|defense}} * .5 + {{#if: {{#varpull:LotS/{{{1}}}|LotS Item|pvp}} | {{#varpull:LotS/{{{1}}}|LotS Item|pvp}} |0}}  }}
 
|{{#expr: {{#varpull:LotS/{{{1}}}|LotS Item|attack}} *.2 + {{#varpull:LotS/{{{1}}}|LotS Item|defense}} * 1.2 + {{#if: {{#varpull:LotS/{{{1}}}|LotS Item|pvp}} | {{#varpull:LotS/{{{1}}}|LotS Item|pvp}} |0}} }}
  |limit=1000
  |limit=1000
  |format=template
  |format=template

Latest revision as of 00:39, 1 September 2015

Used to create a complete table of items from a category, pass in the category as the first unnamed parameter, like {{LotS/SMWItemTable|Pants}}