Template:Uma compare: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 8: Line 8:
| {{{score2|25000}}} ||align=center| {{#expr:{{{score2|25000}}} round -3}} ||align=center| {{#expr:({{{score2|25000}}} round -3)/1000}} ||align=center| {{function uma|rawscore  = {{{score2|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma2|10}}}|round    = yes}} || '''{{#expr:{{function uma|rawscore  = {{{score2|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma2|10}}}|round    = yes}} - {{#expr:({{{score2|25000}}} round -3)/1000}}}}'''
| {{{score2|25000}}} ||align=center| {{#expr:{{{score2|25000}}} round -3}} ||align=center| {{#expr:({{{score2|25000}}} round -3)/1000}} ||align=center| {{function uma|rawscore  = {{{score2|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma2|10}}}|round    = yes}} || '''{{#expr:{{function uma|rawscore  = {{{score2|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma2|10}}}|round    = yes}} - {{#expr:({{{score2|25000}}} round -3)/1000}}}}'''
|-align=center
|-align=center
| {{{score3|25000}}} ||align=center| {{#expr:{{{score3|25000}}} round -3}} ||align=center| {{#expr:({{{score3|25000}}} round -3)/1000}} ||align=center| {{function uma|rawscore  = {{{score3|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma3|-10}}}|round    = yes}} || '''{{#expr:{{function uma|rawscore  = {{{score3|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma3|-10}}}|round    = yes}} - {{#expr:({{{score3|25000}}} round -3)/1000}}}}'''
| {{{score3|25000}}} ||align=center| {{#expr:{{{score3|25000}}} round -3}} ||align=center| {{#expr:({{{score3|25000}}} round -3)/1000}} ||align=center| {{function uma|rawscore  = {{{score3|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma4|-20}}}|round    = yes}}||'''{{#expr:{{function uma|rawscore  = {{{score3|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma4|-20}}}|round    = yes}} - {{#expr:({{{score3|25000}}} round -3)/1000}}}}'''
|-align=center
|-align=center
| {{{score4|25000}}} ||align=center| {{#expr:{{{score4|25000}}} round -3}} ||align=center| {{#expr:({{{score4|25000}}} round -3)/1000}} ||align=center| {{function uma|rawscore  = {{{score4|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma4|-20}}}|round    = yes}}||'''{{#expr:{{function uma|rawscore  = {{{score4|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma4|-20}}}|round    = yes}} - {{#expr:({{{score4|25000}}} round -3)/1000}}}}'''
| {{{score4|25000}}} ||align=center| {{#expr:{{{score4|25000}}} round -3}} ||align=center| {{#expr:({{{score4|25000}}} round -3)/1000}} ||align=center| {{function uma|rawscore  = {{{score4|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma4|-20}}}|round    = yes}}||'''{{#expr:{{function uma|rawscore  = {{{score4|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma4|-20}}}|round    = yes}} - {{#expr:({{{score4|25000}}} round -3)/1000}}}}'''
|}<noinclude>{{documentation}}</noinclude>
|}<noinclude>{{documentation}}</noinclude>

Revision as of 00:28, 2 February 2018

Raw score conversion Score comparison:
Uma 「20 / 10 / -10 / -20」
Raw scores Rounded to nearest 1000 Div by 1000 (A) End score (B) End score diff (B - A)
25000 25000 25 35 10
25000 25000 25 5 -20
25000 25000 25 -25 -50
25000 25000 25 -25 -50
Documentation icon Template documentation[view] [edit] [history] [purge]
{{uma compare|
<!--player scores-->
|score1 = 
|score2 = 
|score3 = 
|score4 = 
<!--uma settings-->
|uma1 = 20
|uma2 = 10
|uma3 = -10
|uma4 = -20
|startpts  = 25000
|targetpts = 30000
}}

Inputs

Ideally, the scores are arranged in order with "score1" being the points leader while "score4" is last place. Out of the 4, only score1 is affected by the oka, as it is implied as first place. The uma values may be changed accordingly, and the same goes for the startpts and targetpts.