Difference between revisions of "Template:bbfaw"
Jump to navigation
Jump to search
| Line 7: | Line 7: | ||
|E=#422567; border:1px solid #422567; <!-- Tier 5/E: #422567 --> | |E=#422567; border:1px solid #422567; <!-- Tier 5/E: #422567 --> | ||
|F=#2d0f2d; border:1px solid #2d0f2d; <!-- Tier 6/F: #2d0f2d --> | |F=#2d0f2d; border:1px solid #2d0f2d; <!-- Tier 6/F: #2d0f2d --> | ||
| − | |#default=No such band in switch( | + | |#default=No such band in switch(). |
}}<!-- --> | }}<!-- --> | ||
text-align:center;"> {{{1}}}: {{{2}}} </span><noinclude>{{doc2}}</noinclude> | text-align:center;"> {{{1}}}: {{{2}}} </span><noinclude>{{doc2}}</noinclude> | ||
Revision as of 18:48, 22 October 2019
{{{1}}}: {{{2}}}
[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: 2017: 4
- {{bbfaw|num=t|2017|4}} gives: 2017: 4