Difference between revisions of "Template:Ratings"

From Dolphin Emulator Wiki
Jump to: navigation, search
(fix unclosed includeonly)
(change edit link to actually edit by default, and preload "0" for non-existent ratings)
Line 1: Line 1:
<includeonly><span style="white-space:nowrap">{{rating|{{Ratings/{{{name|{{PAGENAME}}}}}}}}}[[File:Note.svg.png|16px|link=Template:Ratings/{{{name|{{PAGENAME}}}}}]]</span></includeonly><noinclude>
+
<includeonly><span style="white-space:nowrap;">{{rating|{{Ratings/{{{name|{{PAGENAME}}}}}}}}}[[File:Note.svg.png|16px|link={{fullurl:Template:Ratings/{{{name|{{PAGENAME}}}}}|action=edit&preload=Template:Ratings/preload}}|Edit rating: {{{name|{{PAGENAME}}}}}]]</span></includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 22:20, 25 June 2011

[edit] [purge] Template documentation

This template is used to display the compatibility rating of any game. It is commonly used on Dolphin compatibility lists such as compatibility list of Wii titles. This template will be retrieved automatically into each game page by their Template:Infobox VG. To edit the rating of any game, simply click the small notepad icon (Note.svg.png) next to the stars.

Example

{{ratings|Super Mario Galaxy}}

Produces:

4Stars4.pngEdit rating: Super Mario Galaxy