Template:bbfaw

From WikiCorporates
Revision as of 19:39, 22 October 2019 by GrayanOne (talk | contribs)
Jump to navigation Jump to search

<span style="text-align:center; color:white; background-color:

No such band in switch(x). 

[edit] Documentation

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: <span style="text-align:center; color:white; background-color:

No such band in switch(x). 

  • {{bbfaw|num=t|2017|4}} gives: <span style="text-align:center; color:white; background-color:

No such band in switch(x).