Template:Ratings/doc: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
(Created page with "This template parse the rating from the subpage. It was one way of removing the need of using ifexist parser function, taht are expensive and was causing errors on server. Curren...")
 
(clean up documentation)
Line 1: Line 1:
This template parse the rating from the subpage. It was one way of removing the need of using ifexist parser function, taht are expensive and was causing errors on server. Currently, only GC games must have the ratings template redirected here (other platforms are still using the old system, and redirecting to here will cause errors).
This template is used to display the compatibility rating of any game. It is commonly used on game lists such as [[Wii]], and individual game articles such as [[Super Mario Galaxy]]. To edit the rating of any game, simply click the small "notepad" icon next to the stars.
 
==Usage==
{| class=wikitable
! Code
! Result
|-
| <code><nowiki>{{ratings|name=Super Mario Galaxy}}</nowiki></code>
| {{ratings|name=Super Mario Galaxy}}
|-
| <code><nowiki>{{ratings|name=unknown game}}</nowiki></code>
| {{ratings|name=unknown game}}
|}

Revision as of 18:22, 26 June 2011

This template is used to display the compatibility rating of any game. It is commonly used on game lists such as Wii, and individual game articles such as Super Mario Galaxy. To edit the rating of any game, simply click the small "notepad" icon next to the stars.

Usage

Code Result
{{ratings|name=Super Mario Galaxy}} Template:Ratings/Ratings/docStars0.pngEdit rating: Ratings/doc
{{ratings|name=unknown game}} Template:Ratings/Ratings/docStars0.pngEdit rating: Ratings/doc