Actions

Template

No rating/doc

From DramaWiki

< Template:No rating
This is a documentation subpage for Template:No rating.

Purpose

The {{no rating}} template is for listing unknown episode ratings on drama pages together with an extra tooltip info. With a parameter the bottom rating (i.e. 20th place) of a daily top list can be passed if the drama didn't made it into the top20. The template then shows the rating as n/a and gives an explanation as tooltip text.

Usage

Use {{nr|rating of the show on 20th place}} for an unknown episode rating
Without any parameter the template shows only "n/a" and no tooltip message.
For the template also its shortcut form {{nr}} can be used.

Example

To list an unknown Seoul area rating for episode 2 that was lower than the 9.6% of the show on 20th place, use:
{| class="ratingtable"
! Date !! Episode !! Nationwide !! Seoul
|-
|2013-Jul-01 || 1 || 9.6 (18th) || 9.7 (19th)
|-
|2013-Jul-02 || 2 || 8.7 || {{nr|9.6}}
|}
will be displayed as
Date Episode Nationwide Seoul
2013-Jul-01 1 9.6 (18th) 9.7 (19th)
2013-Jul-02 2 8.7
n/a?

Todo

Add optional parameters to customise the tooltip message, e.g. the number of entries in the toplist if it is not a Top20 list.