Template:TrewarthaClimate
Appearance
This template styles a table cell according to the map legend of Trewartha climate classification with minor adjustments for accessibility.
Usage
[edit]Wikitext:
...
!Trewartha system
|{{TrewarthaClimate |Do}}
...
!Trewartha system
|{{TrewarthaClimate |Dobk}}
...
!Trewartha system
|{{TrewarthaClimate |Cf |Cf, Cs}}
Result:
Scheme | Initials |
---|---|
Trewartha system | Do |
Scheme | Initials |
---|---|
Trewartha system | Dobk |
Scheme | Initials |
---|---|
Trewartha system | Cf, Cs |
Code
[edit]Code specific to this template:
style="background:#FFF;text-align:center;"|
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:TrewarthaClimate in articles based on its TemplateData.
TemplateData for TrewarthaClimate
A template for styling a table cell with a Trewartha 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