Template:Function uma

Revision as of 23:23, 17 January 2015 by KyuuAA (talk | contribs) (Created page with "{{#expr:(({{{raw score|25000}}} + {{{oka|5000}}} - ({{{target points|30000}}} - {{{start points|25000}}}))/1000) + {{{uma|0}}}}} <noinclude>{{documentation}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

25

Documentation icon Template documentation[view] [edit] [history] [purge]
{{function uma
|rawscore  = 
|targetpts = 30000
|oka       = 
|uma       = 
|round     = yes
}}

result = (((rawscore + oka - (targetpts - startpts))/1000) + uma

Defaults

  • rawscore = 25000
  • oka = 5000
  • targetpts = 30000; for this line, always include a value as the expression produces an error when empty. Change the target value if needed.
  • uma = 0
  • round = yes. If the end score values retain one decimal place, then leave blank.