.

Template:Rating: Difference between revisions

Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{1|}}}
{{Rating {{{1|0}}}/{{{2|0}}}}}<noinclude>[[Category:Templates]]</noinclude>
|{{#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=|{{{1}}}/{{{2}}} stars]]{{Loop15
    |{{#expr:floor{{{1}}}-1}}
    |[[File:Star full.svg|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|alt=]]
  }}
  |{{#ifexpr:{{{1}}}>0
    |[[File:Star half.svg|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|{{{1}}}/{{{2}}} stars]]
    |[[File:Star empty.svg|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|{{{1}}}/{{{2}}} stars]]
  }}
  }}{{#ifexpr:{{{1}}}>1and{{{1}}}!=ceil{{{1}}}
  |[[File:Star half.svg|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|alt=]]
  }}{{Loop15
    |{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
    |[[File:Star empty.svg|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|alt=]]
  }}</span>
  |Please specify a rating.
}}
|Please specify a rating.
}}<noinclude>
[[Category:Templates]]
</noinclude>

Latest revision as of 23:05, 22 December 2010

Error creating thumbnail: Unable to save thumbnail to destination