Toggle menu
44
33
34
2.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
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<noinclude>
<templatestyles src="Template:Accession/styles.css" />
Backend template for accessions on Landrace.Wiki.
<div class="accession-simple">
* Populated by [[Form:Accession]] (or future accession forms).
  <div class="hero-header">
* Renders the infobox via {{Infobox accession}}.
    <div class="hero-top">
* Sets core SemanticMediaWiki properties via {{#set}}.
      <!-- Primary Title Section -->
</noinclude>
      <div class="title-section">
{{Infobox accession
        <h1 class="hero-title">{{PAGENAME}}</h1>
| descriptive_name            = {{{descriptive_name|{{PAGENAME}}}}}
        <div class="accession-metadata">
| image                      = {{{image|}}}
          <div style="display: flex; gap: 0.5rem; flex-wrap: wrap;">
| image_alt                  = {{{image_alt|}}}
            <!-- Exact same structure as working status badges -->
| image_caption              = {{{image_caption|}}}
            <div class="status-badge accession-id-badge">{{#show:{{PAGENAME}}|?Has accession ID|default=ZOM-2023-IN-HP-015}}</div>
| show_map                    = {{{show_map|}}}
          </div>
| accession_id                = {{{accession_id|}}}
        </div>
| landrace_type              = {{{landrace_type|}}}
      </div>
| chemotype                  = {{{chemotype|}}}
 
| thc_content                = {{{thc_content|}}}
      <!-- Geographic Location Section -->
| cbd_content                = {{{cbd_content|}}}
      <div class="header-section">
| flowering_time              = {{{flowering_time|}}}
        <div class="section-label geographic">Geographic location</div>
| plant_height                = {{{plant_height|}}}
        <div style="display: flex; gap: 0.5rem; flex-wrap: wrap;">
| terpene_profile            = {{{terpene_profile|}}}
          <!-- Use exact same structure as working status badges -->
| aroma                      = {{{aroma|}}}
          <div class="status-badge geographic-current">{{#show:{{PAGENAME}}|?Has appellation|default=Malana Valley}}</div>
| growth_pattern              = {{{growth_pattern|}}}
          <div class="status-badge geographic-parent">{{#show:{{PAGENAME}}|?Has growing area|default=Parvati Valley}}</div>
| leaf_shape                  = {{{leaf_shape|}}}
        </div>
| leaflet_count              = {{{leaflet_count|}}}
      </div>
| photoperiod_response        = {{{photoperiod_response|}}}
 
| flower_structure            = {{{flower_structure|}}}
      <!-- Status Section -->
| gene_pool                  = {{{gene_pool|}}}
      <div class="header-section">
| regional_complex            = {{{regional_complex|}}}
        <div class="section-label status">Conservation status</div>
| growing_region              = {{{growing_region|}}}
        <div style="display: flex; gap: 0.5rem; flex-wrap: wrap;">
| growing_area                = {{{growing_area|}}}
          <div class="status-badge status-active">{{#show:{{PAGENAME}}|?Has current status|default=Active}}</div>
| appellation                 = {{{appellation|}}}
           <div class="status-badge status-tier1">{{#show:{{PAGENAME}}|?Has documentation status|default=Tier 1}}</div>
| field                      = {{{field|}}}
        </div>
| country                    = {{{country|}}}
      </div>
| province                    = {{{province|}}}
 
| district                    = {{{district|}}}
       <!-- Removed Quick Actions Section - MediaWiki handles this natively -->
| subdistrict                = {{{subdistrict|}}}
    </div>
| locality                    = {{{locality|}}}
 
| gps_coordinates            = {{{gps_coordinates|}}}
    <div class="hero-split">
| elevation                  = {{{elevation|}}}
      <div class="hero-image">
| primary_local_name          = {{{primary_local_name|}}}
         <div class="photo-placeholder">
| vernacular_translation      = {{{vernacular_translation|}}}
          <div class="placeholder-content">
| classification              = {{{classification|}}}
            <div class="placeholder-title">Morphological Documentation</div>
| collection_type            = {{{collection_type|}}}
            <div class="placeholder-subtitle">Standardized phenotypic characterization and habitat documentation preserves critical genetic heritage data for conservation analysis and research applications.</div>
| sourcing_type              = {{{sourcing_type|}}}
          </div>
| documentation_status        = {{{documentation_status|}}}
        </div>
| collection_date            = {{{collection_date|}}}
        <div class="image-overlay">
| collector                  = {{{collector|}}}
          <p class="image-caption">
| collector_affiliation      = {{{collector_affiliation|}}}
            [ACCESSION: {{#show:{{PAGENAME}}|?Has accession ID|default=2023 Atolang General Population}}] — In-situ cultivation documentation — Elevation: {{#show:{{PAGENAME}}|?Has elevation|default=2,800}} m
| collection_method           = {{{collection_method|}}}
          </p>
| sample_size                = {{{sample_size|}}}
        </div>
| conservation_priority       = {{{conservation_priority|}}}
      </div>
| cultivation_status          = {{{cultivation_status|}}}
      <div class="hero-map">
| population_estimate         = {{{population_estimate|}}}
        <div class="map-container">
| perceived_introgression_level = {{{perceived_introgression_level|}}}
          <div style="color: #64748b; font-family: monospace;">
| legal_enforcement_threats  = {{{legal_enforcement_threats|}}}
            [Geographic mapping unavailable]<br><small>GPS coordinates required</small>
| seed_storage_location      = {{{seed_storage_location|}}}
          </div>
| seed_quantity              = {{{seed_quantity|}}}
        </div>
| last_updated                = {{{last_updated|}}}
      </div>
}}
    </div>
{{#set:
 
|Has accession ID={{{accession_id|}}}
    <div class="hero-details">
|Has descriptive name={{{descriptive_name|{{PAGENAME}}}}}
      <div class="detail-group">
|Has landrace type={{{landrace_type|}}}
        <div class="detail-label">Collection date</div>
|Has chemotype={{{chemotype|}}}
        <div class="detail-value">{{#show:{{PAGENAME}}|?Has collection date|default=10 Oct 2023}}</div>
|Has THC content={{{thc_content|}}}
      </div>
|Has CBD content={{{cbd_content|}}}
      <div class="detail-group">
|Has flowering time={{{flowering_time|}}}
        <div class="detail-label">Sample type</div>
|Has plant height={{{plant_height|}}}
        <div class="detail-value">{{#show:{{PAGENAME}}|?Has collection type|default=General Population}}</div>
|Has terpene profile={{{terpene_profile|}}}
      </div>
|Has aroma={{{aroma|}}}
      <div class="detail-group">
|Has growth pattern={{{growth_pattern|}}}
        <div class="detail-label">Classification</div>
|Has leaf shape={{{leaf_shape|}}}
        <div class="detail-value highlight">{{#show:{{PAGENAME}}|?Has classification|default=Landrace}}</div>
|Has leaflet count={{{leaflet_count|}}}
      </div>
|Has photoperiod response={{{photoperiod_response|}}}
      <div class="detail-group">
|Has flower structure={{{flower_structure|}}}
        <div class="detail-label">Elevation</div>
|Has gene pool={{{gene_pool|}}}
        <div class="detail-value">{{#show:{{PAGENAME}}|?Has elevation|default=2,800}}<span class="unit">m</span></div>
|Has regional complex={{{regional_complex|}}}
      </div>
|Has growing region={{{growing_region|}}}
      <div class="detail-group">
|Has growing area={{{growing_area|}}}
        <div class="detail-label">Researcher</div>
|Has appellation={{{appellation|}}}
        <div class="detail-value">{{#show:{{PAGENAME}}|?Has collector|default=Eloise}}</div>
|Has field={{{field|}}}
      </div>
|Has country={{{country|}}}
      <div class="detail-group">
|Has province={{{province|}}}
        <div class="detail-label">Institution</div>
|Has district={{{district|}}}
        <div class="detail-value">{{#show:{{PAGENAME}}|?Has collector affiliation|default=Zomia Collective}}</div>
|Has subdistrict={{{subdistrict|}}}
      </div>
|Has locality={{{locality|}}}
      <div class="detail-group">
|Has GPS coordinates={{{gps_coordinates|}}}
        <div class="detail-label">Location</div>
|Has elevation={{{elevation|}}}
        <div class="detail-value">{{#show:{{PAGENAME}}|?Has locality|default=Atolang}}, {{#show:{{PAGENAME}}|?Has province|default=HP}}</div>
|Has primary local name={{{primary_local_name|}}}
      </div>
|Has vernacular translation={{{vernacular_translation|}}}
    </div>
|Has classification={{{classification|}}}
  </div>
|Has collection type={{{collection_type|}}}
</div>
|Has sourcing type={{{sourcing_type|}}}
</includeonly>
|Has documentation status={{{documentation_status|}}}
|Has collection date={{{collection_date|}}}
|Has collector={{{collector|}}}
|Has collector affiliation={{{collector_affiliation|}}}
|Has collection method={{{collection_method|}}}
|Has sample size={{{sample_size|}}}
|Has conservation priority={{{conservation_priority|}}}
|Has cultivation status={{{cultivation_status|}}}
|Has population estimate={{{population_estimate|}}}
|Has perceived introgression level={{{perceived_introgression_level|}}}
|Has legal enforcement threats={{{legal_enforcement_threats|}}}
|Has seed storage location={{{seed_storage_location|}}}
|Has seed quantity={{{seed_quantity|}}}
|Has last updated={{{last_updated|}}}
}}
[[Category:Accessions]]

Latest revision as of 10:38, 12 January 2026

Backend template for accessions on Landrace.Wiki.

  • Populated by Form:Accession (or future accession forms).
  • Renders the infobox via
Accession

.

  • Sets core SemanticMediaWiki properties via {{#set}}.


Accession