Toggle menu
4
19
13
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:
<templatestyles src="Template:Accession/styles.css" />
<templatestyles src="Template:Accession/styles.css" />


<div class="hero-image">
<!-- Beautiful Hero Section -->
  {{#if: {{#show: {{{1}}} | ?Has whole plant in habitat photo | link=none}} |
<div class="accession-hero">
    [[{{#show: {{{1}}} | ?Has whole plant in habitat photo | link=none}}|frameless]]
 
  |
  <!-- Photo Gallery Section -->
    <div class="hero-placeholder">
  <div class="hero-gallery">
      <div class="placeholder-icon">🌿</div>
    <div class="gallery-main">
      <div class="placeholder-text">No primary image available</div>
      <!-- Primary hero image -->
    </div>
      <div class="hero-image">
  }}
        {{#if: {{#show: {{{1}}} | ?Has whole plant in habitat photo | link=none}} |  
 
          [[{{#show: {{{1}}} | ?Has whole plant in habitat photo | link=none}}|frameless]]
  <!-- Image overlay with key info -->
        |  
  <div class="hero-overlay">
          <div class="hero-placeholder">
    <div class="hero-title">{{PAGENAME}}</div>
            <div class="placeholder-icon">🌿</div>
    <div class="hero-subtitle">{{#show: {{{1}}} | ?Has accession ID | default=Accession ID not specified}}</div>
            <div class="placeholder-text">No primary image available</div>
    <div class="hero-location">
          </div>
      {{#show: {{{1}}} | ?Has locality}}, {{#show: {{{1}}} | ?Has province}} • {{#show: {{{1}}} | ?Has collection date}}
        }}
       
        <!-- Image overlay with key info -->
        <div class="hero-overlay">
          <div class="hero-title">{{PAGENAME}}</div>
          <div class="hero-subtitle">{{#show: {{{1}}} | ?Has accession ID | default=Accession ID not specified}}</div>
          <div class="hero-location">
            {{#show: {{{1}}} | ?Has locality}}, {{#show: {{{1}}} | ?Has province}} • {{#show: {{{1}}} | ?Has collection date}}
          </div>
        </div>
      </div>
     </div>
     </div>
  </div>
</div>
      
      
     <!-- Gallery thumbnails -->
     <!-- Gallery thumbnails -->
     <div class="gallery-thumbs">
     <div class="gallery-thumbs">
  {{#if: {{#show: {{{1}}} | ?Has flowering branches photo | link=none}} |
      {{#if: {{#show: {{{1}}} | ?Has flowering branches photo | link=none}} |  
    <div class="thumb active">
        <div class="thumb active">
      [[{{#show: {{{1}}} | ?Has flowering branches photo | link=none}}|80x60px]]
          [[{{#show: {{{1}}} | ?Has flowering branches photo | link=none}}|80x60px]]
       <span class="thumb-label">Flowering</span>
          <span class="thumb-label">Flowering</span>
        </div>
       }}
      {{#if: {{#show: {{{1}}} | ?Has close-up inflorescences photo | link=none}} |
        <div class="thumb">
          [[{{#show: {{{1}}} | ?Has close-up inflorescences photo | link=none}}|80x60px]]
          <span class="thumb-label">Close-up</span>
        </div>
      }}
      {{#if: {{#show: {{{1}}} | ?Has habitat overview photo | link=none}} |
        <div class="thumb">
          [[{{#show: {{{1}}} | ?Has habitat overview photo | link=none}}|80x60px]]
          <span class="thumb-label">Habitat</span>
        </div>
      }}
      {{#if: {{#show: {{{1}}} | ?Has farmer grower portraits | link=none}} |
        <div class="thumb">
          [[{{#show: {{{1}}} | ?Has farmer grower portraits | link=none}}|80x60px]]
          <span class="thumb-label">Farmer</span>
        </div>
      }}
     </div>
     </div>
   }}
   </div>
  {{#if: {{#show: {{{1}}} | ?Has close-up inflorescences photo | link=none}} |
    <div class="thumb">
      [[{{#show: {{{1}}} | ?Has close-up inflorescences photo | link=none}}|80x60px]]
      <span class="thumb-label">Close-up</span>
    </div>
  }}
  {{#if: {{#show: {{{1}}} | ?Has habitat overview photo | link=none}} |
    <div class="thumb">
      [[{{#show: {{{1}}} | ?Has habitat overview photo | link=none}}|80x60px]]
      <span class="thumb-label">Habitat</span>
    </div>
  }}
  {{#if: {{#show: {{{1}}} | ?Has farmer grower portraits | link=none}} |
    <div class="thumb">
      [[{{#show: {{{1}}} | ?Has farmer grower portraits | link=none}}|80x60px]]
      <span class="thumb-label">Farmer</span>
    </div>
  }}
</div>
 


   <!-- Key Stats Dashboard -->
   <!-- Key Stats Dashboard -->
Line 85: Line 92:
       <div class="stat-content">
       <div class="stat-content">
         <div class="stat-label">Location</div>
         <div class="stat-label">Location</div>
         <div class="stat-value">{{#show: {{{1}}} | ?Has elevation | default=Unknown}}{{#if: {{#show: {{{1}}} | ?Has elevation}} | }}</div>
         <div class="stat-value">{{#show: {{{1}}} | ?Has elevation | default=Unknown}}</div>
        <div class="stat-detail">{{#show: {{{1}}} | ?Has GPS coordinates | default=Coordinates not specified}}</div>
        <div class="stat-detail">
          {{#if: {{#show: {{{1}}} | ?Has GPS coordinates | link=none}} |
            {{#coordinates:{{#show: {{{1}}} | ?Has GPS coordinates | link=none}} | format=dd | directional=yes}}
          | Coordinates not specified}}
        </div>
       </div>
       </div>
     </div>
     </div>
Line 97: Line 108:
         <div class="stat-value">{{#show: {{{1}}} | ?Has documentation status | default=Unknown}}</div>
         <div class="stat-value">{{#show: {{{1}}} | ?Has documentation status | default=Unknown}}</div>
         <div class="stat-detail">
         <div class="stat-detail">
        {{#ifeq: {{#show: {{{1}}} | ?Has point of origin documentation | link=none}} | true | ✓ | ✗}} Origin •  
          {{#ifeq: {{#show: {{{1}}} | ?Has point of origin documentation | link=none}} | true | ✓ | ✗}} Origin •  
{{#ifeq: {{#show: {{{1}}} | ?Has photographic metadata preserved | link=none}} | true | ✓ | ✗}} Photos •  
          {{#ifeq: {{#show: {{{1}}} | ?Has photographic metadata preserved | link=none}} | true | ✓ | ✗}} Photos •  
{{#ifeq: {{#show: {{{1}}} | ?Has chain of custody maintained | link=none}} | true | ✓ | ✗}} Custody
          {{#ifeq: {{#show: {{{1}}} | ?Has chain of custody maintained | link=none}} | true | ✓ | ✗}} Custody
         </div>
         </div>
       </div>
       </div>
Line 131: Line 142:
         </div>
         </div>
       }}
       }}
       {{#if: {{#show: {{{1}}} | ?Has field}} |  
       {{#if: {{#show: {{{1}}} | ?Has field | link=none}} |  
         <div class="breadcrumb-arrow">→</div>
         {{#ifeq: {{#show: {{{1}}} | ?Has field | link=none}} | Various
        <div class="breadcrumb-item current">
          |
          <span class="breadcrumb-text">{{#show: {{{1}}} | ?Has field}}</span>
          | <div class="breadcrumb-arrow">→</div>
        </div>
            <div class="breadcrumb-item current">
              <span class="breadcrumb-text">{{#show: {{{1}}} | ?Has field}}</span>
            </div>
        }}
       }}
       }}
     </div>
     </div>
Line 184: Line 198:
{{#if: {{#show: {{{1}}} | ?Has documentation status | link=none}} | {{Category link|{{#show: {{{1}}} | ?Has documentation status | link=none}}}} }}
{{#if: {{#show: {{{1}}} | ?Has documentation status | link=none}} | {{Category link|{{#show: {{{1}}} | ?Has documentation status | link=none}}}} }}
{{#if: {{#show: {{{1}}} | ?Has conservation priority | link=none}} | {{Category link|{{#show: {{{1}}} | ?Has conservation priority | link=none}}}} }}
{{#if: {{#show: {{{1}}} | ?Has conservation priority | link=none}} | {{Category link|{{#show: {{{1}}} | ?Has conservation priority | link=none}}}} }}


<noinclude>
<noinclude>
== Complete Accession Template ==
== Complete Accession Template ==
 
Usage:
This template displays a beautiful hero section for landrace cannabis accessions with proper CSS styling.
 
=== Usage ===
<pre>{{Accession|{{PAGENAME}}}}</pre>
<pre>{{Accession|{{PAGENAME}}}}</pre>
 
Requires Template:Accession/styles.css and configured Semantic properties.
=== Requirements ===
* CSS file must exist at Template:Accession/styles.css
* Semantic properties must be properly configured
 
=== Features ===
* Photo gallery with thumbnails
* Statistics dashboard with conservation status
* Geographic breadcrumb navigation
* Interactive map section
* Mobile-responsive design
 
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 09:42, 16 September 2025

🛡️
Conservation Status
Unknown
Status unknown
📅
Collection
Date unknown
Type unknown • Collector unknown
📍
Location
Unknown
         Coordinates not specified
📋
Documentation
Unknown
         ✗ Origin • 
         ✗ Photos • 
         ✗ Custody
📍
Location coordinates not available
     <button class="action-btn secondary">📁 Download Data</button>

📋 Detailed Information

Additional sections (botanical description, cultural context, conservation details) will be added here with beautiful, scannable design.

For now, all essential information is displayed in the hero section above.




Complete Accession Template

Usage:

{{Accession|{{PAGENAME}}}}

Requires Template:Accession/styles.css and configured Semantic properties.