Category:Ratings Templates

From LCA2015 Delegate wiki
Revision as of 20:07, 27 December 2014 by Augur . (Talk | contribs)

Jump to: navigation, search

Description

A collection of templates to simplify the placement of rankings and ratings.

Example

You can now use code similar to below in order to display a star rating system...

{{fs}}{{fs}}{{hs}}{{es}}{{es}}

This will display 2½ stars out of a five-star rating, as below...

Farm-Fresh-bullet-star.pngFarm-Fresh-bullet-star.pngFarm-Fresh-bullet-half-star.pngFarm-Fresh-bullet-empty-star.pngFarm-Fresh-bullet-empty-star.png

Improvements

  • If you want to sort a table column based on the star ranking, it is suggested that you prefix the rating in the cell with hidden text, such as...
<span style="display:none;">2.5</span>{{fs}}{{fs}}{{hs}}{{es}}{{es}}
  • A future template might allow for a complete rating to specified from a single template, such as...
{{rating|2.5|5}}
I'll add this to my To Do list.

See Also

Pages in category "Ratings Templates"

The following 3 pages are in this category, out of 3 total.