Difference between revisions of "Template:Rating"
From MansonWiki, the Marilyn Manson encyclopedia
Red marquis (Talk | contribs) (Created page with "{{#if:{{{1|}}} |{{#if:{{{2|}}} |<span style="white-space:nowrap" title="{{{1}}}/{{{2}}} stars">{{#ifexpr:{{{1}}}>=1 |[[File:Star full.svg|{{#ifexpr:{{{2}}}>6|7|11}}px|link=…") |
Red marquis (Talk | contribs) |
||
Line 2: | Line 2: | ||
|{{#if:{{{2|}}} | |{{#if:{{{2|}}} | ||
|<span style="white-space:nowrap" title="{{{1}}}/{{{2}}} stars">{{#ifexpr:{{{1}}}>=1 | |<span style="white-space:nowrap" title="{{{1}}}/{{{2}}} stars">{{#ifexpr:{{{1}}}>=1 | ||
− | |[[File:Star full. | + | |[[File:Star full.png|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|{{{1}}}/{{{2}}} stars]]{{Loop15 |
|{{#expr:floor{{{1}}}-1}} | |{{#expr:floor{{{1}}}-1}} | ||
− | |[[File:Star full. | + | |[[File:Star full.png|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|alt=]] |
}} | }} | ||
|{{#ifexpr:{{{1}}}>0 | |{{#ifexpr:{{{1}}}>0 | ||
− | |[[File:Star half. | + | |[[File:Star half.png|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|{{{1}}}/{{{2}}} stars]] |
− | |[[File:Star empty. | + | |[[File:Star empty.png|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|{{{1}}}/{{{2}}} stars]] |
}} | }} | ||
}}{{#ifexpr:{{{1}}}>1and{{{1}}}!=ceil{{{1}}} | }}{{#ifexpr:{{{1}}}>1and{{{1}}}!=ceil{{{1}}} | ||
− | |[[File:Star half. | + | |[[File:Star half.png|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|alt=]] |
}}{{Loop15 | }}{{Loop15 | ||
|{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}} | |{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}} | ||
− | |[[File:Star empty. | + | |[[File:Star empty.png|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|alt=]] |
}}</span> | }}</span> | ||
|Please specify a rating. | |Please specify a rating. |
Revision as of 09:46, 21 November 2010
Please specify a rating.