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
Line 1: Line 1:
{{#ifeq:{{NAMESPACE}}|Template|
<includeonly>
This is the visual infobox for accession pages on Landrace.Wiki.
<templatestyles src="Template:Infobox accession/styles.css" />
Do not call it directly; use {{:Accession}} on accession pages.
{| class="infobox lw-infobox lw-infobox--accession"
|
{| 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;"
 
<!-- Title -->
|-
|-
! colspan="2"
! colspan="2" class="lw-infobox__title" | {{{descriptive_name|{{PAGENAME}}}}}
  style="text-align:center; font-size:115%; font-weight:bold;
        background:#eaecf0; padding:0.3em 0.4em;" |
  {{{descriptive_name|{{PAGENAME}}}}}
 
<!-- Hero image -->
|-
|-
| colspan="2" style="text-align:center; padding:0.35em 0.4em;" |
{{#if:{{{accession_id|}}}|
{{#if: {{{image|}}}
! colspan="2" class="lw-infobox__subtitle" {{!}} {{{accession_id}}}
| [[File:{{{image}}}|frameless|upright=1.15|alt={{{image_alt|}}}|center]]
{{!}}-
}}
}}
{{#if: {{{image_caption|}}}
{{#if:{{{image|}}}|
| <div style="font-size:88%; line-height:1.3; margin-top:0.25em;">
{{!}} colspan="2" class="lw-infobox__media" {{!}} [[File:{{{image}}}|320px|{{{image_alt|{{{descriptive_name|{{PAGENAME}}}}}}}}]]
    {{{image_caption}}}
{{!}}-
  </div>
{{#if:{{{image_caption|}}}|
{{!}} colspan="2" class="lw-infobox__caption" {{!}} {{{image_caption}}}
{{!}}-
}}
}}
{{#if:{{{show_map|}}}|
{{!}} colspan="2" class="lw-infobox__map-container" {{!}} <div class="lw-infobox__map lw-map" data-smw-query="[[{{PAGENAME}}]]{{!}}?Has GPS coordinates{{!}}?Has descriptive name{{!}}?Has conservation priority{{!}}?Has accession ID"></div>
{{!}}-
}}
}}
<!-- Accession section -->
|-
|-
! colspan="2"
! colspan="2" class="lw-infobox__section-header" | Accession
  style="text-align:center; background:#eaecf0; padding:0.25em 0.4em;" |
  Accession
|-
|-
! style="white-space:nowrap; padding:0.2em 0.4em;" | Accession ID
{{#if:{{{classification|}}}|
| style="padding:0.2em 0.4em;" | {{{accession_id|}}}
! 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:{{{documentation_status|}}}|
! class="lw-infobox__label" {{!}} Documentation Tier
{{!}} class="lw-infobox__value" {{!}} {{{documentation_status}}}
{{!}}-
}}
{{#if:{{{conservation_priority|}}}|
! class="lw-infobox__label" {{!}} Conservation Priority
{{!}} class="lw-infobox__value" {{!}} <span class="lw-status lw-status--{{{conservation_priority}}}">{{{conservation_priority}}}</span>
{{!}}-
}}
|-
|-
! Classification
! colspan="2" class="lw-infobox__section-header" | Hierarchy
| {{{classification|}}}
|-
|-
! Collection type
{{#if:{{{gene_pool|}}}|
| {{{collection_type|}}}
! class="lw-infobox__label" {{!}} Gene Pool
{{!}} class="lw-infobox__value" {{!}} {{{gene_pool}}}
{{!}}-
}}
{{#if:{{{regional_complex|}}}|
! class="lw-infobox__label" {{!}} Regional Complex
{{!}} class="lw-infobox__value" {{!}} {{{regional_complex}}}
{{!}}-
}}
{{#if:{{{growing_region|}}}|
! class="lw-infobox__label" {{!}} Growing Region
{{!}} class="lw-infobox__value" {{!}} [[{{{growing_region}}}]]
{{!}}-
}}
{{#if:{{{growing_area|}}}|
! class="lw-infobox__label" {{!}} Growing Area
{{!}} class="lw-infobox__value" {{!}} [[{{{growing_area}}}]]
{{!}}-
}}
{{#if:{{{appellation|}}}|
! class="lw-infobox__label" {{!}} Appellation
{{!}} class="lw-infobox__value" {{!}} [[{{{appellation}}}]]
{{!}}-
}}
{{#if:{{{field|}}}|
! class="lw-infobox__label" {{!}} Field
{{!}} class="lw-infobox__value" {{!}} [[{{{field}}}]]
{{!}}-
}}
|-
|-
! Sourcing type
! colspan="2" class="lw-infobox__section-header" | Location
| {{{sourcing_type|}}}
|-
|-
! Tier
{{#if:{{{country|}}}|
| {{{documentation_status|}}}
! class="lw-infobox__label" {{!}} Country
 
{{!}} class="lw-infobox__value" {{!}} {{{country}}}
<!-- Genepool hierarchy -->
{{!}}-
}}
{{#if:{{{province|}}}|
! class="lw-infobox__label" {{!}} Province
{{!}} class="lw-infobox__value" {{!}} {{{province}}}
{{!}}-
}}
{{#if:{{{district|}}}|
! class="lw-infobox__label" {{!}} District
{{!}} class="lw-infobox__value" {{!}} {{{district}}}
{{!}}-
}}
{{#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
{{!}}-
}}
|-
|-
! colspan="2"
! colspan="2" class="lw-infobox__section-header" | Traditional Names
  style="text-align:center; background:#eaecf0; padding:0.25em 0.4em;" |
  Genepool & hierarchy
|-
|-
! Gene pool
{{#if:{{{primary_local_name|}}}|
| {{{gene_pool|}}}
! 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}}}
{{!}}-
}}
|-
|-
! Regional complex
! colspan="2" class="lw-infobox__section-header" | Collection
| {{{regional_complex|}}}
|-
|-
! Growing region
{{#if:{{{collection_date|}}}|
| {{{growing_region|}}}
! 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:{{{collection_method|}}}|
! class="lw-infobox__label" {{!}} Method
{{!}} class="lw-infobox__value" {{!}} {{{collection_method}}}
{{!}}-
}}
{{#if:{{{sample_size|}}}|
! class="lw-infobox__label" {{!}} Sample Size
{{!}} class="lw-infobox__value" {{!}} {{{sample_size}}}
{{!}}-
}}
|-
|-
! Growing area
! colspan="2" class="lw-infobox__section-header" | Conservation
| {{{growing_area|}}}
|-
|-
! Appellation
{{#if:{{{cultivation_status|}}}|
| {{{appellation|}}}
! 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}}}
{{!}}-
}}
|-
|-
! Field
! colspan="2" class="lw-infobox__section-header" | Preservation
| {{{field|}}}
 
