Difference between revisions of "Template:Rate"
(note on visibililty) |
|||
Line 3: | Line 3: | ||
|summary=This template is for users to rate documents or Wikispooks pages. | |summary=This template is for users to rate documents or Wikispooks pages. | ||
|description=It should be placed on users' own pages. | |description=It should be placed on users' own pages. | ||
− | }} Assign values to documents and Wikispooks pages as follows: | + | |note=This template only creates the SMW subobjects and so your ratings will be invisible unless you use [[Template:MyRatings]] to make them visible. |
+ | }} | ||
+ | ''Assign values to documents and Wikispooks pages as follows:'' | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- |
Revision as of 14:35, 9 September 2016
This template is for users to rate documents or Wikispooks pages.
It should be placed on users' own pages.,
Blue parameters are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)
Brown parameters are for numbers
Green parameters are for comma-separated lists of page names (Or planned page names).
Navy parameters are for dates
Orange parameters are for booleans. (Usually, either "Yes" or just leave blank).
Purple parameters are URLs.
Violet parameters are slash-separated lists.
Pink parameters are for coordinates.
Crossed out parameterswere formerly available, but have been upgraded. Some may still work, but do not use these.
Assign values to documents and Wikispooks pages as follows:
Usage:
{{Rate
|value = An integer rating from 0-5 (Property:Has value)
|page = An existing pagename, either in the Main: namespace or the Document: namespace (Property:Has target)
|date = When the review was published (Property:Has publicationDate)
|summary = A short (<128 characters) (Property:Has summary)
|description = Longer wikitext review contents (Property:Description2)
}}
Usage example:
{{Rate
|value=5
|page=Document:Fifty Years of the Deep State
|date=2015-01-25
|summary=An excellent and credible summary of the deep state in the USA since the JFK assassination.
|description= I liked it so much, I read it as an [http://www.unwelcomeguests.net/Fifty_Years_of_the_Deep_State audiobook] for a [http://www.unwelcomeguests.net radio show] I produce. Although it is very sparsely referenced, the bibliography at the end is excellent, and everything I've looked into seems to check out.}}
}}