Template:KoppenClimate
Appearance
This template styles a table cell according to Köppen climate classification standard legend with minor adjustments for accessibility.
Usage
[edit]Wikitext:
...
!Köppen system
|{{KoppenClimate |Af}}
...
!Köppen system
|{{KoppenClimate |Cfa |Cfa, Cfb}}
Result:
Scheme | Initials |
---|---|
Köppen system | Af |
Scheme | Initials |
---|---|
Köppen system | Cfa, Cfb |
Code
[edit]Code specific to this template:
style="background:#FFF;text-align:center;" class="mw-no-invert"|
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:KoppenClimate in articles based on its TemplateData.
TemplateData for KoppenClimate
A template for styling a table cell with a Köppen climate subgroup.
Parameter | Description | Type | Status | |
---|---|---|---|---|
subgroup | 1 | climate subgroup
| Line | required |
text | 2 | text shown instead of autogenerated text
| Line | optional |
See also
[edit]- {{Greater color contrast ratio}} to help determine when text color should be white; note that the default text color is not pure black, see MOS:COLORS