.

Template:Rating: Difference between revisions

Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search
mNo edit summary
mNo edit summary
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
   |[[Image:Star full.svg|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|{{{1}}}/{{{2}}} stars]]{{Loop15
   |[[Image: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.svg|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|alt=]]
     |[[File:Star full.png|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|alt=]]
   }}
   }}
   |{{#ifexpr:{{{1}}}>0
   |{{#ifexpr:{{{1}}}>0
     |[[Image:Star half.svg|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|{{{1}}}/{{{2}}} stars]]
     |[[Image:Star half.png|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|{{{1}}}/{{{2}}} stars]]
     |[[Image:Star empty.svg|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|{{{1}}}/{{{2}}} stars]]
     |[[Image: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}}}
   |[[Image:Star half.svg|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|alt=]]
   |[[Image: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}}}}
     |[[Image:Star empty.svg|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|alt=]]
     |[[Image:Star empty.png|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|alt=]]
   }}</span>
   }}</span>
   |Please specify a rating.
   |Please specify a rating.

Revision as of 21:49, 22 December 2010

{{#if:

|{{#if:
 |{{#ifexpr:{{{1}}}>=1

|

Error creating thumbnail: Unable to save thumbnail to destination

{{#ifexpr:{{#expr:floor{{{1}}}-1}} >000|

Error creating thumbnail: Unable to save thumbnail to destination
  }}{{#ifexpr:{{#expr:floor{{{1}}}-1}}

>001|

Error creating thumbnail: Unable to save thumbnail to destination
  }}{{#ifexpr:{{#expr:floor{{{1}}}-1}}

>002|

Error creating thumbnail: Unable to save thumbnail to destination
  }}{{#ifexpr:{{#expr:floor{{{1}}}-1}}

>003|

Error creating thumbnail: Unable to save thumbnail to destination
  }}{{#ifexpr:{{#expr:floor{{{1}}}-1}}

>004|

Error creating thumbnail: Unable to save thumbnail to destination
  }}{{#ifexpr:{{#expr:floor{{{1}}}-1}}

>005|

Error creating thumbnail: Unable to save thumbnail to destination
  }}{{#ifexpr:{{#expr:floor{{{1}}}-1}}

>006|

Error creating thumbnail: Unable to save thumbnail to destination
  }}{{#ifexpr:{{#expr:floor{{{1}}}-1}}

>007|

Error creating thumbnail: Unable to save thumbnail to destination
  }}{{#ifexpr:{{#expr:floor{{{1}}}-1}}

>008|

Error creating thumbnail: Unable to save thumbnail to destination
  }}{{#ifexpr:{{#expr:floor{{{1}}}-1}}

>009|

Error creating thumbnail: Unable to save thumbnail to destination
  }}{{#ifexpr:{{#expr:floor{{{1}}}-1}}

>010|

Error creating thumbnail: Unable to save thumbnail to destination
  }}{{#ifexpr:{{#expr:floor{{{1}}}-1}}

>011|

Error creating thumbnail: Unable to save thumbnail to destination
  }}{{#ifexpr:{{#expr:floor{{{1}}}-1}}

>012|

Error creating thumbnail: Unable to save thumbnail to destination
  }}{{#ifexpr:{{#expr:floor{{{1}}}-1}}

>013|

Error creating thumbnail: Unable to save thumbnail to destination
  }}{{#ifexpr:{{#expr:floor{{{1}}}-1}}

>014|

Error creating thumbnail: Unable to save thumbnail to destination
  }}
  |{{#ifexpr:{{{1}}}>0

|

Error creating thumbnail: Unable to save thumbnail to destination

|

Error creating thumbnail: Unable to save thumbnail to destination
  }}
 }}{{#ifexpr:{{{1}}}>1and{{{1}}}!=ceil{{{1}}}

|

Error creating thumbnail: Unable to save thumbnail to destination
 }}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}

>000|

Error creating thumbnail: Unable to save thumbnail to destination
 }}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}

>001|

Error creating thumbnail: Unable to save thumbnail to destination
 }}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}

>002|

Error creating thumbnail: Unable to save thumbnail to destination
 }}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}

>003|

Error creating thumbnail: Unable to save thumbnail to destination
 }}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}

>004|

Error creating thumbnail: Unable to save thumbnail to destination
 }}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}

>005|

Error creating thumbnail: Unable to save thumbnail to destination
 }}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}

>006|

Error creating thumbnail: Unable to save thumbnail to destination
 }}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}

>007|

Error creating thumbnail: Unable to save thumbnail to destination
 }}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}

>008|

Error creating thumbnail: Unable to save thumbnail to destination
 }}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}

>009|

Error creating thumbnail: Unable to save thumbnail to destination
 }}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}

>010|

Error creating thumbnail: Unable to save thumbnail to destination
 }}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}

>011|

Error creating thumbnail: Unable to save thumbnail to destination
 }}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}

>012|

Error creating thumbnail: Unable to save thumbnail to destination
 }}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}

>013|

Error creating thumbnail: Unable to save thumbnail to destination
 }}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}

>014|

Error creating thumbnail: Unable to save thumbnail to destination
 }}
 |Please specify a rating.
}}
|Please specify a rating.

}}