Toggle menu
178
106
49
3.5K
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 Region: Difference between revisions

Template page
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 16: Line 16:
{{!}}-
{{!}}-
}}
}}
}}
{{#if:{{{show_map|}}}|
{{!}} colspan="2" class="lw-infobox__map-container" {{!}} <div class="lw-infobox__map lw-map" data-smw-query="[[Has growing region::{{PAGENAME}}]]{{!}}?Has GPS coordinates{{!}}?Has descriptive name{{!}}?Has conservation priority{{!}}?Has accession ID"></div><div class="lw-infobox__map-expand" title="Expand map">⛶</div>
{{!}}-
}}
}}
|-
|-
! class="lw-infobox__label" | Location
! class="lw-infobox__label" | Location
| class="lw-infobox__value" | {{{location|{{{country|}}}}}}
| class="lw-infobox__value" |
{{#if:{{{location|}}}|
{{{location}}}
| {{#arraymap:{{{country|}}}|, |x|[[x]]|, }}
}}
|-
|-
{{#if:{{{coordinates|}}}|
{{#if:{{{coordinates|}}}|
Line 28: Line 36:
{{#if:{{{gene_pool|}}}|
{{#if:{{{gene_pool|}}}|
! class="lw-infobox__label" {{!}} Gene Pool
! class="lw-infobox__label" {{!}} Gene Pool
{{!}} class="lw-infobox__value" {{!}} {{{gene_pool}}}
{{!}} class="lw-infobox__value" {{!}} [[{{{gene_pool}}}]]
{{!}}-
{{!}}-
}}
}}
{{#if:{{{regional_complex|}}}|
{{#if:{{{regional_complex|}}}|
! class="lw-infobox__label" {{!}} Regional Complex
! class="lw-infobox__label" {{!}} Regional Complex
{{!}} class="lw-infobox__value" {{!}} {{{regional_complex}}}
{{!}} class="lw-infobox__value" {{!}} [[{{{regional_complex}}}]]
{{!}}-
{{!}}-
}}
}}
{{#if:{{{country|}}}|
{{#if:{{{country|}}}|
! class="lw-infobox__label" {{!}} Country
! class="lw-infobox__label" {{!}} Country
{{!}} class="lw-infobox__value" {{!}} {{{country}}}
{{!}} class="lw-infobox__value" {{!}} {{#arraymap:{{{country|}}}|, |x|[[x]]|, }}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{provinces|}}}|
{{#if:{{{provinces|}}}|
! class="lw-infobox__label" {{!}} Provinces/States
! class="lw-infobox__label" {{!}} Provinces/States
{{!}} class="lw-infobox__value" {{!}} {{{provinces}}}
{{!}} class="lw-infobox__value" {{!}} {{#arraymap:{{{provinces|}}}|, |x|[[x]]|, }}
{{!}}-
{{!}}-
}}
}}
Line 63: Line 71:
{{#if:{{{primary_river|}}}|
{{#if:{{{primary_river|}}}|
! class="lw-infobox__label" {{!}} Primary Rivers
! class="lw-infobox__label" {{!}} Primary Rivers
{{!}} class="lw-infobox__value" {{!}} {{{primary_river}}}
{{!}} class="lw-infobox__value" {{!}} {{#arraymap:{{{primary_river|}}}|, |x|[[x]]|, }}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{primary_mountains|}}}|
{{#if:{{{primary_mountains|}}}|
! class="lw-infobox__label" {{!}} Primary Mountains
! class="lw-infobox__label" {{!}} Primary Mountains
{{!}} class="lw-infobox__value" {{!}} {{{primary_mountains}}}
{{!}} class="lw-infobox__value" {{!}} {{#arraymap:{{{primary_mountains|}}}|, |x|[[x]]|, }}
{{!}}-
{{!}}-
}}
}}
Line 77: Line 85:
}}
}}
|}
|}
<!-- Semantic properties -->
 
[[Category:Growing Regions]]
[[Category:Growing Regions]]
{{#if:{{{region_name|}}}|[[Has region name::{{{region_name}}}]]}}
 
{{#if:{{{other_name|}}}|[[Has alternate name::{{{other_name}}}]]}}
{{#set:
{{#if:{{{coordinates|}}}|[[Has coordinates::{{{coordinates}}}]]}}
|Has region name={{{region_name|}}}
{{#if:{{{gene_pool|}}}|[[Has gene pool::{{{gene_pool}}}]]}}
|Has alternate name={{{other_name|}}}
{{#if:{{{regional_complex|}}}|[[Has regional complex::{{{regional_complex}}}]]}}
|Has image={{{image|}}}
{{#if:{{{country|}}}|[[Has country::{{{country}}}]]}}
|Has image caption={{{image_caption|}}}
{{#if:{{{provinces|}}}|[[Has province::{{{provinces}}}]]}}
|Has coordinates={{{coordinates|}}}
{{#if:{{{elevation_range|}}}|[[Has elevation range::{{{elevation_range}}}]]}}
|Has gene pool={{{gene_pool|}}}
{{#if:{{{area_extent|}}}|[[Has area extent::{{{area_extent}}}]]}}
|Has regional complex={{{regional_complex|}}}
{{#if:{{{climate|}}}|[[Has climate::{{{climate}}}]]}}
|Has elevation range={{{elevation_range|}}}
{{#if:{{{primary_river|}}}|[[Has primary river::{{{primary_river}}}]]}}
|Has area extent={{{area_extent|}}}
{{#if:{{{primary_mountains|}}}|[[Has primary mountains::{{{primary_mountains}}}]]}}
|Has climate={{{climate|}}}
{{#if:{{{status|}}}|[[Has conservation status::{{{status}}}]]}}
|Has conservation status={{{status|}}}
|Has description={{{description|}}}
}}
 
{{#arraymap:{{{country|}}}|, |x|{{#set:|Has country=x}}|}}
{{#arraymap:{{{provinces|}}}|, |x|{{#set:|Has province=x}}|}}
{{#arraymap:{{{primary_river|}}}|, |x|{{#set:|Has primary river=x}}|}}
{{#arraymap:{{{primary_mountains|}}}|, |x|{{#set:|Has primary mountains=x}}|}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Documentation goes here.
Documentation goes here.
</noinclude>
</noinclude>

Latest revision as of 23:33, 19 January 2026


Documentation goes here.