Template:LotS/SMWItemTableDome: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
  |?pvpDefense
  |?pvpDefense
  |?pvpHealth
  |?pvpHealth
|?defense
|{{#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}}  }}
|?defense
 
|?defense
|{{#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}}  }}
|?defense
 
|?defense
|{{#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}} }}
|?defense
 
|{{#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

Revision as of 01:45, 29 August 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}}