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 3: Line 3:
<div class="accession-simple">
<div class="accession-simple">


   <!-- ===== HERO HEADER ===== -->
   <!-- ===== SCIENTIFIC RESEARCH DATABASE HEADER ===== -->
   <div class="hero-header">
   <div class="hero-header">
     <div class="hero-top">
     <div class="hero-top">
       <h1 class="hero-title">{{PAGENAME}}</h1>
       <h1 class="hero-title">{{PAGENAME}}</h1>
       <div style="margin-top: 0.5rem;">
     
         <div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem;">{{#show: {{{1}}} | ?Has accession ID | default=—}}</div>
      <!-- Technical data badges -->
       <div style="margin-top: 0.75rem;">
         <div class="hero-subtitle" style="display: inline-block; margin-right: 0.75rem;">{{#show: {{{1}}} | ?Has accession ID | default=—}}</div>
         {{#if: {{#show: {{{1}}} | ?Has current status}} |
         {{#if: {{#show: {{{1}}} | ?Has current status}} |
           <div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem;">{{#show: {{{1}}} | ?Has current status}}</div> }}
           <div class="hero-subtitle" style="display: inline-block; margin-right: 0.75rem;">{{#show: {{{1}}} | ?Has current status}}</div> }}
         {{#if: {{#show: {{{1}}} | ?Has documentation status}} |
         {{#if: {{#show: {{{1}}} | ?Has documentation status}} |
           <div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem;">{{#show: {{{1}}} | ?Has documentation status}}</div> }}
           <div class="hero-subtitle" style="display: inline-block; margin-right: 0.75rem;">{{#show: {{{1}}} | ?Has documentation status}}</div> }}
         {{#if: {{#show: {{{1}}} | ?Has conservation priority}} |
         {{#if: {{#show: {{{1}}} | ?Has conservation priority}} |
           <div class="hero-subtitle" style="display: inline-block;">{{#show: {{{1}}} | ?Has conservation priority}}</div> }}
           <div class="hero-subtitle" style="display: inline-block; margin-right: 0.75rem;">{{#show: {{{1}}} | ?Has conservation priority}}</div> }}
       </div>
       </div>


       <!-- GEOGRAPHIC BREADCRUMB - REFINED TEAL COLOR SCHEME -->
       <!-- Scientific geographic hierarchy -->
       <div style="margin-top: 0.75rem;">
       <div style="margin-top: 0.75rem;">
         {{#if: {{#show: {{{1}}} | ?Has regional complex}} |
         {{#if: {{#show: {{{1}}} | ?Has regional complex}} |
           <div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem; background: rgba(13, 148, 136, 0.12); color: #0d9488; border: 1px solid rgba(13, 148, 136, 0.2);">{{#show: {{{1}}} | ?Has regional complex}}</div> }}
           <div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem; background: rgba(5, 150, 105, 0.1); color: #10b981; border: 1px solid rgba(5, 150, 105, 0.2);">{{#show: {{{1}}} | ?Has regional complex}}</div> }}
         {{#if: {{#show: {{{1}}} | ?Has growing region}} |
         {{#if: {{#show: {{{1}}} | ?Has growing region}} |
           <div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem; background: rgba(13, 148, 136, 0.12); color: #0d9488; border: 1px solid rgba(13, 148, 136, 0.2);">{{#show: {{{1}}} | ?Has growing region}}</div> }}
           <div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem; background: rgba(5, 150, 105, 0.1); color: #10b981; border: 1px solid rgba(5, 150, 105, 0.2);">{{#show: {{{1}}} | ?Has growing region}}</div> }}
         {{#if: {{#show: {{{1}}} | ?Has growing area}} |
         {{#if: {{#show: {{{1}}} | ?Has growing area}} |
           <div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem; background: rgba(13, 148, 136, 0.12); color: #0d9488; border: 1px solid rgba(13, 148, 136, 0.2);">{{#show: {{{1}}} | ?Has growing area}}</div> }}
           <div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem; background: rgba(5, 150, 105, 0.1); color: #10b981; border: 1px solid rgba(5, 150, 105, 0.2);">{{#show: {{{1}}} | ?Has growing area}}</div> }}
         {{#if: {{#show: {{{1}}} | ?Has appellation}} |
         {{#if: {{#show: {{{1}}} | ?Has appellation}} |
           <div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem; background: rgba(13, 148, 136, 0.12); color: #0d9488; border: 1px solid rgba(13, 148, 136, 0.2);">{{#show: {{{1}}} | ?Has appellation}}</div> }}
           <div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem; background: rgba(5, 150, 105, 0.1); color: #10b981; border: 1px solid rgba(5, 150, 105, 0.2);">{{#show: {{{1}}} | ?Has appellation}}</div> }}
      </div>
 
      <!-- Research status indicators -->
      <div class="hero-badges">
        {{#if: {{#show: {{{1}}} | ?Has current status}} |
          {{#ifeq: {{#show: {{{1}}} | ?Has current status}} | Active/Cultivated |
            <div class="hero-badge badge-active">ACTIVE</div> |
            <div class="hero-badge">{{#show: {{{1}}} | ?Has current status}}</div> }}
        }}
        {{#if: {{#show: {{{1}}} | ?Has documentation status}} |
          {{#ifeq: {{#show: {{{1}}} | ?Has documentation status}} | Tier 1 |
            <div class="hero-badge badge-tier1">TIER-1</div> |
            <div class="hero-badge">{{#show: {{{1}}} | ?Has documentation status}}</div> }}
        }}
        {{#if: {{#show: {{{1}}} | ?Has conservation priority}} |
          {{#ifeq: {{#show: {{{1}}} | ?Has conservation priority}} | High (action needed within 5 years) |
            <div class="hero-badge badge-priority">HIGH-PRI</div> |
            <div class="hero-badge">{{#show: {{{1}}} | ?Has conservation priority}}</div> }}
        }}
       </div>
       </div>
     </div>
     </div>


     <!-- ===== HERO SPLIT ===== -->
     <!-- ===== RESEARCH DATA VISUALIZATION ===== -->
     <div class="hero-split">
     <div class="hero-split">
       <!-- LEFT: PHOTO -->
       <!-- Morphological Documentation -->
       <div class="hero-image">
       <div class="hero-image">
         {{#if: {{#show: {{{1}}} | ?Has habitat photo filename}} |
         {{#if: {{#show: {{{1}}} | ?Has habitat photo filename}} |
           [[File:{{#show: {{{1}}} | ?Has habitat photo filename}}|600x400px|{{PAGENAME}} in natural habitat|class=hero-img|link=]]
           [[File:{{#show: {{{1}}} | ?Has habitat photo filename}}|600x420px|{{PAGENAME}} morphological documentation|class=hero-img|link=]]
         |{{#if: {{#show: {{{1}}} | ?Has whole plant photo filename}} |
         |{{#if: {{#show: {{{1}}} | ?Has whole plant photo filename}} |
           [[File:{{#show: {{{1}}} | ?Has whole plant photo filename}}|600x400px|{{PAGENAME}} whole plant|class=hero-img|link=]]
           [[File:{{#show: {{{1}}} | ?Has whole plant photo filename}}|600x420px|{{PAGENAME}} phenotype documentation|class=hero-img|link=]]
         |{{#if: {{#show: {{{1}}} | ?Has landscape photo filename}} |
         |{{#if: {{#show: {{{1}}} | ?Has landscape photo filename}} |
           [[File:{{#show: {{{1}}} | ?Has landscape photo filename}}|600x400px|{{PAGENAME}} landscape|class=hero-img|link=]]
           [[File:{{#show: {{{1}}} | ?Has landscape photo filename}}|600x420px|{{PAGENAME}} habitat analysis|class=hero-img|link=]]
         |
         |
           <div class="photo-placeholder">
           <div class="photo-placeholder">
             <div class="placeholder-content">
             <div class="placeholder-content">
              🌿
               <div class="placeholder-title">Morphological Documentation Protocol</div>
               <div class="placeholder-title">Genetic Heritage Documentation</div>
               <div class="placeholder-subtitle">Standardized phenotypic characterization and habitat documentation preserves critical genetic heritage data for conservation analysis.</div>
               <div class="placeholder-subtitle">Visual documentation preserves the morphology and cultivation context of this landrace population.</div>
               <div class="placeholder-instruction">UPLOAD: Habitat documentation Set "Has habitat photo filename"</div>
               <div class="placeholder-instruction">Upload habitat photo add its title to <em>"Has habitat photo filename"</em></div>
             </div>
             </div>
           </div>
           </div>
Line 53: Line 73:
         <div class="image-overlay">
         <div class="image-overlay">
           <p class="image-caption">
           <p class="image-caption">
             {{PAGENAME}} growing in traditional cultivation at
             [ACCESSION: {{PAGENAME}}] — In-situ cultivation documentation — Elevation: {{#show: {{{1}}} | ?Has elevation | default=DATA_MISSING}}
            {{#show: {{{1}}} | ?Has elevation | default=unknown}} elevation
           </p>
           </p>
         </div>
         </div>
       </div>
       </div>


       <!-- RIGHT: MAP -->
       <!-- Geographic Information System -->
       <div class="hero-map">
       <div class="hero-map">
         <div class="map-container">
         <div class="map-container">
Line 67: Line 86:
                 data-filter-accession="{{#show: {{{1}}} | ?Has accession ID | link=none}}"
                 data-filter-accession="{{#show: {{{1}}} | ?Has accession ID | link=none}}"
                 data-zoom="12"
                 data-zoom="12"
                 style="height: 400px; width: 100%;">
                 style="height: 420px; width: 100%;">
             </div>
             </div>
              
              
             <!-- Map Legend -->
             <!-- Research Data Overlay -->
             <div class="map-legend">
             <div class="map-legend">
               <div class="legend-section">
               <div class="legend-section">
                 <div class="legend-title">Location</div>
                 <div class="legend-title">LOCATION</div>
                 <div class="legend-primary">{{#show: {{{1}}} | ?Has locality}}{{#if: {{#show: {{{1}}} | ?Has district}} |, {{#show: {{{1}}} | ?Has district}} }}</div>
                 <div class="legend-primary">{{#show: {{{1}}} | ?Has locality}}{{#if: {{#show: {{{1}}} | ?Has district}} |, {{#show: {{{1}}} | ?Has district}} }}</div>
                 <div class="legend-secondary">{{#show: {{{1}}} | ?Has province}}, {{#show: {{{1}}} | ?Has country}}</div>
                 <div class="legend-secondary">{{#show: {{{1}}} | ?Has province}}, {{#show: {{{1}}} | ?Has country}}</div>
Line 79: Line 98:
                
                
               <div class="legend-section">
               <div class="legend-section">
                 <div class="legend-title">Coordinates</div>
                 <div class="legend-title">COORDINATES</div>
                 <div class="legend-coords">{{#show: {{{1}}} | ?Has GPS coordinates}}</div>
                 <div class="legend-coords">{{#show: {{{1}}} | ?Has GPS coordinates}}</div>
               </div>
               </div>
             </div>
             </div>
           |  
           |  
             <div style="color: #64748b;">
             <div style="color: #64748b; font-family: 'JetBrains Mono', monospace;">
               🗺️ Interactive Map<br><small>GPS coordinates needed</small>
               [GIS_SYSTEM_OFFLINE]<br><small>GPS coordinates required for mapping</small>
             </div>
             </div>
           }}
           }}
Line 92: Line 111:
     </div>
     </div>


     <!-- ===== DETAILS STRIP (NO MORE BREADCRUMB) ===== -->
     <!-- ===== RESEARCH METADATA 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 | default=NULL}}</div>
       </div>
       </div>


       <div class="detail-group">
       <div class="detail-group">
         <div class="detail-label">Type</div>
         <div class="detail-label">SAMPLE_TYPE</div>
         <div class="detail-value">{{#show: {{{1}}} | ?Has collection type | default=}}</div>
         <div class="detail-value">{{#show: {{{1}}} | ?Has collection type | default=NULL}}</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 | default=NULL}}</div>
       </div>
       </div>


       <div class="detail-group">
       <div class="detail-group">
         <div class="detail-label">Elevation</div>
         <div class="detail-label">ELEVATION_MSL</div>
         <div class="detail-value">{{#show: {{{1}}} | ?Has elevation | default=}}</div>
         <div class="detail-value">{{#show: {{{1}}} | ?Has elevation | default=NULL}}</div>
       </div>
       </div>


       <div class="detail-group">
       <div class="detail-group">
         <div class="detail-label">Collector</div>
         <div class="detail-label">RESEARCHER</div>
         <div class="detail-value">{{#show: {{{1}}} | ?Has collector | default=}}</div>
         <div class="detail-value">{{#show: {{{1}}} | ?Has collector | default=NULL}}</div>
       </div>
       </div>


       <div class="detail-group">
       <div class="detail-group">
         <div class="detail-label">Organisation</div>
         <div class="detail-label">INSTITUTION</div>
         <div class="detail-value">{{#show: {{{1}}} | ?Has collector affiliation | default=}}</div>
         <div class="detail-value">{{#show: {{{1}}} | ?Has collector affiliation | default=NULL}}</div>
       </div>
       </div>
     </div>
     </div>
   </div>
   </div>


   <!-- Content sections -->
   <!-- Research Documentation Sections -->
   {{BotanicalDescription|{{{1}}}}}
   {{BotanicalDescription|{{{1}}}}}
   {{EnvironmentalContext|{{{1}}}}}
   {{EnvironmentalContext|{{{1}}}}}

Revision as of 14:27, 17 September 2025