Welcome to Square Enix Wiki! Be sure to check out our To-Do List to see what work we need done!

Difference between revisions of "Template:User-stats"

From Square Enix Wiki, the Fan-wiki for all things Square Enix
Jump to navigationJump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine: ec | 100 }}
{{#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>
{{#vardefine: level | {{#expr: floor({{#var: ec }} / 100) }} }}
test numbers
{{user-class|{{{class}}}}}
# {{#var: ec}}
{{user-equip|{{{equip}}}}}
# {{#var: level}}
{{user-bonus|{{{bonus}}}}}
# {{#var: hp}}
# {{#var: mp}}
# {{#var: atk}}
# {{#var: def}}
# {{#var: spd}}
# {{#var: int}}


{{user-stats-calc|{{#var: class_atk}}|{{#var: level}}|{{#var: equip_atk}}|{{#var: bonus_atk}}}}
# {{: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>

Latest revision as of 02:38, 11 February 2012

test numbers

  1. Expression error: Unrecognized punctuation character "".
  2. Expression error: Unexpected < operator.
  3. Expression error: Unexpected < operator.
  4. Expression error: Unexpected < operator.
  5. Expression error: Unexpected < operator.
  6. Expression error: Unexpected < operator.
  7. Expression error: Unexpected < operator.
  1. Expression error: Unrecognized punctuation character "".
  2. Expression error: Unrecognized punctuation character "".
  1. Expression error: Unrecognized punctuation character "".