Toggle menu
17
24
14
1.7K
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
Tag: Reverted
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="width: 320px; float: right; clear: right; margin: 0 0 1em 1em; border: 1px solid #a2a9b1; background: #f8f9fa; font-size: 0.9em;">
{| class="infobox" style="width: 300px; float: right; clear: right; margin: 0 0 1em 1em; border: 1px solid #aaa; background: #f9f9fa; font-size: 0.9em;"
 
|-
  <!-- Header -->
! colspan="2" style="background: #2d5016; color: white; font-size: 1.3em; padding: 0.8em; text-align: center;" | {{{region_name|{{PAGENAME}}}}}
  <div style="background: #2d5016; color: white; font-size: 1.3em; font-weight: bold; padding: 0.8em; text-align: center;">
|-
    {{PAGENAME}}
{{#if:{{{other_name|}}}|
  </div>
! colspan="2" style="font-size: 0.9em; padding: 0.5em; text-align: center; font-weight: normal; font-style: italic;" {{!}} {{{other_name}}}
 
{{!}}-
  <!-- Hero Image (if provided) -->
}}
  {{#if:{{{image|}}}|
{{#if:{{{image|}}}|
  <div style="text-align: center; padding: 0.5em 0; background: white;">
{{!}} colspan="2" style="text-align: center; padding: 0.5em;" {{!}} [[File:{{{image}}}|300px|{{{image_caption|View of {{{region_name|{{PAGENAME}}}}}}}}]]
    [[File:{{{image}}}|300px|{{{image_caption|View of {{PAGENAME}}}}}]]
{{!}}-
  </div>
{{#if:{{{image_caption|}}}|
  }}
{{!}} colspan="2" style="text-align: center; padding: 0 0.5em 0.5em 0.5em; font-size: 0.85em; color: #666;" {{!}} {{{image_caption}}}
 
{{!}}-
  <!-- Core Statistics -->
}}
  <table style="width: 100%; border-collapse: collapse;">
}}
   
|-
    <!-- Total Accessions -->
! style="text-align: left; padding: 0.6em; background: #eaecf0; width: 40%;" | Location
    <tr>
| style="padding: 0.6em;" | {{{location|{{{country|}}}}}}
      <th style="text-align: left; padding: 0.6em; background: #eaecf0; width: 45%; font-weight: bold;">Total Accessions</th>
|-
      <td style="padding: 0.6em; border-left: 1px solid #a2a9b1;">
{{#if:{{{coordinates|}}}|
        {{#ask: [[Category:Accessions]] [[Has growing region::{{PAGENAME}}]]
! style="text-align: left; padding: 0.6em; background: #eaecf0;" {{!}} Coordinates
        |format=count
{{!}} style="padding: 0.6em;" {{!}} {{{coordinates}}}
        |default=0
{{!}}-
        }}
}}
      </td>
{{#if:{{{gene_pool|}}}|
    </tr>
! style="text-align: left; padding: 0.6em; background: #eaecf0;" {{!}} Gene Pool
   
{{!}} style="padding: 0.6em;" {{!}} {{{gene_pool}}}
    <!-- Elevation Range -->
{{!}}-
    <tr>
}}
      <th style="text-align: left; padding: 0.6em; background: #eaecf0; font-weight: bold;">Elevation Range</th>
{{#if:{{{regional_complex|}}}|
      <td style="padding: 0.6em; border-left: 1px solid #a2a9b1;">
! style="text-align: left; padding: 0.6em; background: #eaecf0;" {{!}} Regional Complex
        {{#ask: [[Category:Accessions]] [[Has growing region::{{PAGENAME}}]]
{{!}} style="padding: 0.6em;" {{!}} {{{regional_complex}}}
        |?Has elevation
{{!}}-
        |format=min
}}
        |default=—
{{#if:{{{country|}}}|
        }} – {{#ask: [[Category:Accessions]] [[Has growing region::{{PAGENAME}}]]
! style="text-align: left; padding: 0.6em; background: #eaecf0;" {{!}} Country
        |?Has elevation
{{!}} style="padding: 0.6em;" {{!}} {{{country}}}
        |format=max
{{!}}-
        |default=—
}}
        }} m
{{#if:{{{provinces|}}}|
      </td>
! style="text-align: left; padding: 0.6em; background: #eaecf0;" {{!}} Provinces/States
    </tr>
{{!}} style="padding: 0.6em;" {{!}} {{{provinces}}}
   
{{!}}-
    <!-- Collection Date Range -->
}}
    <tr>
{{#if:{{{elevation_range|}}}|
      <th style="text-align: left; padding: 0.6em; background: #eaecf0; font-weight: bold;">Collection Span</th>
! style="text-align: left; padding: 0.6em; background: #eaecf0;" {{!}} Elevation Range
      <td style="padding: 0.6em; border-left: 1px solid #a2a9b1;">
{{!}} style="padding: 0.6em;" {{!}} {{{elevation_range}}}
        {{#ask: [[Category:Accessions]] [[Has growing region::{{PAGENAME}}]]
{{!}}-
        |?Has collection date
}}
        |sort=Has collection date
{{#if:{{{area_extent|}}}|
        |order=ascending
! style="text-align: left; padding: 0.6em; background: #eaecf0;" {{!}} Area
        |limit=1
{{!}} style="padding: 0.6em;" {{!}} {{{area_extent}}}
        |format=list
{{!}}-
        |link=none
}}
        |default=—
{{#if:{{{climate|}}}|
        }} to {{#ask: [[Category:Accessions]] [[Has growing region::{{PAGENAME}}]]
! style="text-align: left; padding: 0.6em; background: #eaecf0;" {{!}} Climate
        |?Has collection date
{{!}} style="padding: 0.6em;" {{!}} {{{climate}}}
        |sort=Has collection date
{{!}}-
        |order=descending
}}
        |limit=1
{{#if:{{{primary_river|}}}|
        |format=list
! style="text-align: left; padding: 0.6em; background: #eaecf0;" {{!}} Primary Rivers
        |link=none
{{!}} style="padding: 0.6em;" {{!}} {{{primary_river}}}
        |default=—
{{!}}-
        }}
}}
      </td>
{{#if:{{{primary_mountains|}}}|
    </tr>
! style="text-align: left; padding: 0.6em; background: #eaecf0;" {{!}} Primary Mountains
   
{{!}} style="padding: 0.6em;" {{!}} {{{primary_mountains}}}
    <!-- Growing Areas -->
{{!}}-
    <tr>
}}
      <th style="text-align: left; padding: 0.6em; background: #eaecf0; font-weight: bold;">Growing Areas</th>
{{#if:{{{status|}}}|
      <td style="padding: 0.6em; border-left: 1px solid #a2a9b1;">
! style="text-align: left; padding: 0.6em; background: #eaecf0;" {{!}} Conservation Status
        {{#ask: [[Category:Accessions]] [[Has growing region::{{PAGENAME}}]]
{{!}} style="padding: 0.6em; font-weight: bold;" {{!}} {{{status}}}
        |?Has growing area
{{!}}-
        |format=list
}}
        |link=all
|}
        |sep=,
<!-- Hidden semantic properties -->
        |default=None documented yet
        }}
      </td>
    </tr>
   
    <!-- Manual Geographic Context (if provided) -->
    {{#if:{{{gene_pool|}}}|
    <tr>
      <th style="text-align: left; padding: 0.6em; background: #eaecf0; font-weight: bold;">Gene Pool</th>
      <td style="padding: 0.6em; border-left: 1px solid #a2a9b1;">{{{gene_pool}}}</td>
    </tr>
    }}
   
    {{#if:{{{regional_complex|}}}|
    <tr>
      <th style="text-align: left; padding: 0.6em; background: #eaecf0; font-weight: bold;">Regional Complex</th>
      <td style="padding: 0.6em; border-left: 1px solid #a2a9b1;">{{{regional_complex}}}</td>
    </tr>
    }}
   
    {{#if:{{{country|}}}|
    <tr>
      <th style="text-align: left; padding: 0.6em; background: #eaecf0; font-weight: bold;">Country</th>
      <td style="padding: 0.6em; border-left: 1px solid #a2a9b1;">{{{country}}}</td>
    </tr>
    }}
   
  </table>
 
  <!-- Documentation Breakdown -->
  <div style="background: #eaecf0; padding: 0.8em; margin-top: 0.5em; font-weight: bold;">
    Documentation Status
  </div>
  <table style="width: 100%; border-collapse: collapse; font-size: 0.9em;">
    <tr>
      <td style="padding: 0.5em;">Tier 1 (Complete):</td>
      <td style="padding: 0.5em; text-align: right; font-weight: bold;">
        {{#ask: [[Category:Accessions]] [[Has growing region::{{PAGENAME}}]] [[Has documentation status::Tier 1]]
        |format=count
        |default=0
        }}
      </td>
    </tr>
    <tr>
      <td style="padding: 0.5em; background: #f8f9fa;">Tier 2 (Core):</td>
      <td style="padding: 0.5em; text-align: right; font-weight: bold; background: #f8f9fa;">
        {{#ask: [[Category:Accessions]] [[Has growing region::{{PAGENAME}}]] [[Has documentation status::Tier 2]]
        |format=count
        |default=0
        }}
      </td>
    </tr>
    <tr>
      <td style="padding: 0.5em;">Tier 3 (Basic):</td>
      <td style="padding: 0.5em; text-align: right; font-weight: bold;">
        {{#ask: [[Category:Accessions]] [[Has growing region::{{PAGENAME}}]] [[Has documentation status::Tier 3]]
        |format=count
        |default=0
        }}
      </td>
    </tr>
  </table>
 
  <!-- Conservation Status Breakdown -->
  <div style="background: #eaecf0; padding: 0.8em; margin-top: 0.5em; font-weight: bold;">
    Conservation Status
  </div>
  <table style="width: 100%; border-collapse: collapse; font-size: 0.9em;">
    <tr>
      <td style="padding: 0.5em;">Active/Cultivated:</td>
      <td style="padding: 0.5em; text-align: right; font-weight: bold;">
        {{#ask: [[Category:Accessions]] [[Has growing region::{{PAGENAME}}]] [[Has current status::Active/Cultivated]]
        |format=count
        |default=0
        }}
      </td>
    </tr>
    <tr>
      <td style="padding: 0.5em; background: #f8f9fa;">Eradications Ongoing:</td>
      <td style="padding: 0.5em; text-align: right; font-weight: bold; background: #f8f9fa;">
        {{#ask: [[Category:Accessions]] [[Has growing region::{{PAGENAME}}]] [[Has current status::Eradications Ongoing]]
        |format=count
        |default=0
        }}
      </td>
    </tr>
    <tr>
      <td style="padding: 0.5em;">Conservation Concern:</td>
      <td style="padding: 0.5em; text-align: right; font-weight: bold;">
        {{#ask: [[Category:Accessions]] [[Has growing region::{{PAGENAME}}]] [[Has current status::Conservation Concern]]
        |format=count
        |default=0
        }}
      </td>
    </tr>
    <tr>
      <td style="padding: 0.5em; background: #f8f9fa;">Status Unknown:</td>
      <td style="padding: 0.5em; text-align: right; font-weight: bold; background: #f8f9fa;">
        {{#ask: [[Category:Accessions]] [[Has growing region::{{PAGENAME}}]] [[Has current status::Status Unknown]]
        |format=count
        |default=0
        }}
      </td>
    </tr>
  </table>
 
  <!-- View All Accessions Link -->
  <div style="text-align: center; padding: 0.8em; background: #f0f0f0; margin-top: 0.5em;">
    '''[[Special:Ask/-5B-5BCategory:Accessions-5D-5D-20-5B-5BHas-20growing-20region::{{PAGENAME}}-5D-5D/format%3Dbroadtable/link%3Dall/headers%3Dshow/searchlabel%3DView-20all-20accessions/class%3Dsortable-20wikitable-20smwtable|View All Accessions →]]'''
  </div>
 
</div>
 
<!-- Semantic Properties (hidden but indexed) -->
[[Category:Growing Regions]]
[[Category:Growing Regions]]
{{#if:{{{gene_pool|}}}|[[Has gene pool::{{{gene_pool}}}]]}}
{{#if:{{{gene_pool|}}}|[[Has gene pool::{{{gene_pool}}}]]}}
{{#if:{{{regional_complex|}}}|[[Has regional complex::{{{regional_complex}}}]]}}
{{#if:{{{regional_complex|}}}|[[Has regional complex::{{{regional_complex}}}]]}}
{{#if:{{{country|}}}|[[Has country::{{{country}}}]]}}
{{#if:{{{country|}}}|[[Has country::{{{country}}}]]}}
</includeonly>


</includeonly><noinclude>
<noinclude>
 
</noinclude>

Latest revision as of 16:43, 7 November 2025