Template:Function uma/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<pre>{{function uma | <pre>{{function uma | ||
|rawscore = | |rawscore = | ||
|targetpts = | |targetpts = 30000 | ||
|oka = | |oka = | ||
|uma = | |uma = | ||
Line 13: | Line 12: | ||
* rawscore = 25000 | * rawscore = 25000 | ||
* oka = 5000 | * oka = 5000 | ||
* targetpts = 30000 | * targetpts = 30000; for this line, always include a value as the expression produces an error when empty | ||
* uma = 0 | * uma = 0 | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Mahjong templates]] | [[Category:Mahjong templates]] |
Revision as of 23:58, 17 January 2015
{{function uma |rawscore = |targetpts = 30000 |oka = |uma = }}
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
- uma = 0