Lompat ke isi

Templat:WDL: Perbedaan antara revisi

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas
Konten dihapus Konten ditambahkan
←Membuat halaman berisi '<includeonly> | {{#if:{{{align|}}}|align={{{align}}}|align=center}} |{{nts|{{{1}}}}} | {{#if:{{{align|}}}|align={{{align}}}|align=center}} |{{nts|{{{2}}}}} | {{#if:{{{ali...'
 
←Mengganti halaman dengan '<includeonly>{{#invoke:WDL|main}}</includeonly><noinclude>{{Documentation}}</noinclude>'
Tag: Penggantian
 
Baris 1: Baris 1:
<includeonly>{{#invoke:WDL|main}}</includeonly><noinclude>{{Documentation}}</noinclude>
<includeonly>
| {{#if:{{{align|}}}|align={{{align}}}|align=center}} |{{nts|{{{1}}}}}
| {{#if:{{{align|}}}|align={{{align}}}|align=center}} |{{nts|{{{2}}}}}
| {{#if:{{{align|}}}|align={{{align}}}|align=center}} |{{nts|{{{3}}}}}
| {{#if:{{{align|}}}|align={{{align}}}|align=center}} |{{nts|{{{4}}}}}<!--
-->{{#if:{{{for|}}}| {{!}}{{#if:{{{align|}}}|{{!}}align={{{align}}}|{{!}}align=center}}{{!}}{{nts|{{{for}}}}}}}<!--
-->{{#if:{{{against|}}}| {{!}}{{#if:{{{align|}}}|{{!}}align={{{align}}}|{{!}}align=center}}{{!}}{{nts|{{{against}}}}}}}<!--
-->{{#ifeq:{{{diff}}}|yes| {{!}}{{#if:{{{align|}}}|{{!}}align={{{align}}}|{{!}}align=center}}{{!}} {{#iferror:{{#ifexpr: {{{for}}} - {{{against}}} >= 0 | + | − }}{{#expr: abs({{{for}}} - {{{against}}})}}|<span style="display:none">!</span>—}}}}
| {{#if:{{{align|}}}|align={{{align}}}|align=center}}|{{#if:{{{1}}}|{{#ifeq:{{{1}}}|0|<span style="display:none">!</span>—|<!--

Extra zero padding decimal in line for 100%

-->{{#if:{{{1}}}|{{#ifeq:{{{1}}}|—|—|{{#ifeq:{{{1}}}|{{{2}}}|<!-- -->{{nts|{{Decimals|{{#expr: 100 round {{#if:{{{decimals|}}}|{{{decimals}}}|2}}}}|{{#if:{{{decimals|}}}|{{{decimals}}}|2}}}}}}{{0}}|<!--

Extra zero padding decimal in line for single digit percentages

-->{{#ifexpr: {{{2}}} / {{{1}}} *100 round {{#if:{{{decimals|}}}|{{{decimals}}}|2}} < 10|<span style="display:none">&</span>{{0}}}}<!--


-->{{nts|{{Decimals|{{#expr: {{{2}}} / {{{1}}} *100 round {{#if:{{{decimals|}}}|{{{decimals}}}|2}}}}|{{#if:{{{decimals|}}}|{{{decimals}}}|2}}}}}}}}}}|<span style="display:none">!</span>—}}}}|—}}<!--

Check that Wins + Draws + Losses = Played, o/w categorise as error

-->{{#if:{{{1}}}|{{#ifeq:{{{1}}}|—||{{#ifexpr: {{{1}}} >= 0 | {{#ifexpr: {{{1}}} - {{{2}}} - {{{3}}} - {{{4}}} = 0 | |[[Category:WDL error]]}} }}}}}}</includeonly>
<noinclude>{{Documentation}}</noinclude>

Revisi terkini sejak 19 Agustus 2021 22.19