Difference between revisions of "Template:bbfaw/doc"
Jump to navigation
Jump to search
(Created page with "Small template to create annual ratings for BBFAW. <includeonly>Category:WikiPolitiks templates</includeonly>") |
|||
| Line 1: | Line 1: | ||
Small template to create annual ratings for [[BBFAW]]. | Small template to create annual ratings for [[BBFAW]]. | ||
| + | |||
| + | BBFAW allocates <code>6 Tiers</code>, each of which has a given colour. The Tiers use numerical grades, but alpha ones are more intuitive (''I think''). This template takes a Year, and a Tier, and returns either a numerical or alpha grade, depending on whether <code>num=t</code> is set or not. | ||
| + | |||
| + | === Parameters === | ||
| + | <pre> | ||
| + | {{bbfaw | ||
| + | |num=t optional | ||
| + | |param1 year, eg. "2017" | ||
| + | |param2 tier, eg. "4" | ||
| + | </pre> | ||
| + | |||
| + | === Usage === | ||
| + | * <tt><nowiki>{{bbfaw|2017|4}}</nowiki></tt> gives: {{bbfaw|2017|4}} | ||
| + | * <tt><nowiki>{{bbfaw|num=t|2017|4}}</nowiki></tt> gives: {{bbfaw|num=t|2017|4}} | ||
<includeonly>[[Category:WikiPolitiks templates]]</includeonly> | <includeonly>[[Category:WikiPolitiks templates]]</includeonly> | ||
Revision as of 19:59, 22 October 2019
Small template to create annual ratings for BBFAW.
BBFAW allocates 6 Tiers, each of which has a given colour. The Tiers use numerical grades, but alpha ones are more intuitive (I think). This template takes a Year, and a Tier, and returns either a numerical or alpha grade, depending on whether num=t is set or not.
Parameters
{{bbfaw
|num=t optional
|param1 year, eg. "2017"
|param2 tier, eg. "4"
Usage
- {{bbfaw|2017|4}} gives: 2017: D
- {{bbfaw|num=t|2017|4}} gives: 2017: 4