Template:Uma compare: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable"
!colspan=3|Raw score conversion !!rowspan=6| !!colspan=2| Score comparison
!colspan=3|Raw score conversion !!rowspan=6| !!colspan=2| Score comparison:<br>Uma {{uma|{{{uma1|20}}}|{{{uma2|10}}}|{{{uma3|-10}}}|{{{uma4|-20}}}}}
|-
|-
! Raw scores !! Rounded to nearest 1000 !! Div by 1000 (A) !! End score (B) !! End score diff (B - A)
! Raw scores !! Rounded to nearest 1000 !! Div by 1000 (A) !! End score (B) !! End score diff (B - A)
|-
|-align=center
| {{{score1|25000}}}||align=center| {{#expr:{{{score1|25000}}} round 1000}} ||align=center| {{#expr:({{{score1|25000}}} round 1000)/1000}} ||align=center| {{function uma|rawscore  = {{{score1|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = {{#expr:4*({{{targetpts|30000}}}-{{{startpts|25000}}})}}|uma      = {{{uma1|20}}}|round    = yes}} || '''{{#expr:{{function uma|rawscore  = {{{score1|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = {{#expr:4*({{{targetpts|30000}}}-{{{startpts|25000}}})}}|uma      = {{{uma1|20}}}|round    = yes}} - {{#expr:({{{score1|25000}}} round 1000)/1000}}}}'''
| {{{score1|30000}}}||align=center| {{#expr:{{{score1|25000}}} round -3}} ||align=center| {{#expr:({{{score1|25000}}} round -3)/1000}} ||align=center| {{function uma|rawscore  = {{{score1|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = {{#expr:4*({{{targetpts|30000}}}-{{{startpts|25000}}})}}|uma      = {{{uma1|20}}}|round    = yes}} || '''{{#expr:{{function uma|rawscore  = {{{score1|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = {{#expr:4*({{{targetpts|30000}}}-{{{startpts|25000}}})}}|uma      = {{{uma1|20}}}|round    = yes}} - {{#expr:({{{score1|25000}}} round -3)/1000}}}}'''
|-
|-align=center
| {{{score2|25000}}} ||align=center| {{#expr:{{{score2|25000}}} round 1000}} ||align=center| {{#expr:({{{score2|25000}}} round 1000)/1000}} ||align=center| {{function uma|rawscore  = {{{score1|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma2|10}}}|round    = yes}} || '''{{#expr:{{function uma|rawscore  = {{{score1|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma2|10}}}|round    = yes}} - {{#expr:({{{score2|25000}}} round 1000)/1000}}}}'''
| {{{score2|30000}}} ||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
| {{{score3|25000}}} ||align=center| {{#expr:{{{score3|25000}}} round 1000}} ||align=center| {{#expr:({{{score3|25000}}} round 1000)/1000}} ||align=center| {{function uma|rawscore  = {{{score1|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma3|-10}}}|round    = yes}} || '''{{#expr:{{function uma|rawscore  = {{{score1|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma3|-10}}}|round    = yes}} - {{#expr:({{{score3|25000}}} round 1000)/1000}}}}'''
| {{{score3|30000}}} ||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}}}}'''
|-
|-align=center
| {{{score4|25000}}} ||align=center| {{#expr:{{{score4|25000}}} round 1000}} ||align=center| {{#expr:({{{score4|25000}}} round 1000)/1000}} ||align=center| {{function uma|rawscore  = {{{score1|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma4|-20}}}|round    = yes}}||'''{{#expr:{{function uma|rawscore  = {{{score1|25000}}}|targetpts = {{{targetpts|30000}}} |oka      = 0|uma      = {{{uma4|-20}}}|round    = yes}} - {{#expr:({{{score4|25000}}} round 1000)/1000}}}}'''
| {{{score4|30000}}} ||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>

Latest revision as of 23:57, 16 April 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)
30000 25000 25 35 10
30000 25000 25 5 -20
30000 25000 25 -15 -40
30000 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.