Difference between revisions of "Template:User-stats"

374 bytes added ,  05:23, 10 February 2012
no edit summary
Line 1: Line 1:
{{#vardefine: ec |  {{Special:Editcount/{{{name}}}}} }}{{#vardefine: level | {{#expr: floor({{#var: ec }} / 100) }} }}{{user-class|{{{class}}}}}{{user-equip|{{{equip}}}}}{{user-bonus|{{{bonus}}}}}{{#vardefine: hp | {{user-stats-calc|{{#var: class_hp}}|{{#var: level}}|{{#var: equip_hp}}|{{#var: bonus_hp}}}} }}{{#vardefine: mp | {{user-stats-calc|{{#var: class_mp}}|{{#var: level}}|{{#var: equip_mp}}|{{#var: bonus_mp}}}} }}{{#vardefine: atk | {{user-stats-calc|{{#var: class_atk}}|{{#var: level}}|{{#var: equip_atk }}|{{#var: bonus_atk}}}} }}{{#vardefine: def | {{user-stats-calc|{{#var: class_def}}|{{#var: level}}|{{#var: equip_def}}|{{#var: bonus_def}}}}}}{{#vardefine: spd | {{user-stats-calc|{{#var: class_spd}}|{{#var: level}}|{{#var: equip_spd }}|{{#var: bonus_spd}}}} }}{{#vardefine: int | {{user-stats-calc|{{#var: class_int}}|{{#var: level}}|{{#var: equip_int}}|{{#var: bonus_int}}}} }}
{{#vardefine: ec |  {{Special:Editcount/Bud0011}} }}{{#vardefine: level | {{#expr: floor({{#var: ec }} / 100.0) }} }}{{user-class|{{{class}}}}}{{user-equip|{{{equip}}}}}{{user-bonus|{{{bonus}}}}}{{#vardefine: hp | {{user-stats-calc|{{#var: class_hp}}|{{#var: level}}|{{#var: equip_hp}}|{{#var: bonus_hp}}}} }}{{#vardefine: mp | {{user-stats-calc|{{#var: class_mp}}|{{#var: level}}|{{#var: equip_mp}}|{{#var: bonus_mp}}}} }}{{#vardefine: atk | {{user-stats-calc|{{#var: class_atk}}|{{#var: level}}|{{#var: equip_atk }}|{{#var: bonus_atk}}}} }}{{#vardefine: def | {{user-stats-calc|{{#var: class_def}}|{{#var: level}}|{{#var: equip_def}}|{{#var: bonus_def}}}}}}{{#vardefine: spd | {{user-stats-calc|{{#var: class_spd}}|{{#var: level}}|{{#var: equip_spd }}|{{#var: bonus_spd}}}} }}{{#vardefine: int | {{user-stats-calc|{{#var: class_int}}|{{#var: level}}|{{#var: equip_int}}|{{#var: bonus_int}}}} }}
 
<noinclude>
test numbers
* {{#var: ec}}
* {{#var: level}}
* {{#var: hp}}
* {{#var: mp}}
* {{#var: atk}}
* {{#var: def}}
* {{#var: spd}}
* {{#var: int}}
 
* {{:Special:Editcount/Bud0011}}
* {{#expr: {{:Special:Editcount/Bud0011}} div 100.0}}
* {{#expr:floor({{#var:ec}} div 100.0)}}
 
{{#vardefine: level2 |{{#expr:floor({{#var:ec}}/100.0)}}}}
 
* {{#var: level2}}
</noinclude>
1,205

edits