Template:Infobox Growing Area: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) No edit summary |
Eloise Zomia (talk | contribs) No edit summary |
||
| Line 18: | Line 18: | ||
}} | }} | ||
{{#if:{{{show_map|}}}| | {{#if:{{{show_map|}}}| | ||
{{!}} colspan="2" class="lw-infobox__map-container" {{!}} <div class="lw-infobox__map lw-map" data-smw-query="[[Category:Accessions]][[Has growing area::{{PAGENAME}}]]{{!}}?Has coordinates{{!}}?Has descriptive name{{!}}?Has conservation priority{{!}}?Has accession ID"></div><div class="lw-infobox__map-expand" title="Expand map">⛶</div> | {{!}} colspan="2" class="lw-infobox__map-container" {{!}} <div class="lw-infobox__map lw-map" data-center="{{{coordinates|}}}" {{#if:{{{boundary|}}}|data-boundary="{{{boundary}}}"}} data-smw-query="[[Category:Accessions]][[Has growing area::{{PAGENAME}}]]{{!}}?Has coordinates{{!}}?Has descriptive name{{!}}?Has conservation priority{{!}}?Has accession ID"></div><div class="lw-infobox__map-expand" title="Expand map">⛶</div> | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Revision as of 16:45, 28 March 2026
Usage
{{Infobox Growing Area
|area_name =
|other_names =
|image =
|image_alt =
|image_caption =
|show_map = yes
|gene_pool =
|regional_complex =
|growing_region =
|country =
|provinces =
|admin_2 =
|admin_2_label = Districts
|coordinates =
|elevation_range =
|area_extent =
|terrain =
|climate =
|rainfall =
|seasons =
|status =
|description =
}}
Parameters
| Parameter | Description | Example |
|---|---|---|
| area_name | Display name (defaults to page name) | Kirivong |
| other_names | Alternative names | Bayong Kor, Green Triangle |
| image | Hero image filename | Kirivong_landscape.jpg |
| image_alt | Alt text for image | View of Bayong Kor range |
| image_caption | Caption for hero image | Bayong Kor mountains |
| show_map | Set to "yes" to display accession map | yes |
| gene_pool | Gene pool classification | Southeast Asian Gene Pool |
| regional_complex | Regional complex classification | |
| growing_region | Parent growing region page | Southern Cambodia |
| country | Country page | Cambodia |
| provinces | Province/state name | Takeo |
| admin_2 | District or second-level admin division | Kirivong |
| admin_2_label | Label for admin_2 field | District |
| coordinates | Centroid coordinates (lat, lon) | 10.641000, 104.844000 |
| elevation_range | Elevation range | 50–400 m |
| area_extent | Approximate area | ~200 km² |
| terrain | Terrain description | Low mountain range, forested slopes |
| climate | Climate type | Tropical monsoon |
| rainfall | Annual rainfall | ~1,500 mm annually |
| seasons | Growing seasons | Wet (May–Nov), Dry (Dec–Apr) |
| status | Conservation status (Stable, Vulnerable, Endangered, Critical, Extinct, Unknown) | Endangered |
| description | Brief description (stored as SMW property, not displayed) | Primary cannabis cultivation area in southern Cambodia |