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
 
(27 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}}}}}
       
| image                      = {{{image|}}}
        <!-- All badges in one compact row -->
| image_alt                  = {{{image_alt|}}}
        <div class="header-badges-row">
| image_caption              = {{{image_caption|}}}
          <div style="display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center;">
| show_map                    = {{{show_map|}}}
            <!-- Accession ID -->
| accession_id                = {{{accession_id|}}}
            <div class="status-badge accession-id-badge">
| landrace_type               = {{{landrace_type|}}}
               {{{accession_id|{{#show:{{PAGENAME}}|?Has accession ID|default=ZOM-2023-IN-HP-015}}}}}
| chemotype                  = {{{chemotype|}}}
             </div>
| thc_content                = {{{thc_content|}}}
           
| cbd_content                = {{{cbd_content|}}}
            <!-- Geographic location -->
| flowering_time              = {{{flowering_time|}}}
            <div class="status-badge geographic-current">
| plant_height                = {{{plant_height|}}}
               {{{appellation|{{#show:{{PAGENAME}}|?Has appellation|default=Malana Valley}}}}}
| terpene_profile             = {{{terpene_profile|}}}
            </div>
| aroma                      = {{{aroma|}}}
            <div class="status-badge geographic-parent">
| growth_pattern              = {{{growth_pattern|}}}
              {{{growing_area|{{#show:{{PAGENAME}}|?Has growing area|default=Parvati Valley}}}}}
| leaf_shape                  = {{{leaf_shape|}}}
            </div>
| leaflet_count               = {{{leaflet_count|}}}
           
| photoperiod_response        = {{{photoperiod_response|}}}
             <!-- Conservation status -->
| flower_structure            = {{{flower_structure|}}}
            <div class="status-badge status-active">
| gene_pool                  = {{{gene_pool|}}}
              {{{current_status|{{#show:{{PAGENAME}}|?Has current status|default=Active}}}}}
| regional_complex            = {{{regional_complex|}}}
             </div>
| growing_region              = {{{growing_region|}}}
            <div class="status-badge status-tier1">
| growing_area                = {{{growing_area|}}}
               {{{documentation_status|{{#show:{{PAGENAME}}|?Has documentation status|default=Tier 1}}}}}
| appellation                = {{{appellation|}}}
            </div>
| field                      = {{{field|}}}
          </div>
| country                    = {{{country|}}}
        </div>
| province                    = {{{province|}}}
       </div>
| district                    = {{{district|}}}
 
| subdistrict                = {{{subdistrict|}}}
      <!-- Removed Quick Actions Section - MediaWiki handles this natively -->
| locality                    = {{{locality|}}}
    </div>
| gps_coordinates             = {{{gps_coordinates|}}}
 
| elevation                  = {{{elevation|}}}
    <div class="hero-split">
| primary_local_name          = {{{primary_local_name|}}}
      <div class="hero-image">
| vernacular_translation      = {{{vernacular_translation|}}}
        <div class="photo-placeholder">
| classification              = {{{classification|}}}
          <div class="placeholder-content">
| collection_type             = {{{collection_type|}}}
            <div class="placeholder-title">Morphological Documentation</div>
| sourcing_type               = {{{sourcing_type|}}}
            <div class="placeholder-subtitle">Standardized phenotypic characterization and habitat documentation preserves critical genetic heritage data for conservation analysis and research applications.</div>
| documentation_status       = {{{documentation_status|}}}
          </div>
| collection_date            = {{{collection_date|}}}
         </div>
| collector                  = {{{collector|}}}
        <div class="image-overlay">
| collector_affiliation       = {{{collector_affiliation|}}}
          <p class="image-caption">
| collection_method          = {{{collection_method|}}}
            [ACCESSION: {{{accession_id|{{#show:{{PAGENAME}}|?Has accession ID|default=2023 Atolang General Population}}}}}] — In-situ cultivation documentation — Elevation: {{{elevation|{{#show:{{PAGENAME}}|?Has elevation|default=2,800}}}}} m
| sample_size                = {{{sample_size|}}}
          </p>
| conservation_priority      = {{{conservation_priority|}}}
        </div>
| cultivation_status          = {{{cultivation_status|}}}
      </div>
| population_estimate         = {{{population_estimate|}}}
      <div class="hero-map">
| perceived_introgression_level = {{{perceived_introgression_level|}}}
        <div class="map-container">
| legal_enforcement_threats  = {{{legal_enforcement_threats|}}}
          <div style="color: #64748b; font-family: monospace;">
| seed_storage_location      = {{{seed_storage_location|}}}
            [Geographic mapping unavailable]<br><small>GPS coordinates required</small>
| seed_quantity              = {{{seed_quantity|}}}
          </div>
| last_updated                = {{{last_updated|}}}
        </div>
}}
      </div>
{{#set:
    </div>
|Has accession ID={{{accession_id|}}}
 
|Has descriptive name={{{descriptive_name|{{PAGENAME}}}}}
    <div class="hero-details">
|Has landrace type={{{landrace_type|}}}
      <div class="detail-group">
|Has chemotype={{{chemotype|}}}
        <div class="detail-label">Collection date</div>
|Has THC content={{{thc_content|}}}
        <div class="detail-value">
|Has CBD content={{{cbd_content|}}}
          {{{collection_date|{{#show:{{PAGENAME}}|?Has collection date|default=10 Oct 2023}}}}}
|Has flowering time={{{flowering_time|}}}
        </div>
|Has plant height={{{plant_height|}}}
      </div>
|Has terpene profile={{{terpene_profile|}}}
      <div class="detail-group">
|Has aroma={{{aroma|}}}
        <div class="detail-label">Sample type</div>
|Has growth pattern={{{growth_pattern|}}}
        <div class="detail-value">
|Has leaf shape={{{leaf_shape|}}}
          {{{collection_type|{{#show:{{PAGENAME}}|?Has collection type|default=General Population}}}}}
|Has leaflet count={{{leaflet_count|}}}
        </div>
|Has photoperiod response={{{photoperiod_response|}}}
      </div>
|Has flower structure={{{flower_structure|}}}
      <div class="detail-group">
|Has gene pool={{{gene_pool|}}}
        <div class="detail-label">Classification</div>
|Has regional complex={{{regional_complex|}}}
        <div class="detail-value highlight">
|Has growing region={{{growing_region|}}}
          {{{classification|{{#show:{{PAGENAME}}|?Has classification|default=Landrace}}}}}
|Has growing area={{{growing_area|}}}
        </div>
|Has appellation={{{appellation|}}}
      </div>
|Has field={{{field|}}}
      <div class="detail-group">
|Has country={{{country|}}}
        <div class="detail-label">Elevation</div>
|Has province={{{province|}}}
        <div class="detail-value">
|Has district={{{district|}}}
          {{{elevation|{{#show:{{PAGENAME}}|?Has elevation|default=2,800}}}}}<span class="unit">m</span>
|Has subdistrict={{{subdistrict|}}}
        </div>
|Has locality={{{locality|}}}
      </div>
|Has GPS coordinates={{{gps_coordinates|}}}
      <div class="detail-group">
|Has elevation={{{elevation|}}}
        <div class="detail-label">Researcher</div>
|Has primary local name={{{primary_local_name|}}}
        <div class="detail-value">
|Has vernacular translation={{{vernacular_translation|}}}
          {{{collector|{{#show:{{PAGENAME}}|?Has collector|default=Eloise}}}}}
|Has classification={{{classification|}}}
        </div>
|Has collection type={{{collection_type|}}}
      </div>
|Has sourcing type={{{sourcing_type|}}}
      <div class="detail-group">
|Has documentation status={{{documentation_status|}}}
        <div class="detail-label">Institution</div>
|Has collection date={{{collection_date|}}}
        <div class="detail-value">
|Has collector={{{collector|}}}
          {{{collector_affiliation|{{#show:{{PAGENAME}}|?Has collector affiliation|default=Zomia Collective}}}}}
|Has collector affiliation={{{collector_affiliation|}}}
        </div>
|Has collection method={{{collection_method|}}}
      </div>
|Has sample size={{{sample_size|}}}
      <div class="detail-group">
|Has conservation priority={{{conservation_priority|}}}
        <div class="detail-label">Location</div>
|Has cultivation status={{{cultivation_status|}}}
        <div class="detail-value">
|Has population estimate={{{population_estimate|}}}
          {{{locality|{{#show:{{PAGENAME}}|?Has locality|default=Atolang}}}}}, {{{province|{{#show:{{PAGENAME}}|?Has province|default=HP}}}}}
|Has perceived introgression level={{{perceived_introgression_level|}}}
        </div>
|Has legal enforcement threats={{{legal_enforcement_threats|}}}
      </div>
|Has seed storage location={{{seed_storage_location|}}}
    </div>
|Has seed quantity={{{seed_quantity|}}}
  </div>
|Has last updated={{{last_updated|}}}
</div>
}}
</includeonly>
[[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