![]() | This is a documentation subpage for Template:TrewarthaClimate. It may contain usage information, categories and other content that is not part of the original template page. |
This template styles a table cell according to the map legend of Trewartha climate classification with minor adjustments for accessibility.
Usage
editWikitext:
...
!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
editTemplateData
editThis 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