Toggle menu
46
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
(85 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).
 
* Renders the infobox via {{Infobox accession}}.
<div class="hero-header">
* Sets core SemanticMediaWiki properties via {{#set}}.
  <!-- Top section with title and badges -->
</noinclude>
  <div class="hero-top">
{{Infobox accession
    <h1 class="hero-title">{{PAGENAME}}</h1>
| descriptive_name            = {{{descriptive_name|{{PAGENAME}}}}}
    <div class="hero-subtitle">{{#show: {{{1}}} | ?Has accession ID}}</div>
| image                      = {{{image|}}}
   
| image_alt                  = {{{image_alt|}}}
    <div class="hero-badges">
| image_caption              = {{{image_caption|}}}
      <span class="hero-badge badge-active">{{#show: {{{1}}} | ?Has current status}}</span>
| show_map                    = {{{show_map|}}}
      <span class="hero-badge badge-tier1">{{#show: {{{1}}} | ?Has documentation status}}</span>
| accession_id                = {{{accession_id|}}}
      <span class="hero-badge badge-priority">{{#show: {{{1}}} | ?Has conservation priority}}</span>
| landrace_type              = {{{landrace_type|}}}
    </div>
| chemotype                  = {{{chemotype|}}}
  </div>
| thc_content                = {{{thc_content|}}}
 
| cbd_content                = {{{cbd_content|}}}
  <!-- Split layout section -->
| flowering_time              = {{{flowering_time|}}}
  <div class="hero-split">
| plant_height                = {{{plant_height|}}}
    <!-- Left: Plant Photography -->
| terpene_profile            = {{{terpene_profile|}}}
    <div class="hero-image">
| aroma                      = {{{aroma|}}}
      <!-- Placeholder for main habitat photo -->
| growth_pattern              = {{{growth_pattern|}}}
      <img src="https://via.placeholder.com/600x400/22c55e/ffffff?text=Plant+in+Habitat"
| leaf_shape                  = {{{leaf_shape|}}}
           alt="{{PAGENAME}} in natural habitat" />
| leaflet_count              = {{{leaflet_count|}}}
      <div class="image-overlay">
| photoperiod_response        = {{{photoperiod_response|}}}
        <p class="image-caption">{{PAGENAME}} growing in traditional cultivation at {{#show: {{{1}}} | ?Has elevation}}m elevation</p>
| flower_structure           = {{{flower_structure|}}}
      </div>
| gene_pool                  = {{{gene_pool|}}}
    </div>
| regional_complex            = {{{regional_complex|}}}
   
| growing_region              = {{{growing_region|}}}
    <!-- Right: Map -->
| growing_area                = {{{growing_area|}}}
    <div class="hero-map">
| appellation                = {{{appellation|}}}
      <div class="map-container">
| field                      = {{{field|}}}
        <!-- Placeholder for interactive map -->
| country                    = {{{country|}}}
        🗺️ Interactive Map<br>
| province                    = {{{province|}}}
        <small>GPS: {{#show: {{{1}}} | ?Has GPS coordinates}}</small>
| district                    = {{{district|}}}
      </div>
| subdistrict                = {{{subdistrict|}}}
     
| locality                    = {{{locality|}}}
      <!-- Location overlay -->
| gps_coordinates            = {{{gps_coordinates|}}}
      <div class="map-overlay">
| elevation                  = {{{elevation|}}}
        <h4>Location</h4>
| primary_local_name          = {{{primary_local_name|}}}
        <div class="location-hierarchy">
| vernacular_translation      = {{{vernacular_translation|}}}
          <div class="location-primary">{{#show: {{{1}}} | ?Has locality}}, {{#show: {{{1}}} | ?Has district}}</div>
| classification              = {{{classification|}}}
          <div class="location-secondary">{{#show: {{{1}}} | ?Has province}}, {{#show: {{{1}}} | ?Has country}}</div>
| collection_type            = {{{collection_type|}}}
        </div>
| sourcing_type              = {{{sourcing_type|}}}
       </div>
| documentation_status        = {{{documentation_status|}}}
     
| collection_date            = {{{collection_date|}}}
      <!-- Coordinates -->
| collector                  = {{{collector|}}}
      <div class="coordinates">
| collector_affiliation      = {{{collector_affiliation|}}}
         {{#show: {{{1}}} | ?Has GPS coordinates}}
| collection_method          = {{{collection_method|}}}
       </div>
| sample_size                = {{{sample_size|}}}
    </div>
| conservation_priority       = {{{conservation_priority|}}}
  </div>
| cultivation_status          = {{{cultivation_status|}}}
 
| population_estimate         = {{{population_estimate|}}}
  <!-- Bottom details strip -->
| perceived_introgression_level = {{{perceived_introgression_level|}}}
  <div class="hero-details">
| legal_enforcement_threats  = {{{legal_enforcement_threats|}}}
    <div class="detail-group">
| seed_storage_location       = {{{seed_storage_location|}}}
      <div class="detail-label">Collection Date</div>
| seed_quantity              = {{{seed_quantity|}}}
      <div class="detail-value">{{#show: {{{1}}} | ?Has collection date}}</div>
| last_updated                = {{{last_updated|}}}
    </div>
}}
   
{{#set:
    <div class="detail-group">
|Has accession ID={{{accession_id|}}}
      <div class="detail-label">Type</div>
|Has descriptive name={{{descriptive_name|{{PAGENAME}}}}}
      <div class="detail-value">{{#show: {{{1}}} | ?Has collection type}}</div>
|Has landrace type={{{landrace_type|}}}
    </div>
|Has chemotype={{{chemotype|}}}
   
|Has THC content={{{thc_content|}}}
    <div class="detail-group">
|Has CBD content={{{cbd_content|}}}
      <div class="detail-label">Classification</div>
|Has flowering time={{{flowering_time|}}}
      <div class="detail-value highlight">{{#show: {{{1}}} | ?Has classification}}</div>
|Has plant height={{{plant_height|}}}
    </div>
|Has terpene profile={{{terpene_profile|}}}
   
|Has aroma={{{aroma|}}}
    <div class="detail-group">
|Has growth pattern={{{growth_pattern|}}}
      <div class="detail-label">Elevation</div>
|Has leaf shape={{{leaf_shape|}}}
      <div class="detail-value">{{#show: {{{1}}} | ?Has elevation}}m</div>
|Has leaflet count={{{leaflet_count|}}}
    </div>
|Has photoperiod response={{{photoperiod_response|}}}
   
|Has flower structure={{{flower_structure|}}}
    <div class="detail-group">
|Has gene pool={{{gene_pool|}}}
      <div class="detail-label">Collector</div>
|Has regional complex={{{regional_complex|}}}
      <div class="detail-value">{{#show: {{{1}}} | ?Has collector}}</div>
|Has growing region={{{growing_region|}}}
    </div>
|Has growing area={{{growing_area|}}}
   
|Has appellation={{{appellation|}}}
    <!-- Geographic hierarchy breadcrumb -->
|Has field={{{field|}}}
    <div class="geographic-path">
|Has country={{{country|}}}
      <h4>Geographic Hierarchy</h4>
|Has province={{{province|}}}
      <div class="breadcrumb">
|Has district={{{district|}}}
        <span class="level">{{#show: {{{1}}} | ?Has regional complex}}</span>
|Has subdistrict={{{subdistrict|}}}
        <span class="separator">→</span>
|Has locality={{{locality|}}}
        <span class="level">{{#show: {{{1}}} | ?Has growing region}}</span>
|Has GPS coordinates={{{gps_coordinates|}}}
        <span class="separator">→</span>
|Has elevation={{{elevation|}}}
        <span class="level">{{#show: {{{1}}} | ?Has growing area}}</span>
|Has primary local name={{{primary_local_name|}}}
        <span class="separator">→</span>
|Has vernacular translation={{{vernacular_translation|}}}
        <span class="level">{{#show: {{{1}}} | ?Has appellation}}</span>
|Has classification={{{classification|}}}
      </div>
|Has collection type={{{collection_type|}}}
    </div>
|Has sourcing type={{{sourcing_type|}}}
  </div>
|Has documentation status={{{documentation_status|}}}
</div>
|Has collection date={{{collection_date|}}}
 
|Has collector={{{collector|}}}
<!-- Content sections -->
|Has collector affiliation={{{collector_affiliation|}}}
{{BotanicalDescription|{{{1}}}}}
|Has collection method={{{collection_method|}}}
{{EnvironmentalContext|{{{1}}}}}
|Has sample size={{{sample_size|}}}
 
|Has conservation priority={{{conservation_priority|}}}
</div>
|Has cultivation status={{{cultivation_status|}}}
</includeonly>
|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]]

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