Template:MER vote count

From UBC Wiki
Documentation icon Template documentation[view] [edit] [history] [purge]

MER Template

This template is part of the MER Project. Please do not modify it unless you are part of the MER admin team. Major modifications should be discussed on the discussion page before being made.

Purpose

This template counts the number of total easiness votes, and stores the value in the variable num_votes. By default this value is also printed.

  • print - if TRUE the value of num_votes is printed (default: TRUE)

Examples

To store (but not print) the number of votes, call {{MER vote count|print=FALSE}} . This value can be used later, eg {{#expr: {{#var: num_votes}}-100}} returns the number of votes minus 100: Expression error: Unexpected < operator..

To just get the total number of votes use {{MER vote count}}, which returns Expression error: Unexpected < operator..

Usage

Here are all the pages using the Template MER vote count.