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:Infobox accession: Difference between revisions

Template page
No edit summary
No edit summary
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{NAMESPACE}}|Template|
<includeonly>
<!-- Documentation / sandbox for the template namespace only -->
<templatestyles src="Template:Infobox accession/styles.css" />
|
{| class="infobox lw-infobox lw-infobox--accession"
<!-- Actual infobox output -->
{| class="infobox accession"
  style="float:right; clear:right; margin:0 0 1em 1em;
          width:270px; font-size:90%; background:#f8f9fa;
          border:1px solid #a2a9b1; border-collapse:collapse;"
|-
|-
! colspan="2"
! colspan="2" class="lw-infobox__title" | {{{descriptive_name|{{PAGENAME}}}}}
  style="text-align:center; font-size:115%; font-weight:bold;
        background:#eeeeee; padding:0.3em 0.4em;" |
  {{{descriptive_name|{{PAGENAME}}}}}
 
<!-- Hero image -->
|-
|-
| colspan="2" style="text-align:center; padding:0.3em 0.4em;" |
{{#if:{{{accession_id|}}}|
{{#if: {{{image|}}}
! colspan="2" class="lw-infobox__subtitle" {{!}} {{{accession_id}}}
| [[File:{{{image}}}|frameless|upright=1.2|alt={{{image_alt|}}}|center]]
{{!}}-
}}
}}
{{#if: {{{image_caption|}}}
{{#if:{{{image|}}}|
| <div style="font-size:88%; line-height:1.2; margin-top:0.2em;">{{{image_caption}}}</div>
{{!}} colspan="2" class="lw-infobox__media" {{!}} [[File:{{{image}}}|320px|{{{image_alt|{{{descriptive_name|{{PAGENAME}}}}}}}}]]
{{!}}-
{{#if:{{{image_caption|}}}|
{{!}} colspan="2" class="lw-infobox__caption" {{!}} {{{image_caption}}}
{{!}}-
}}
}}
<!-- Mini-map (only shows if lat/lon passed in) -->
|-
| colspan="2" style="text-align:center; padding:0.3em 0.4em;" |
{{#if: {{{lat|}}}{{{lon|}}}
| <div class="lw-mini-map"
        data-lat="{{{lat}}}" data-lon="{{{lon}}}"
        style="height:160px; width:100%;"></div>
}}
}}
 
{{#if:{{{show_map|}}}|
<!-- Identification -->
{{!}} colspan="2" class="lw-infobox__map-container" {{!}} <div class="lw-infobox__map lw-map" data-smw-query="[[Has accession ID::{{{accession_id}}}]]{{!}}?Has GPS coordinates{{!}}?Has descriptive name{{!}}?Has conservation priority{{!}}?Has accession ID"></div>
|-
{{!}}-
! colspan="2"
}}
  style="text-align:center; background:#eeeeee; padding:0.25em 0.4em;" |
{{#if:{{{landrace_type|}}}{{{chemotype|}}}{{{thc_content|}}}{{{cbd_content|}}}{{{flowering_time|}}}{{{plant_height|}}}{{{terpene_profile|}}}{{{aroma|}}}|
  Accession
{{!}}-
|-
! colspan="2" class="lw-infobox__section-header" {{!}} At a Glance
! style="white-space:nowrap; padding:0.2em 0.4em;" | Accession ID
{{!}}-
| style="padding:0.2em 0.4em;" | {{{accession_id|}}}
}}
|-
{{#if:{{{landrace_type|}}}|
! Classification
! class="lw-infobox__label" {{!}} Type
| {{{classification|}}}
{{!}} class="lw-infobox__value" {{!}} {{{landrace_type}}}
|-
{{!}}-
! Collection type
}}
| {{{collection_type|}}}
{{#if:{{{chemotype|}}}|
|-
! class="lw-infobox__label" {{!}} Chemotype
! Sourcing type
{{!}} class="lw-infobox__value" {{!}} {{{chemotype}}}
| {{{sourcing_type|}}}
{{!}}-
|-
}}
! Tier
{{#if:{{{thc_content|}}}|
| {{{documentation_status|}}}
! class="lw-infobox__label" {{!}} THC
 
{{!}} class="lw-infobox__value" {{!}} {{{thc_content}}}
<!-- Genepool / hierarchy -->
{{!}}-
|-
}}
! colspan="2"
{{#if:{{{cbd_content|}}}|
  style="text-align:center; background:#eeeeee; padding:0.25em 0.4em;" |
! class="lw-infobox__label" {{!}} CBD
  Genepool & hierarchy
{{!}} class="lw-infobox__value" {{!}} {{{cbd_content}}}
|-
{{!}}-
! Gene pool
}}
| {{{gene_pool|}}}
{{#if:{{{flowering_time|}}}|
|-
! class="lw-infobox__label" {{!}} Flowering Time
! Regional complex
{{!}} class="lw-infobox__value" {{!}} {{{flowering_time}}}
| {{{regional_complex|}}}
{{!}}-
|-
}}
! Growing region
{{#if:{{{plant_height|}}}|
| {{{growing_region|}}}
! class="lw-infobox__label" {{!}} Plant Height
|-
{{!}} class="lw-infobox__value" {{!}} {{{plant_height}}}
! Growing area
{{!}}-
| {{{growing_area|}}}
}}
|-
{{#if:{{{terpene_profile|}}}|
! Appellation
! class="lw-infobox__label" {{!}} Terpenes
| {{{appellation|}}}
{{!}} class="lw-infobox__value" {{!}} {{{terpene_profile}}}
|-
{{!}}-
! Field
}}
| {{{field|}}}
{{#if:{{{aroma|}}}|
 
! class="lw-infobox__label" {{!}} Aroma
<!-- Geography -->
{{!}} class="lw-infobox__value" {{!}} {{{aroma}}}
|-
{{!}}-
! colspan="2"
}}
  style="text-align:center; background:#eeeeee; padding:0.25em 0.4em;" |
{{#if:{{{growth_pattern|}}}{{{leaf_shape|}}}{{{leaflet_count|}}}{{{photoperiod_response|}}}{{{flower_structure|}}}|
  Location
{{!}}-
|-
! colspan="2" class="lw-infobox__section-header" {{!}} Botanical Characteristics
! Country
{{!}}-
| {{{country|}}}
}}
|-
{{#if:{{{growth_pattern|}}}|
! Province / State
! class="lw-infobox__label" {{!}} Growth Pattern
| {{{province|}}}
{{!}} class="lw-infobox__value" {{!}} {{{growth_pattern}}}
|-
{{!}}-
! District
}}
| {{{district|}}}
{{#if:{{{leaf_shape|}}}|
|-
! class="lw-infobox__label" {{!}} Leaf Shape
! Locality
{{!}} class="lw-infobox__value" {{!}} {{{leaf_shape}}}
| {{{locality|}}}
{{!}}-
|-
}}
! GPS
{{#if:{{{leaflet_count|}}}|
| {{{gps_coordinates|}}}
! class="lw-infobox__label" {{!}} Leaflets
|-
{{!}} class="lw-infobox__value" {{!}} {{{leaflet_count}}}
! Elevation (m)
{{!}}-
| {{{elevation|}}}
}}
 
{{#if:{{{photoperiod_response|}}}|
<!-- Names -->
! class="lw-infobox__label" {{!}} Photoperiod
|-
{{!}} class="lw-infobox__value" {{!}} {{{photoperiod_response}}}
! colspan="2"
{{!}}-
  style="text-align:center; background:#eeeeee; padding:0.25em 0.4em;" |
}}
  Traditional names
{{#if:{{{flower_structure|}}}|
|-
! class="lw-infobox__label" {{!}} Flower Structure
! Primary local name
{{!}} class="lw-infobox__value" {{!}} {{{flower_structure}}}
| {{{primary_local_name|}}}
{{!}}-
|-
}}
! Vernacular translation
{{#if:{{{gene_pool|}}}{{{regional_complex|}}}{{{growing_region|}}}{{{growing_area|}}}{{{appellation|}}}{{{field|}}}|
| {{{vernacular_translation|}}}
{{!}}-
 
! colspan="2" class="lw-infobox__section-header" {{!}} Hierarchy
<!-- Collection -->
{{!}}-
|-
}}
! colspan="2"
{{#if:{{{gene_pool|}}}|
  style="text-align:center; background:#eeeeee; padding:0.25em 0.4em;" |
! class="lw-infobox__label" {{!}} Gene Pool
  Collection
{{!}} class="lw-infobox__value" {{!}} {{{gene_pool}}}
|-
{{!}}-
! Collection date
}}
| {{{collection_date|}}}
{{#if:{{{regional_complex|}}}|
|-
! class="lw-infobox__label" {{!}} Regional Complex
! Collector
{{!}} class="lw-infobox__value" {{!}} {{{regional_complex}}}
| {{{collector|}}}
{{!}}-
|-
}}
! Affiliation
{{#if:{{{growing_region|}}}|
| {{{collector_affiliation|}}}
! class="lw-infobox__label" {{!}} Growing Region
|-
{{!}} class="lw-infobox__value" {{!}} [[{{{growing_region}}}]]
! Collection method
{{!}}-
| {{{collection_method|}}}
}}
|-
{{#if:{{{growing_area|}}}|
! Sample size
! class="lw-infobox__label" {{!}} Growing Area
| {{{sample_size|}}}
{{!}} class="lw-infobox__value" {{!}} [[{{{growing_area}}}]]
 
{{!}}-
<!-- Conservation -->
}}
|-
{{#if:{{{appellation|}}}|
! colspan="2"
! class="lw-infobox__label" {{!}} Appellation
  style="text-align:center; background:#eeeeee; padding:0.25em 0.4em;" |
{{!}} class="lw-infobox__value" {{!}} [[{{{appellation}}}]]
  Conservation
{{!}}-
|-
}}
! Cultivation status
{{#if:{{{field|}}}|
| {{{cultivation_status|}}}
! class="lw-infobox__label" {{!}} Field
|-
{{!}} class="lw-infobox__value" {{!}} [[{{{field}}}]]
! Conservation priority
{{!}}-
| {{{conservation_priority|}}}
}}
|-
{{#if:{{{country|}}}{{{province|}}}{{{district|}}}{{{subdistrict|}}}{{{locality|}}}{{{gps_coordinates|}}}{{{elevation|}}}|
! Population estimate
{{!}}-
| {{{population_estimate|}}}
! colspan="2" class="lw-infobox__section-header" {{!}} Location
|-
{{!}}-
! Introgression
}}
| {{{perceived_introgression_level|}}}
{{#if:{{{country|}}}|
|-
! class="lw-infobox__label" {{!}} Country
! Legal threats
{{!}} class="lw-infobox__value" {{!}} {{{country}}}
| {{{legal_enforcement_threats|}}}
{{!}}-
 
}}
<!-- Preservation -->
{{#if:{{{province|}}}|
|-
! class="lw-infobox__label" {{!}} Province
! colspan="2"
{{!}} class="lw-infobox__value" {{!}} {{{province}}}
  style="text-align:center; background:#eeeeee; padding:0.25em 0.4em;" |
{{!}}-
  Preservation
}}
|-
{{#if:{{{district|}}}|
! Seed storage
! class="lw-infobox__label" {{!}} District
| {{{seed_storage_location|}}}
{{!}} class="lw-infobox__value" {{!}} {{{district}}}
|-
{{!}}-
! Seed quantity
}}
| {{{seed_quantity|}}}
{{#if:{{{subdistrict|}}}|
 
! class="lw-infobox__label" {{!}} Subdistrict
<!-- Meta -->
{{!}} class="lw-infobox__value" {{!}} {{{subdistrict}}}
|-
{{!}}-
! Last updated
}}
| {{{last_updated|}}}
{{#if:{{{locality|}}}|
! class="lw-infobox__label" {{!}} Locality
{{!}} class="lw-infobox__value" {{!}} {{{locality}}}
{{!}}-
}}
{{#if:{{{gps_coordinates|}}}|
! class="lw-infobox__label" {{!}} Coordinates
{{!}} class="lw-infobox__value" {{!}} {{{gps_coordinates}}}
{{!}}-
}}
{{#if:{{{elevation|}}}|
! class="lw-infobox__label" {{!}} Elevation
{{!}} class="lw-infobox__value" {{!}} {{{elevation}}} m
{{!}}-
}}
{{#if:{{{primary_local_name|}}}{{{vernacular_translation|}}}|
{{!}}-
! colspan="2" class="lw-infobox__section-header" {{!}} Traditional Names
{{!}}-
}}
{{#if:{{{primary_local_name|}}}|
! class="lw-infobox__label" {{!}} Local Name
{{!}} class="lw-infobox__value" {{!}} {{{primary_local_name}}}
{{!}}-
}}
{{#if:{{{vernacular_translation|}}}|
! class="lw-infobox__label" {{!}} Translation
{{!}} class="lw-infobox__value" {{!}} {{{vernacular_translation}}}
{{!}}-
}}
{{#if:{{{classification|}}}{{{collection_type|}}}{{{sourcing_type|}}}{{{documentation_status|}}}{{{collection_date|}}}{{{collector|}}}{{{collector_affiliation|}}}{{{farmer|}}}{{{collection_method|}}}{{{sample_size|}}}|
{{!}}-
! colspan="2" class="lw-infobox__section-header" {{!}} Collection
{{!}}-
}}
{{#if:{{{classification|}}}|
! class="lw-infobox__label" {{!}} Classification
{{!}} class="lw-infobox__value" {{!}} {{{classification}}}
{{!}}-
}}
{{#if:{{{collection_type|}}}|
! class="lw-infobox__label" {{!}} Collection Type
{{!}} class="lw-infobox__value" {{!}} {{{collection_type}}}
{{!}}-
}}
{{#if:{{{sourcing_type|}}}|
! class="lw-infobox__label" {{!}} Sourcing Type
{{!}} class="lw-infobox__value" {{!}} {{{sourcing_type}}}
{{!}}-
}}
{{#if:{{{collection_method|}}}|
! class="lw-infobox__label" {{!}} Method
{{!}} class="lw-infobox__value" {{!}} {{{collection_method}}}
{{!}}-
}}
{{#if:{{{documentation_status|}}}|
! class="lw-infobox__label" {{!}} Documentation Tier
{{!}} class="lw-infobox__value" {{!}} {{{documentation_status}}}
{{!}}-
}}
{{#if:{{{collection_date|}}}|
! class="lw-infobox__label" {{!}} Date
{{!}} class="lw-infobox__value" {{!}} {{{collection_date}}}
{{!}}-
}}
{{#if:{{{collector|}}}|
! class="lw-infobox__label" {{!}} Collector
{{!}} class="lw-infobox__value" {{!}} {{{collector}}}
{{!}}-
}}
{{#if:{{{collector_affiliation|}}}|
! class="lw-infobox__label" {{!}} Affiliation
{{!}} class="lw-infobox__value" {{!}} {{{collector_affiliation}}}
{{!}}-
}}
{{#if:{{{farmer|}}}|
! class="lw-infobox__label" {{!}} Farmer
{{!}} class="lw-infobox__value" {{!}} {{{farmer}}}
{{!}}-
}}
{{#if:{{{sample_size|}}}|
! class="lw-infobox__label" {{!}} Sample Size
{{!}} class="lw-infobox__value" {{!}} {{{sample_size}}}
{{!}}-
}}
{{#if:{{{conservation_priority|}}}{{{cultivation_status|}}}{{{population_estimate|}}}{{{perceived_introgression_level|}}}{{{legal_enforcement_threats|}}}|
{{!}}-
! colspan="2" class="lw-infobox__section-header" {{!}} Conservation
{{!}}-
}}
{{#if:{{{conservation_priority|}}}|
! class="lw-infobox__label" {{!}} Priority
{{!}} class="lw-infobox__value" {{!}} <span class="lw-status lw-status--{{{conservation_priority}}}">{{{conservation_priority}}}</span>
{{!}}-
}}
{{#ifeq:{{{landrace_type|}}}|Feral||{{#if:{{{cultivation_status|}}}|
! class="lw-infobox__label" {{!}} Cultivation Status
{{!}} class="lw-infobox__value" {{!}} {{{cultivation_status}}}
{{!}}-
}}}}
{{#if:{{{population_estimate|}}}|
! class="lw-infobox__label" {{!}} Population Est.
{{!}} class="lw-infobox__value" {{!}} {{{population_estimate}}}
{{!}}-
}}
{{#if:{{{perceived_introgression_level|}}}|
! class="lw-infobox__label" {{!}} Introgression
{{!}} class="lw-infobox__value" {{!}} {{{perceived_introgression_level}}}
{{!}}-
}}
{{#if:{{{legal_enforcement_threats|}}}|
! class="lw-infobox__label" {{!}} Legal Threats
{{!}} class="lw-infobox__value" {{!}} {{{legal_enforcement_threats}}}
{{!}}-
}}
{{#if:{{{seed_storage_location|}}}{{{seed_quantity|}}}{{{last_updated|}}}|
{{!}}-
! colspan="2" class="lw-infobox__section-header" {{!}} Preservation
{{!}}-
}}
{{#if:{{{seed_storage_location|}}}|
! class="lw-infobox__label" {{!}} Seed Storage
{{!}} class="lw-infobox__value" {{!}} {{{seed_storage_location}}}
{{!}}-
}}
{{#if:{{{seed_quantity|}}}|
! class="lw-infobox__label" {{!}} Seed Quantity
{{!}} class="lw-infobox__value" {{!}} {{{seed_quantity}}}
{{!}}-
}}
{{#if:{{{last_updated|}}}|
! class="lw-infobox__label" {{!}} Last Updated
{{!}} class="lw-infobox__value" {{!}} {{{last_updated}}}
{{!}}-
}}
|}
|}
}}
</includeonly>
<noinclude>
Documentation goes here.
</noinclude>

Revision as of 11:04, 12 January 2026


Documentation goes here.