模板:Rating:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第1行: | 第1行: | ||
<div>{{#switch: {{{1|}}} | <div class="rating">{{#switch: {{{1|}}} | ||
|0=[[File:Star empty.png|link=]][[File:Star empty.png|link=]][[File:Star empty.png|link=]][[File:Star empty.png|link=]][[File:Star empty.png|link=]] | |0=[[File:Star empty.png|link=]][[File:Star empty.png|link=]][[File:Star empty.png|link=]][[File:Star empty.png|link=]][[File:Star empty.png|link=]] | ||
|1=[[File:Star filled.png|link=]][[File:Star empty.png|link=]][[File:Star empty.png|link=]][[File:Star empty.png|link=]][[File:Star empty.png|link=]] | |1=[[File:Star filled.png|link=]][[File:Star empty.png|link=]][[File:Star empty.png|link=]][[File:Star empty.png|link=]][[File:Star empty.png|link=]] | ||
第8行: | 第8行: | ||
| rating format error | | rating format error | ||
}}</div> | }}</div> | ||
{{#css: | |||
.rating img { | |||
display: inline; | |||
} | |||
}} |