Difference between revisions of "Template:Rate"

From Wikispooks
Jump to navigation Jump to search
(test...)
(test...)
Line 6: Line 6:
  
 
Usage example:<br/>
 
Usage example:<br/>
{{t|<nowiki>{{Rate|5|Document:Fifty Years of the Deep State|An excellent summary of the deep state in the USA. I liked it so much, I read it as an audiobook for a radio show I produce. Although it is only sparsely referenced, the bibliography at the end is excellent, and everything I've looked into seems to check out.}}}}</nowiki>}}</noinclude><includeonly>{{#if: {{{1|}}}|{{#switch: {{{1|}}}
+
{{t|<nowiki>{{Rate|5|Document:Fifty Years of the Deep State|An excellent summary of the deep state in the USA. I liked it so much, I read it as an audiobook for a radio show I produce. Although it is only sparsely referenced, the bibliography at the end is excellent, and everything I've looked into seems to check out.}}}}</nowiki>}}</noinclude><includeonly>{{#if: {{{1|}}}|aa{{#switch: {{{1|}}}
 
| 0
 
| 0
 
| 1
 
| 1

Revision as of 13:30, 24 January 2015

This template is for users to rate documents.
It should be placed on users' own pages. It takes three parameters:

  1. An integer rating from 0-5
  2. An existing pagename in the Document: namespace
  3. (Optional) A plaintext review

Usage example:
{{Rate|5|Document:Fifty Years of the Deep State|An excellent summary of the deep state in the USA. I liked it so much, I read it as an audiobook for a radio show I produce. Although it is only sparsely referenced, the bibliography at the end is excellent, and everything I've looked into seems to check out.}}}}