Toggle menu
648
116
71
6.9K
Landrace.Wiki - The Landrace Cannabis Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox Growing Area: Difference between revisions

Template page
No edit summary
Tag: Manual revert
No edit summary
 
(2 intermediate revisions by the same user not shown)
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="[[Has growing area::{{PAGENAME}}]]{{!}}?Has GPS coordinates{{!}}?Has descriptive name{{!}}?Has conservation priority{{!}}?Has accession ID"></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>
{{!}}-
{{!}}-
}}
}}
Line 123: Line 123:
}}
}}
|}
|}
[[Category:Growing Areas]]
{{#set:
|Has area name={{{area_name|{{PAGENAME}}}}}
|Has alternate name={{{other_names|}}}
|Has growing region={{{growing_region|}}}
|Has country={{{country|}}}
|Has province={{{provinces|}}}
|Has coordinates={{{coordinates|}}}
|Has elevation range={{{elevation_range|}}}
|Has area extent={{{area_extent|}}}
|Has terrain={{{terrain|}}}
|Has climate={{{climate|}}}
|Has conservation status={{{status|}}}
|Has description={{{description|}}}
|Has boundary={{{boundary|}}}
}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
== Usage ==
== Usage ==
<pre>
<pre>
{{Growing Area
{{Infobox Growing Area
|area_name =  
|area_name =  
|other_names =  
|other_names =  
|image =  
|image =  
|image_alt =
|image_caption =  
|image_caption =  
|show_map = yes
|show_map = yes
Line 148: Line 165:
|seasons =  
|seasons =  
|status =  
|status =  
|description =
}}
}}
</pre>
</pre>
=== Parameters ===
{| class="wikitable"
|-
! 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
|}
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 17:18, 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