<!-- Location -->
|-
|-
! colspan="2"
{{#if:{{{seed_storage_location|}}}|
  style="text-align:center; background:#eaecf0; padding:0.25em 0.4em;" |
! class="lw-infobox__label" {{!}} Seed Storage
  Location
{{!}} class="lw-infobox__value" {{!}} {{{seed_storage_location}}}
|-
{{!}}-
! Country
}}
| {{{country|}}}
{{#if:{{{seed_quantity|}}}|
|-
! class="lw-infobox__label" {{!}} Seed Quantity
! Province / state
{{!}} class="lw-infobox__value" {{!}} {{{seed_quantity}}}
| {{{province|}}}
{{!}}-
|-
}}
! District
{{#if:{{{last_updated|}}}|
| {{{district|}}}
! class="lw-infobox__label" {{!}} Last Updated
|-
{{!}} class="lw-infobox__value" {{!}} {{{last_updated}}}
! Locality
{{!}}-
| {{{locality|}}}
}}
|-
! Coordinates
| {{{gps_coordinates|}}}
|-
! Elevation (m)
| {{{elevation|}}}
 
<!-- Traditional names -->
|-
! colspan="2"
  style="text-align:center; background:#eaecf0; padding:0.25em 0.4em;" |
  Traditional names
|-
! Primary local name
| {{{primary_local_name|}}}
|-
! Vernacular translation
| {{{vernacular_translation|}}}
 
<!-- Collection -->
|-
! colspan="2"
  style="text-align:center; background:#eaecf0; padding:0.25em 0.4em;" |
  Collection
|-
! Collection date
| {{{collection_date|}}}
|-
! Collector
| {{{collector|}}}
|-
! Affiliation
| {{{collector_affiliation|}}}
|-
! Collection method
| {{{collection_method|}}}
|-
! Sample size
| {{{sample_size|}}}
 
<!-- Conservation -->
|-
! colspan="2"
  style="text-align:center; background:#eaecf0; padding:0.25em 0.4em;" |
  Conservation
|-
! Cultivation status
| {{{cultivation_status|}}}
|-
! Conservation priority
| {{{conservation_priority|}}}
|-
! Population estimate
| {{{population_estimate|}}}
|-
! Introgression
| {{{perceived_introgression_level|}}}
|-
! Legal threats
| {{{legal_enforcement_threats|}}}
 
<!-- Preservation -->
|-
! colspan="2"
  style="text-align:center; background:#eaecf0; padding:0.25em 0.4em;" |
  Preservation
|-
! Seed storage
| {{{seed_storage_location|}}}
|-
! Seed quantity
| {{{seed_quantity|}}}
 
<!-- Meta -->
|-
! Last updated
| {{{last_updated|}}}
|}
|}
}}
</includeonly>
<noinclude>
Documentation goes here.
</noinclude>

Revision as of 20:16, 11 January 2026


Documentation goes here.