.

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 1: Line 1:
<includeonly>{{#if:{{{1}}}|{{Loop|{{Rounddown|{{{1}}}}}|[[Image:Star full.png]]}}{{#ifexpr:{{{1}}}-{{Rounddown|{{{1}}}}}>0|[[Image:Star half.png]]}}{{Loop|{{#expr:{{{2}}}-{{Roundup|{{{1}}}}}}}|[[Image:Star empty.png]]}}|Please specify a rating.}}</includeonly>
{{#if:{{{1|}}}
 
|{{#if:{{{2|}}}
<noinclude>
  |<span style="white-space:nowrap" title="{{{1}}}/{{{2}}} stars">{{#ifexpr:{{{1}}}>=1
  |[[Image:Star full.png|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|{{{1}}}/{{{2}}} stars]]{{Loop15
    |{{#expr:floor{{{1}}}-1}}
    |[[Image:Star full.png|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|alt=]]
  }}
  |{{#ifexpr:{{{1}}}>0
    |[[Image:Star half.png|{{#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}}}
  |[[Image:Star half.png|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|alt=]]
  }}{{Loop15
    |{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
    |[[Image:Star empty.png|{{#ifexpr:{{{2}}}>6|7|11}}px|link=|alt=]]
  }}</span>
  |Please specify a rating.
}}
|Please specify a rating.
}}<noinclude>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 22:08, 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.

}}