Toggle menu
49
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
 
(78 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
Backend template for accessions on Landrace.Wiki.
* Populated by [[Form:Accession]] (or future accession forms).
* Renders the infobox via {{Infobox accession}}.
* Sets core SemanticMediaWiki properties via {{#set}}.
</noinclude><includeonly>
{{Infobox accession
| descriptive_name            = {{{descriptive_name|{{PAGENAME}}}}}
| image                      = {{{image|}}}
| image_alt                  = {{{image_alt|}}}
| image_caption              = {{{image_caption|}}}
| show_map                    = {{{show_map|}}}
| accession_id                = {{{accession_id|}}}
| landrace_type              = {{{landrace_type|}}}
| chemotype                  = {{{chemotype|}}}
| thc_content                = {{{thc_content|}}}
| cbd_content                = {{{cbd_content|}}}
| flowering_time              = {{{flowering_time|}}}
| plant_height                = {{{plant_height|}}}
| terpene_profile            = {{{terpene_profile|}}}
| aroma                      = {{{aroma|}}}
| growth_pattern              = {{{growth_pattern|}}}
| leaf_shape                  = {{{leaf_shape|}}}
| leaflet_count              = {{{leaflet_count|}}}
| photoperiod_response        = {{{photoperiod_response|}}}
| flower_structure            = {{{flower_structure|}}}
| gene_pool                  = {{{gene_pool|}}}
| regional_complex            = {{{regional_complex|}}}
| growing_region              = {{{growing_region|}}}
| growing_area                = {{{growing_area|}}}
| appellation                = {{{appellation|}}}
| field                      = {{{field|}}}
| country                    = {{{country|}}}
| province                    = {{{province|}}}
| district                    = {{{district|}}}
| subdistrict                = {{{subdistrict|}}}
| locality                    = {{{locality|}}}
| gps_coordinates            = {{{gps_coordinates|}}}
| elevation                  = {{{elevation|}}}
| primary_local_name          = {{{primary_local_name|}}}
| vernacular_translation      = {{{vernacular_translation|}}}
| classification              = {{{classification|}}}
| collection_type            = {{{collection_type|}}}
| sourcing_type              = {{{sourcing_type|}}}
| documentation_status        = {{{documentation_status|}}}
| collection_date            = {{{collection_date|}}}
| collector                  = {{{collector|}}}
| collector_affiliation      = {{{collector_affiliation|}}}
| collection_method          = {{{collection_method|}}}
| sample_size                = {{{sample_size|}}}
| conservation_priority      = {{{conservation_priority|}}}
| cultivation_status          = {{{cultivation_status|}}}
| population_estimate        = {{{population_estimate|}}}
| perceived_introgression_level = {{{perceived_introgression_level|}}}
| legal_enforcement_threats  = {{{legal_enforcement_threats|}}}
| seed_storage_location      = {{{seed_storage_location|}}}
| seed_quantity              = {{{seed_quantity|}}}
| last_updated                = {{{last_updated|}}}
}}
{{#set:
|Has accession ID={{{accession_id|}}}
|Has descriptive name={{{descriptive_name|{{PAGENAME}}}}}
|Has landrace type={{{landrace_type|}}}
|Has chemotype={{{chemotype|}}}
|Has THC content={{{thc_content|}}}
|Has CBD content={{{cbd_content|}}}
|Has flowering time={{{flowering_time|}}}
|Has plant height={{{plant_height|}}}
|Has terpene profile={{{terpene_profile|}}}
|Has aroma={{{aroma|}}}
|Has growth pattern={{{growth_pattern|}}}
|Has leaf shape={{{leaf_shape|}}}
|Has leaflet count={{{leaflet_count|}}}
|Has photoperiod response={{{photoperiod_response|}}}
|Has flower structure={{{flower_structure|}}}
|Has gene pool={{{gene_pool|}}}
|Has regional complex={{{regional_complex|}}}
|Has growing region={{{growing_region|}}}
|Has growing area={{{growing_area|}}}
|Has appellation={{{appellation|}}}
|Has field={{{field|}}}
|Has country={{{country|}}}
|Has province={{{province|}}}
|Has district={{{district|}}}
|Has subdistrict={{{subdistrict|}}}
|Has locality={{{locality|}}}
|Has GPS coordinates={{{gps_coordinates|}}}
|Has elevation={{{elevation|}}}
|Has primary local name={{{primary_local_name|}}}
|Has vernacular translation={{{vernacular_translation|}}}
|Has classification={{{classification|}}}
|Has collection type={{{collection_type|}}}
|Has sourcing type={{{sourcing_type|}}}
|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]]
<includeonly>
<includeonly>
<templatestyles src="Template:Accession/styles.css" />
<div class="accession-simple">
  <!-- ===== HERO HEADER ===== -->
  <div class="hero-header">
    <div class="hero-top">
      <h1 class="hero-title">{{PAGENAME}}</h1>
      <div class="hero-subtitle">
        {{#show: {{{1}}} | ?Has accession ID | default=—}}
      </div>
      <!-- Pills (status / tier / priority) -->
      <div class="hero-badges">
        {{#if: {{#show: {{{1}}} | ?Has current status}} |
          <span class="hero-badge badge-active">{{#show: {{{1}}} | ?Has current status}}</span> }}
        {{#if: {{#show: {{{1}}} | ?Has documentation status}} |
          <span class="hero-badge badge-tier">{{#show: {{{1}}} | ?Has documentation status}}</span> }}
        {{#if: {{#show: {{{1}}} | ?Has conservation priority}} |
          <span class="hero-badge badge-priority">{{#show: {{{1}}} | ?Has conservation priority}}</span> }}
      </div>
    </div>
    <!-- ===== HERO SPLIT ===== -->
    <div class="hero-split">
      <!-- LEFT: PHOTO -->
      <div class="hero-image">
        {{#vardefine:hab|{{#show: {{{1}}} | ?Has habitat photo filename | link=none}}}}
        {{#vardefine:whole|{{#show: {{{1}}} | ?Has whole plant photo filename | link=none}}}}
        {{#vardefine:land|{{#show: {{{1}}} | ?Has landscape photo filename | link=none}}}}
        {{#if: {{#var:hab}}{{#var:whole}}{{#var:land}} |
          {{#if: {{#var:hab}} |
            [[File:{{#var:hab}}|600x400px|{{PAGENAME}} in natural habitat|class=hero-img|link=]]
          | {{#if: {{#var:whole}} |
              [[File:{{#var:whole}}|600x400px|{{PAGENAME}} whole plant|class=hero-img|link=]]
            | [[File:{{#var:land}}|600x400px|{{PAGENAME}} landscape|class=hero-img|link=]] }} }}
        |
          <div class="photo-placeholder">
            <div class="placeholder-content">
              <span class="placeholder-icon">🌿</span>
              <div class="placeholder-title">Genetic Heritage Documentation</div>
              <div class="placeholder-subtitle">Visual documentation preserves the morphology and cultivation context of this landrace population.</div>
              <div class="placeholder-instruction">Upload hab

Latest revision as of 02:20, 14 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}}.