Templat:Rating: Perbedaan antara revisi
Tampilan
Konten dihapus Konten ditambahkan
Angayubagia (bicara | kontrib) Membatalkan suntingan berniat baik oleh Farras (bicara): Jadi kacau mas Farras, saya balikkan dulu. (TW) Tag: Pembatalan |
Angayubagia (bicara | kontrib) k update Tag: Suntingan visualeditor-wikitext |
||
Baris 1: | Baris 1: | ||
{{#if:{{{1|}}} |
{{#if:{{{1|}}} |
||
|<span style="white-space:nowrap" title="{{{score|{{#if:{{{2|}}}|{{{1}}}/}}{{plural|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}|{{{rating|star}}}|{{{rating-plural|{{{rating| |
|<span role="img" style="white-space:nowrap" title="{{{score|{{#if:{{{2|}}}|{{{1}}}/}}{{plural|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}|{{{rating|star}}}|{{{rating-plural|{{{rating|star}}}s}}}}}}}}">{{#ifexpr:{{{1}}}>=1 |
||
|[[File:{{{full|Star full.svg}}}|{{{size|{{#ifexpr:{{{2|{{{1}}}}}}>6|7|11}}px}}}|link=|{{{score|{{#if:{{{2|}}}|{{{1}}}/}}{{plural|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}|{{{rating|star}}}|{{{rating-plural|{{{rating| |
|[[File:{{{full|Star full.svg}}}|{{{size|{{#ifexpr:{{{2|{{{1}}}}}}>6|7|11}}px}}}|link=|{{{score|{{#if:{{{2|}}}|{{{1}}}/}}{{plural|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}|{{{rating|star}}}|{{{rating-plural|{{{rating|star}}}s}}}}}}}}]]{{Loop |
||
|{{#expr:floor{{{1}}}-1}} |
|{{#expr:floor{{{1}}}-1}} |
||
|[[File:{{{full|Star full.svg}}}|{{{size|{{#ifexpr:{{{2|{{{1}}}}}}>6|7|11}}px}}}|link=|alt=]] |
|[[File:{{{full|Star full.svg}}}|{{{size|{{#ifexpr:{{{2|{{{1}}}}}}>6|7|11}}px}}}|link=|alt=]] |
||
}} |
}} |
||
|{{#ifexpr:{{{1}}}>0 |
|{{#ifexpr:{{{1}}}>0 |
||
|[[File:{{{half|Star half.svg}}}|{{{size|{{#ifexpr:{{{2|{{{1}}}}}}>6|7|11}}px}}}|link=|{{{score|{{#if:{{{2|}}}|{{{1}}}/}}{{plural|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}|{{{rating|star}}}|{{{rating-plural|{{{rating| |
|[[File:{{{half|Star half.svg}}}|{{{size|{{#ifexpr:{{{2|{{{1}}}}}}>6|7|11}}px}}}|link=|{{{score|{{#if:{{{2|}}}|{{{1}}}/}}{{plural|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}|{{{rating|star}}}|{{{rating-plural|{{{rating|star}}}s}}}}}}}}]] |
||
|[[File:{{{empty|Star empty.svg}}}|{{{size|{{#ifexpr:{{{2|{{{1}}}}}}>6|7|11}}px}}}|link=|{{{score|{{#if:{{{2|}}}|{{{1}}}/}}{{plural|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}|{{{rating|star}}}|{{{rating-plural|{{{rating| |
|[[File:{{{empty|Star empty.svg}}}|{{{size|{{#ifexpr:{{{2|{{{1}}}}}}>6|7|11}}px}}}|link=|{{{score|{{#if:{{{2|}}}|{{{1}}}/}}{{plural|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}|{{{rating|star}}}|{{{rating-plural|{{{rating|star}}}s}}}}}}}}]] |
||
}} |
}} |
||
}}{{#ifexpr:{{{1}}}>1and{{{1}}}<>ceil{{{1}}} |
}}{{#ifexpr:{{{1}}}>1and{{{1}}}<>ceil{{{1}}} |
||
Baris 17: | Baris 17: | ||
}} |
}} |
||
}}</span>{{#ifexpr:{{{1}}}-floor{{{1}}}<>0and{{{1}}}-floor{{{1}}}<>.5 |
}}</span>{{#ifexpr:{{{1}}}-floor{{{1}}}<>0and{{{1}}}-floor{{{1}}}<>.5 |
||
|{{main other|[[ |
|{{main other|[[Category:Pages with incorrect use of Rating template]]}} |
||
}} |
}} |
||
|<span class="error">Tentukan angka '''penilaian'''.</span>{{main other|[[ |
|<span class="error">Tentukan angka '''penilaian'''.</span>{{main other|[[Category:Pages with incorrect use of Rating template]]}} |
||
}}<noinclude> |
}} |
||
<noinclude> |
|||
{{documentation}} |
{{documentation}} |
||
</noinclude> |
</noinclude> |