.
Template:Rating
Wikicars, a place to share your automotive knowledge
Revision as of 22:29, 2 July 2010 by Red marquis (talk | contribs)
{{#if:
|{{#if:
|{{#ifexpr:{{{1}}}>=1
|{{{1}}}/{{{2}}} stars{{#ifexpr:{{#expr:floor{{{1}}}-1}}
>000|11}}px
}}{{#ifexpr:{{#expr:floor{{{1}}}-1}}
>001|11}}px
}}{{#ifexpr:{{#expr:floor{{{1}}}-1}}
>002|11}}px
}}{{#ifexpr:{{#expr:floor{{{1}}}-1}}
>003|11}}px
}}{{#ifexpr:{{#expr:floor{{{1}}}-1}}
>004|11}}px
}}{{#ifexpr:{{#expr:floor{{{1}}}-1}}
>005|11}}px
}}{{#ifexpr:{{#expr:floor{{{1}}}-1}}
>006|11}}px
}}{{#ifexpr:{{#expr:floor{{{1}}}-1}}
>007|11}}px
}}{{#ifexpr:{{#expr:floor{{{1}}}-1}}
>008|11}}px
}}{{#ifexpr:{{#expr:floor{{{1}}}-1}}
>009|11}}px
}}{{#ifexpr:{{#expr:floor{{{1}}}-1}}
>010|11}}px
}}{{#ifexpr:{{#expr:floor{{{1}}}-1}}
>011|11}}px
}}{{#ifexpr:{{#expr:floor{{{1}}}-1}}
>012|11}}px
}}{{#ifexpr:{{#expr:floor{{{1}}}-1}}
>013|11}}px
}}{{#ifexpr:{{#expr:floor{{{1}}}-1}}
>014|11}}px
}}
|{{#ifexpr:{{{1}}}>0
|{{{1}}}/{{{2}}} stars
|{{{1}}}/{{{2}}} stars
}}
}}{{#ifexpr:{{{1}}}>1and{{{1}}}!=ceil{{{1}}}
|11}}px
}}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
>000|11}}px
}}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
>001|11}}px
}}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
>002|11}}px
}}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
>003|11}}px
}}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
>004|11}}px
}}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
>005|11}}px
}}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
>006|11}}px
}}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
>007|11}}px
}}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
>008|11}}px
}}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
>009|11}}px
}}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
>010|11}}px
}}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
>011|11}}px
}}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
>012|11}}px
}}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
>013|11}}px
}}{{#ifexpr:{{#expr:{{{2}}}-ceil{{{1}}}{{#ifexpr:{{{1}}}=0|-1}}}}
>014|11}}px
}}
|Please specify a rating.
}}
|Please specify a rating.
}} {{#ifeq: Rating | sandbox
|
Template:Template sandbox notice }}Template:Template other
{{#ifeq: ¬ |
|
|{{
#if: | | {{ #if: {{#ifexist: {{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Rating | sandbox | testcases = Rating | #default = Rating }}/doc }} | yes }} | [[{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Rating | sandbox | testcases = Rating | #default = Rating }}/doc }}|action=edit}} edit]] [purge] | [[{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Rating | sandbox | testcases = Rating | #default = Rating }}/doc }}| action=edit&preload={{ #ifeq: Template | File | Template:Documentation/preload-filespace | Template:Documentation/preload }} }} create]] }} }} {{#switch: ¬ | ¬ = {{#switch: Template | Template = Template documentation | File = Summary | #default = Documentation }} | #default = ¬}}
}} {{#if: | | {{#if: {{#ifexist:
{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Rating | sandbox | testcases = Rating | #default = Rating }}/doc }} | yes }} | {{ {{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Rating | sandbox | testcases = Rating | #default = Rating }}/doc }} }} }}
}}
{{#if:
{{#ifeq: | off | | {{#ifexist: {{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Rating | sandbox | testcases = Rating | #default = Rating }}/doc }} | yes }}{{ #switch: Template | User | Template = yes }} }}
| Template:Fmbox }}{{#if:
{{#switch: Rating | doc | testcases = strange }}
| [[Category:Wikipedia pages with strange ((documentation)) usage|Template:Main otherTemplate:Rating]]
}}