Toggle menu
4
19
14
1.1K
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:Accession: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<templatestyles src="Template:Accession/styles.css" />
<div class="accession-simple">
<div class="hero-header">
<includeonly>
<includeonly>
<templatestyles src="Template:Accession/styles.css" />
<templatestyles src="Template:Accession/styles.css" />
Line 26: Line 31:
       <!-- LEFT: PHOTO -->
       <!-- LEFT: PHOTO -->
       <div class="hero-image">
       <div class="hero-image">
         {{#vardefine:hab|{{#show: {{{1}}} | ?Has habitat photo filename | link=none}}}}
         {{#if: {{#show: {{{1}}} | ?Has habitat photo filename}} |
        {{#vardefine:whole|{{#show: {{{1}}} | ?Has whole plant photo filename | link=none}}}}
          [[File:{{#show: {{{1}}} | ?Has habitat photo filename}}|600x400px|{{PAGENAME}} in natural habitat|class=hero-img|link=]]
         {{#vardefine:land|{{#show: {{{1}}} | ?Has landscape photo filename | link=none}}}}
         |{{#if: {{#show: {{{1}}} | ?Has whole plant photo filename}} |
 
          [[File:{{#show: {{{1}}} | ?Has whole plant photo filename}}|600x400px|{{PAGENAME}} whole plant|class=hero-img|link=]]
        {{#if: {{#var:hab}}{{#var:whole}}{{#var:land}} |
        |{{#if: {{#show: {{{1}}} | ?Has landscape photo filename}} |
          {{#if: {{#var:hab}} |
          [[File:{{#show: {{{1}}} | ?Has landscape photo filename}}|600x400px|{{PAGENAME}} landscape|class=hero-img|link=]]
            [[File:{{#var:hab}}|600x400px|{{PAGENAME}} in natural habitat|class=hero-img|link=]]
          | {{#if: {{#var:whole}} |
              [[File:{{#var:whole}}|600x400px|{{PAGENAME}} whole plant|class=hero-img|link=]]
            | [[File:{{#var:land}}|600x400px|{{PAGENAME}} landscape|class=hero-img|link=]] }} }}
         |
         |
           <div class="photo-placeholder">
           <div class="photo-placeholder">
Line 42: Line 43:
               <div class="placeholder-title">Genetic Heritage Documentation</div>
               <div class="placeholder-title">Genetic Heritage Documentation</div>
               <div class="placeholder-subtitle">Visual documentation preserves the morphology and cultivation context of this landrace population.</div>
               <div class="placeholder-subtitle">Visual documentation preserves the morphology and cultivation context of this landrace population.</div>
               <div class="placeholder-instruction">Upload habitat photo → add its title to <em>“Has habitat photo filename”</em></div>
               <div class="placeholder-instruction">Upload habitat photo → add its title to <em>"Has habitat photo filename"</em></div>
             </div>
             </div>
           </div>
           </div>
         }}
         }}}}}}


         <div class="image-overlay">
         <div class="image-overlay">
           <p class="image-caption">
           <p class="image-caption">
             {{PAGENAME}} growing in traditional cultivation at
             {{PAGENAME}} growing in traditional cultivation at
             {{#show: {{{1}}} | ?Has elevation | default=unknown}} elevation
             {{#show: {{{1}}} | ?Has elevation | default=unknown}}m elevation
           </p>
           </p>
         </div>
         </div>
Line 63: Line 64:
           <div class="location-hierarchy">
           <div class="location-hierarchy">
             <div class="location-primary">
             <div class="location-primary">
               {{#if: {{#show: {{{1}}} | ?Has locality}} |
               {{#show: {{{1}}} | ?Has locality}}{{#if: {{#show: {{{1}}} | ?Has district}} |, {{#show: {{{1}}} | ?Has district}} }}
                {{#show: {{{1}}} | ?Has locality}}{{#if: {{#show: {{{1}}} | ?Has district}} |, }} }}
              {{#show: {{{1}}} | ?Has district }}
             </div>
             </div>
             <div class="location-secondary">
             <div class="location-secondary">
               {{#if: {{#show: {{{1}}} | ?Has province}} |
               {{#show: {{{1}}} | ?Has province}}{{#if: {{#show: {{{1}}} | ?Has country}} |, {{#show: {{{1}}} | ?Has country}} }}
                {{#show: {{{1}}} | ?Has province}}{{#if: {{#show: {{{1}}} | ?Has country}} |, }} }}
              {{#show: {{{1}}} | ?Has country }}
             </div>
             </div>
           </div>
           </div>
Line 76: Line 73:


         <div class="coordinates">
         <div class="coordinates">
           {{#if: {{#show: {{{1}}} | ?Has GPS coordinates | link=none}} |
          {{#show: {{{1}}} | ?Has GPS coordinates}}
             {{#coordinates:{{#show: {{{1}}} | ?Has GPS coordinates | link=none}} | format=dd | directional=yes}}
        </div>
          | }}
      </div>
    </div>
 
    <!-- ===== DETAILS STRIP ===== -->
    <div class="hero-details">
      <div class="detail-group">
        <div class="detail-label">Collection Date</div>
        <div class="detail-value">{{#show: {{{1}}} | ?Has collection date | default=—}}</div>
      </div>
 
      <div class="detail-group">
        <div class="detail-label">Type</div>
        <div class="detail-value">{{#show: {{{1}}} | ?Has collection type | default=—}}</div>
      </div>
 
      <div class="detail-group">
        <div class="detail-label">Classification</div>
        <div class="detail-value highlight">{{#show: {{{1}}} | ?Has classification | default=—}}</div>
      </div>
 
      <div class="detail-group">
        <div class="detail-label">Elevation</div>
        <div class="detail-value">{{#show: {{{1}}} | ?Has elevation | default=—}}m</div>
      </div>
 
      <div class="detail-group">
        <div class="detail-label">Collector</div>
        <div class="detail-value">{{#show: {{{1}}} | ?Has collector | default=—}}</div>
      </div>
 
      <!-- GEO BREADCRUMB -->
      <div class="geographic-path">
        <h4>Geographic Hierarchy</h4>
        <div class="breadcrumb">
           {{#if: {{#show: {{{1}}} | ?Has regional complex}} |
            <span class="level">{{#show: {{{1}}} | ?Has regional complex}}</span> }}
          {{#if: {{#show: {{{1}}} | ?Has growing region}} |
             <span class="separator">→</span><span class="level">{{#show: {{{1}}} | ?Has growing region}}</span> }}
          {{#if: {{#show: {{{1}}} | ?Has growing area}} |
            <span class="separator">→</span><span class="level">{{#show: {{{1}}} | ?Has growing area}}</span> }}
          {{#if: {{#show: {{{1}}} | ?Has appellation}} |
            <span class="separator">→</span><span class="level">{{#show: {{{1}}} | ?Has appellation}}</span> }}
        </div>
      </div>
    </div>
  </div>
 
  <!-- Content sections -->
  {{BotanicalDescription|{{{1}}}}}
  {{EnvironmentalContext|{{{1}}}}}
 
</div>
</includeonly>
 
  <!-- Split layout section -->
  <div class="hero-split">
    <!-- Left: Plant Photography -->
    <div class="hero-image">
      <!-- Main habitat photo with improved fallback -->
      {{#if: {{#show: {{{1}}} | ?Has habitat photo filename}} |
        [[File:{{#show: {{{1}}} | ?Has habitat photo filename}}|600x400px|{{PAGENAME}} in natural habitat]]
      |{{#if: {{#show: {{{1}}} | ?Has whole plant photo filename}} |
        [[File:{{#show: {{{1}}} | ?Has whole plant photo filename}}|600x400px|{{PAGENAME}} whole plant]]
      |{{#if: {{#show: {{{1}}} | ?Has landscape photo filename}} |
        [[File:{{#show: {{{1}}} | ?Has landscape photo filename}}|600x400px|{{PAGENAME}} landscape]]
      |
        <div class="photo-placeholder">
          <div class="placeholder-content">
            <span class="placeholder-icon">🌿</span>
            <div class="placeholder-title">Genetic Heritage Documentation</div>
            <div class="placeholder-subtitle">Visual documentation preserves the morphology and cultivation context of this landrace population</div>
            <div class="placeholder-instruction">Upload habitat photo → Add filename to "Has habitat photo filename"</div>
          </div>
         </div>
         </div>
      }}}}}}
     
      <div class="image-overlay">
        <p class="image-caption">{{PAGENAME}} growing in traditional cultivation at {{#show: {{{1}}} | ?Has elevation}}m elevation</p>
      </div>
    </div>
   
    <!-- Right: Map -->
    <div class="hero-map">
      <div class="map-container">
        <!-- Placeholder for interactive map -->
        🗺️ Interactive Map
      </div>
     
      <!-- Location overlay -->
      <div class="map-overlay">
        <h4>Location</h4>
        <div class="location-hierarchy">
          <div class="location-primary">{{#show: {{{1}}} | ?Has locality}}, {{#show: {{{1}}} | ?Has district}}</div>
          <div class="location-secondary">{{#show: {{{1}}} | ?Has province}}, {{#show: {{{1}}} | ?Has country}}</div>
        </div>
      </div>
     
      <!-- Coordinates -->
      <div class="coordinates">
        {{#show: {{{1}}} | ?Has GPS coordinates}}
       </div>
       </div>
     </div>
     </div>
   </div>
   </div>


   <!-- ===== DETAILS STRIP ===== -->
   <!-- Bottom details strip -->
   <div class="hero-details">
   <div class="hero-details">
     <div class="detail-group">
     <div class="detail-group">
       <div class="detail-label">Collection Date</div>
       <div class="detail-label">Collection Date</div>
       <div class="detail-value">{{#show: {{{1}}} | ?Has collection date | default=—}}</div>
       <div class="detail-value">{{#show: {{{1}}} | ?Has collection date}}</div>
     </div>
     </div>
 
   
     <div class="detail-group">
     <div class="detail-group">
       <div class="detail-label">Type</div>
       <div class="detail-label">Type</div>
       <div class="detail-value">{{#show: {{{1}}} | ?Has collection type | default=—}}</div>
       <div class="detail-value">{{#show: {{{1}}} | ?Has collection type}}</div>
     </div>
     </div>
 
   
     <div class="detail-group">
     <div class="detail-group">
       <div class="detail-label">Classification</div>
       <div class="detail-label">Classification</div>
       <div class="detail-value highlight">{{#show: {{{1}}} | ?Has classification | default=—}}</div>
       <div class="detail-value highlight">{{#show: {{{1}}} | ?Has classification}}</div>
     </div>
     </div>
 
   
     <div class="detail-group">
     <div class="detail-group">
       <div class="detail-label">Elevation</div>
       <div class="detail-label">Elevation</div>
       <div class="detail-value">{{#show: {{{1}}} | ?Has elevation | default=—}}</div>
       <div class="detail-value">{{#show: {{{1}}} | ?Has elevation}}m</div>
     </div>
     </div>
 
   
     <div class="detail-group">
     <div class="detail-group">
       <div class="detail-label">Collector</div>
       <div class="detail-label">Collector</div>
       <div class="detail-value">{{#show: {{{1}}} | ?Has collector | default=—}}</div>
       <div class="detail-value">{{#show: {{{1}}} | ?Has collector}}</div>
     </div>
     </div>
 
   
     <!-- GEO BREADCRUMB -->
     <!-- Geographic hierarchy breadcrumb -->
     <div class="geographic-path">
     <div class="geographic-path">
       <h4>Geographic Hierarchy</h4>
       <h4>Geographic Hierarchy</h4>
       <div class="breadcrumb">
       <div class="breadcrumb">
         {{#if: {{#show: {{{1}}} | ?Has regional complex}} |
         <span class="level">{{#show: {{{1}}} | ?Has regional complex}}</span>
          <span class="level">{{#show: {{{1}}} | ?Has regional complex}}</span> }}
         <span class="separator">→</span>
         {{#if: {{#show: {{{1}}} | ?Has growing region}} |
        <span class="level">{{#show: {{{1}}} | ?Has growing region}}</span>
          <span class="separator">→</span><span class="level">{{#show: {{{1}}} | ?Has growing region}}</span> }}
         <span class="separator">→</span>
         {{#if: {{#show: {{{1}}} | ?Has growing area}} |
        <span class="level">{{#show: {{{1}}} | ?Has growing area}}</span>
          <span class="separator">→</span><span class="level">{{#show: {{{1}}} | ?Has growing area}}</span> }}
         <span class="separator">→</span>
         {{#if: {{#show: {{{1}}} | ?Has appellation}} |
        <span class="level">{{#show: {{{1}}} | ?Has appellation}}</span>
          <span class="separator">→</span><span class="level">{{#show: {{{1}}} | ?Has appellation}}</span> }}
       </div>
       </div>
     </div>
     </div>
   </div>
   </div>
</div>
</div>


Line 132: Line 225:
{{BotanicalDescription|{{{1}}}}}
{{BotanicalDescription|{{{1}}}}}
{{EnvironmentalContext|{{{1}}}}}
{{EnvironmentalContext|{{{1}}}}}
</div>
</includeonly>
</includeonly>

Revision as of 06:34, 17 September 2025


           🌿
Genetic Heritage Documentation
Visual documentation preserves the morphology and cultivation context of this landrace population
Upload habitat photo → Add filename to "Has habitat photo filename"

Accession growing in traditional cultivation at m elevation

       🗺️ Interactive Map

Location

,
,
Collection Date
Type
Classification
Elevation
m
Collector

Geographic Hierarchy


Botanical Description

Plant Morphology

Height Range: m - m

Growth Pattern:

Branching:

Classification:

Leaf Characteristics

Shape:

Leaflet Count:

Serration:

Color:

Stem Properties

Internodal Distance: cm - cm

Color:

Thickness:

Structure:

Flowering Response

Photoperiod:

Initiation:

Duration: days

M/F Ratio:

Inflorescence Structure

Structure:

Flower Color:

Stigma Color:

Additional Notes:

Trichome Production

Density:

Characteristics:

Production Level:

Seed Production:


Climate Classification

Köppen Type:

Biome:

Ecoregion:

Precipitation Patterns

Annual Rainfall: mm

Wet Season:

Dry Season:

Temperature Range

Summer Max: °C

Summer Min: °C

Winter Max: °C

Winter Min: °C

Soil Characteristics

Observed Type:

Classification:

pH Level:

Water Source:

Associated Flora

Companion Plants:

Forest Type:

Habitat Notes:


</includeonly>