Toggle menu
84
103
34
3.2K
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
 
(120 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Template:Accession - Complete Clean Version ===
<noinclude>
 
Backend template for accessions on Landrace.Wiki.
<!-- Beautiful Hero Section - All in One Template -->
* Populated by [[Form:Accession]] (or future accession forms).
<div class="accession-hero">
* Renders the infobox via {{Infobox accession}}.
 
* Sets core SemanticMediaWiki properties via {{#set}}.
  <!-- Photo Gallery Section -->
  <div class="hero-gallery">
    <div class="gallery-main">
      <!-- Primary hero image -->
      <div class="hero-image">
        {{#if: {{#show: {{{1}}} | ?Has whole plant in habitat photo}} |
          <img src="/images/placeholder-plant.jpg" alt="{{PAGENAME}} in habitat" class="hero-img">
        |
          <div class="hero-placeholder">
            <div class="placeholder-icon">🌿</div>
            <div class="placeholder-text">No primary image available</div>
          </div>
        }}
       
        <!-- Image overlay with key info -->
        <div class="hero-overlay">
          <div class="hero-title">{{PAGENAME}}</div>
          <div class="hero-subtitle">{{#show: {{{1}}} | ?Has accession ID | default=Accession ID not specified}}</div>
          <div class="hero-location">
            {{#show: {{{1}}} | ?Has locality}}, {{#show: {{{1}}} | ?Has province}} • {{#show: {{{1}}} | ?Has collection date}}
          </div>
        </div>
      </div>
    </div>
   
    <!-- Gallery thumbnails -->
    <div class="gallery-thumbs">
      {{#if: {{#show: {{{1}}} | ?Has flowering branches photo}} |
        <div class="thumb active">
          <img src="/images/placeholder-flowering.jpg" alt="Flowering branches">
          <span class="thumb-label">Flowering</span>
        </div>
      }}
      {{#if: {{#show: {{{1}}} | ?Has close-up inflorescences photo}} |
        <div class="thumb">
          <img src="/images/placeholder-closeup.jpg" alt="Close-up inflorescences">
          <span class="thumb-label">Close-up</span>
        </div>
      }}
      {{#if: {{#show: {{{1}}} | ?Has habitat overview photo}} |
        <div class="thumb">
          <img src="/images/placeholder-habitat.jpg" alt="Habitat overview">
          <span class="thumb-label">Habitat</span>
        </div>
      }}
      {{#if: {{#show: {{{1}}} | ?Has farmer grower portraits}} |
        <div class="thumb">
          <img src="/images/placeholder-farmer.jpg" alt="Farmer portrait">
          <span class="thumb-label">Farmer</span>
        </div>
      }}
    </div>
  </div>
 
  <!-- Key Stats Dashboard -->
  <div class="hero-stats">
   
    <!-- Conservation Status Card -->
    <div class="stat-card status-card {{#switch: {{#show: {{{1}}} | ?Has conservation priority | link=none}}
      | Critical = critical
      | High = high 
      | Medium = medium
      | Low = low
      | #default = unknown
    }}">
      <div class="stat-icon">🛡️</div>
      <div class="stat-content">
        <div class="stat-label">Conservation Status</div>
        <div class="stat-value">{{#show: {{{1}}} | ?Has conservation priority | default=Unknown}}</div>
        <div class="stat-detail">{{#show: {{{1}}} | ?Has cultivation status | default=Status unknown}}</div>
      </div>
    </div>
 
    <!-- Collection Info Card -->
    <div class="stat-card collection-card">
      <div class="stat-icon">📅</div>
      <div class="stat-content">
        <div class="stat-label">Collection</div>
        <div class="stat-value">{{#show: {{{1}}} | ?Has collection date | default=Date unknown}}</div>
        <div class="stat-detail">{{#show: {{{1}}} | ?Has collection type | default=Type unknown}} • {{#show: {{{1}}} | ?Has collector | default=Collector unknown}}</div>
      </div>
    </div>
 
    <!-- Location Card -->
    <div class="stat-card location-card">
      <div class="stat-icon">📍</div>
      <div class="stat-content">
        <div class="stat-label">Location</div>
        <div class="stat-value">{{#show: {{{1}}} | ?Has elevation | default=Unknown}}{{#if: {{#show: {{{1}}} | ?Has elevation}} | m elevation | }}</div>
        <div class="stat-detail">{{#show: {{{1}}} | ?Has GPS coordinates | default=Coordinates not specified}}</div>
      </div>
    </div>
 
    <!-- Documentation Quality Card -->
    <div class="stat-card docs-card">
      <div class="stat-icon">📋</div>
      <div class="stat-content">
        <div class="stat-label">Documentation</div>
        <div class="stat-value">{{#show: {{{1}}} | ?Has documentation status | default=Unknown}}</div>
        <div class="stat-detail">
          {{#if: {{#show: {{{1}}} | ?Has point of origin documentation}} | ✓ | ✗}} Origin •
          {{#if: {{#show: {{{1}}} | ?Has photographic metadata preserved}} | ✓ | ✗}} Photos •
          {{#if: {{#show: {{{1}}} | ?Has chain of custody maintained}} | ✓ | ✗}} Custody
        </div>
      </div>
    </div>
 
  </div>
 
  <!-- Geographic Hierarchy Breadcrumb -->
  <div class="hero-breadcrumb">
    <div class="breadcrumb-container">
      <div class="breadcrumb-item">
        <span class="breadcrumb-icon">🌍</span>
        <span class="breadcrumb-text">{{#show: {{{1}}} | ?Has country | default=Unknown Country}}</span>
      </div>
      {{#if: {{#show: {{{1}}} | ?Has growing region}} |
        <div class="breadcrumb-arrow">→</div>
        <div class="breadcrumb-item">
          <span class="breadcrumb-text">{{#show: {{{1}}} | ?Has growing region}}</span>
        </div>
      }}
      {{#if: {{#show: {{{1}}} | ?Has growing area}} |
        <div class="breadcrumb-arrow">→</div>
        <div class="breadcrumb-item">
          <span class="breadcrumb-text">{{#show: {{{1}}} | ?Has growing area}}</span>
        </div>
      }}
      {{#if: {{#show: {{{1}}} | ?Has appellation}} |
        <div class="breadcrumb-arrow">→</div>
        <div class="breadcrumb-item">
          <span class="breadcrumb-text">{{#show: {{{1}}} | ?Has appellation}}</span>
        </div>
      }}
      {{#if: {{#show: {{{1}}} | ?Has field}} |
        <div class="breadcrumb-arrow">→</div>
        <div class="breadcrumb-item current">
          <span class="breadcrumb-text">{{#show: {{{1}}} | ?Has field}}</span>
        </div>
      }}
    </div>
  </div>
 
  <!-- Interactive Map Section -->
  <div class="hero-map">
    <div class="map-container">
      {{#if: {{#show: {{{1}}} | ?Has GPS coordinates}} |
        <!-- Map will be rendered here with coordinates -->
        <div class="map-placeholder">
          <div class="map-icon">🗺️</div>
          <div class="map-coords">{{#show: {{{1}}} | ?Has GPS coordinates}}</div>
          <div class="map-text">Interactive map loading...</div>
        </div>
      |
        <div class="map-unavailable">
          <div class="map-icon">📍</div>
          <div class="map-text">Location coordinates not available</div>
        </div>
      }}
    </div>
   
    <!-- Quick Actions -->
    <div class="map-actions">
      {{#if: {{#show: {{{1}}} | ?Has GPS coordinates}} |
        <button class="action-btn primary">📍 View on Map</button>
        <button class="action-btn secondary">🔗 Share Location</button>
      }}
      <button class="action-btn secondary">📁 Download Data</button>
    </div>
  </div>
 
</div>
 
<!-- Temporary placeholder for detailed sections -->
<div class="coming-soon">
  <div class="coming-soon-content">
    <h3>📋 Detailed Information</h3>
    <p>Additional sections (botanical description, cultural context, conservation details) will be added here with beautiful, scannable design.</p>
    <p><em>For now, all essential information is displayed in the hero section above.</em></p>
  </div>
</div>
 
<!-- ALL CSS STYLES IN ONE PLACE -->
<style>
.accession-hero {
  margin-bottom: 2rem;
}
 
/* Gallery Styles */
.hero-gallery {
  margin-bottom: 1.5rem;
}
 
.hero-image {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
 
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 
.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
}
 
.placeholder-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}
 
.placeholder-text {
  font-size: 1.1rem;
  font-weight: 500;
}
 
.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
}
 
.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
 
.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  font-family: 'SF Mono', monospace;
  margin-bottom: 0.5rem;
}
 
.hero-location {
  font-size: 1rem;
  opacity: 0.8;
}
 
.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0;
}
 
.thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  position: relative;
}
 
.thumb:hover, .thumb.active {
  opacity: 1;
  transform: scale(1.05);
}
 
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 
.thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.7rem;
  padding: 0.25rem;
  text-align: center;
}
 
/* Stats Dashboard */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
 
.stat-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}
 
.stat-card:hover {
  transform: translateY(-2px);
}
 
.stat-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}
 
.stat-content {
  flex: 1;
}
 
.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
 
.stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
}
 
.stat-detail {
  font-size: 0.85rem;
  color: #64748b;
}
 
/* Conservation Status Colors */
.status-card.critical {
  border-left: 4px solid #ef4444;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}
 
.status-card.high {
  border-left: 4px solid #f97316;
  background: linear-gradient(135deg, #fffbeb 0%, #fed7aa 100%);
}
 
.status-card.medium {
  border-left: 4px solid #eab308;
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
}
 
.status-card.low {
  border-left: 4px solid #22c55e;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}
 
/* Breadcrumb */
.hero-breadcrumb {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e2e8f0;
}
 
.breadcrumb-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
 
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: white;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  border: 1px solid #e2e8f0;
}
 
.breadcrumb-item.current {
  background: #2c5530;
  color: white;
  font-weight: 600;
}
 
.breadcrumb-arrow {
  color: #94a3b8;
  font-weight: bold;
}
 
.breadcrumb-icon {
  font-size: 1rem;
}
 
/* Map Section */
.hero-map {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
 
.map-container {
  height: 200px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
 
.map-placeholder, .map-unavailable {
  text-align: center;
  color: #64748b;
}
 
.map-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
 
.map-coords {
  font-family: 'SF Mono', monospace;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1e293b;
}
 
.map-text {
  font-size: 1rem;
  font-weight: 500;
}
 
.map-actions {
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}


.action-btn {
Normalization rule:
  padding: 0.75rem 1.5rem;
- Page-type fields must be plain titles (no [[...]]), multi-values separated by ", " (comma+space).
  border-radius: 8px;
</noinclude><includeonly>
  font-weight: 600;
{{#seo:
  font-size: 0.9rem;
|title={{{descriptive_name|{{PAGENAME}}}}}
  cursor: pointer;
|description={{{summary|Accession {{{accession_id|{{PAGENAME}}}}}. {{{locality|}}}{{#if:{{{growing_region|}}}| · {{{growing_region}}}|}}{{#if:{{{conservation_priority|}}}| · Priority: {{{conservation_priority}}}|}}}}}
  transition: all 0.3s ease;
|image={{{image|}}}
  border: none;
|image_alt={{{image_caption|{{{descriptive_name|{{PAGENAME}}}}}}}}
}
|type=article
}}
{{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|}}}
| classification                = {{{classification|}}}
| accession_type                = {{{accession_type|}}}
| selection_type                = {{{selection_type|}}}
| sexual_characteristics        = {{{sexual_characteristics|}}}
| chemotype                    = {{{chemotype|}}}
| primary_purpose              = {{{primary_purpose|}}}
| minimum_flowering_time        = {{{minimum_flowering_time|}}}
| maximum_flowering_time        = {{{maximum_flowering_time|}}}
| minimum_height                = {{{minimum_height|}}}
| maximum_height                = {{{maximum_height|}}}
| photoperiod_response          = {{{photoperiod_response|}}}
| growth_pattern                = {{{growth_pattern|}}}
| branching                    = {{{branching|}}}
| leaf_shape                    = {{{leaf_shape|}}}
| leaflet_count                = {{{leaflet_count|}}}
| leaf_color                    = {{{leaf_color|}}}
| stem_color                    = {{{stem_color|}}}
| stigma_color                  = {{{stigma_color|}}}
| serration                    = {{{serration|}}}
| flower_structure              = {{{flower_structure|}}}
| processing_method            = {{{processing_method|}}}
| aroma                        = {{{aroma|}}}
| effects                      = {{{effects|}}}
| terpene_profile              = {{{terpene_profile|}}}


.action-btn.primary {
| gene_pool                    = {{{gene_pool|}}}
  background: #2c5530;
| regional_complex              = {{{regional_complex|}}}
  color: white;
| growing_region                = {{{growing_region|}}}
}
| growing_area                  = {{{growing_area|}}}
| appellation                  = {{{appellation|}}}
| field                        = {{{field|}}}


.action-btn.primary:hover {
| country                      = {{{country|}}}
  background: #22452a;
| province                      = {{{province|}}}
  transform: translateY(-1px);
| admin_2                      = {{{admin_2|}}}
}
| admin_2_label                = {{{admin_2_label|District}}}
| admin_3                      = {{{admin_3|}}}
| admin_3_label                = {{{admin_3_label|Subdistrict}}}
| admin_4                      = {{{admin_4|}}}
| admin_4_label                = {{{admin_4_label|}}}
| locality                      = {{{locality|}}}
| coordinates                  = {{{coordinates|}}}
| elevation                    = {{{elevation|}}}
| aspect                        = {{{aspect|}}}


.action-btn.secondary {
| local_name                    = {{{local_name|}}}
  background: #f1f5f9;
| pronunciation                = {{{pronunciation|}}}
  color: #475569;
| vernacular_translation        = {{{vernacular_translation|}}}
  border: 1px solid #e2e8f0;
| synonyms                      = {{{synonyms|}}}
}


.action-btn.secondary:hover {
| collection_method            = {{{collection_method|}}}
  background: #e2e8f0;
| sourcing_type                = {{{sourcing_type|}}}
  transform: translateY(-1px);
| autochtonous                  = {{{autochtonous|}}}
}
| collection_date              = {{{collection_date|}}}
| sample_harvest_date          = {{{sample_harvest_date|}}}
| collector                    = {{{collector|}}}
| farmer_name                  = {{{farmer_name|}}}
| expedition_id                = {{{expedition_id|}}}


/* Coming Soon Placeholder */
| conservation_priority        = {{{conservation_priority|}}}
.coming-soon {
| cultivation_status            = {{{cultivation_status|}}}
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
| cultivation_system_type      = {{{cultivation_system_type|}}}
  border: 2px dashed #cbd5e0;
| cultivation_scale            = {{{cultivation_scale|}}}
  border-radius: 12px;
| legal_enforcement_threats    = {{{legal_enforcement_threats|}}}
  padding: 2rem;
| eradication_date              = {{{eradication_date|}}}
  margin: 2rem 0;
  text-align: center;
| population_estimate          = {{{population_estimate|}}}
}
| male_female_ratio            = {{{male_female_ratio|}}}
| population_hermaphroditism    = {{{population_hermaphroditism|}}}
| culling                      = {{{culling|}}}
| perceived_introgression_level = {{{perceived_introgression_level|}}}
| seed_sourcing                = {{{seed_sourcing|}}}
| planting_method              = {{{planting_method|}}}
| cycle_1_earliest_planting    = {{{cycle_1_earliest_planting|}}}
| cycle_1_latest_planting      = {{{cycle_1_latest_planting|}}}
| cycle_1_harvest_start        = {{{cycle_1_harvest_start|}}}
| cycle_1_harvest_end          = {{{cycle_1_harvest_end|}}}
| cycle_2_earliest_planting    = {{{cycle_2_earliest_planting|}}}
| cycle_2_latest_planting      = {{{cycle_2_latest_planting|}}}
| cycle_2_harvest_start        = {{{cycle_2_harvest_start|}}}
| cycle_2_harvest_end          = {{{cycle_2_harvest_end|}}}
| observed_soil_type            = {{{observed_soil_type|}}}
| soil_ph                      = {{{soil_ph|}}}


.coming-soon-content {
| seed_quantity                = {{{seed_quantity|}}}
  max-width: 500px;
| seed_weight                  = {{{seed_weight|}}}
  margin: 0 auto;
| seed_viability                = {{{seed_viability|}}}
}
| seed_storage_location        = {{{seed_storage_location|}}}
| mother_plant_id              = {{{mother_plant_id|}}}
| father_plant_id              = {{{father_plant_id|}}}
| related_accession            = {{{related_accession|}}}
| same_population_accessions    = {{{same_population_accessions|}}}
| processing_notes              = {{{processing_notes|}}}
}}


.coming-soon h3 {
{{#set:
  color: #475569;
|Has accession ID={{{accession_id|}}}
  margin-bottom: 1rem;
|Has descriptive name={{{descriptive_name|{{PAGENAME}}}}}
}
|Has image={{{image|}}}
|Has image caption={{{image_caption|}}}
|Has classification={{{classification|}}}
|Has accession type={{{accession_type|}}}
|Has selection type={{{selection_type|}}}
|Has sexual characteristics={{{sexual_characteristics|}}}
|Has chemotype={{{chemotype|}}}
|Has minimum flowering time={{{minimum_flowering_time|}}}
|Has maximum flowering time={{{maximum_flowering_time|}}}
|Has minimum height={{{minimum_height|}}}
|Has maximum height={{{maximum_height|}}}
|Has photoperiod response={{{photoperiod_response|}}}
|Has growth pattern={{{growth_pattern|}}}
|Has branching={{{branching|}}}
|Has leaf shape={{{leaf_shape|}}}
|Has leaflet count={{{leaflet_count|}}}
|Has serration={{{serration|}}}
|Has processing method={{{processing_method|}}}
|Has processing notes={{{processing_notes|}}}
|Has aroma={{{aroma|}}}
|Has effects={{{effects|}}}
|Has terpene profile={{{terpene_profile|}}}
|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 admin 2={{{admin_2|}}}
|Has admin 2 label={{{admin_2_label|}}}
|Has admin 3={{{admin_3|}}}
|Has admin 3 label={{{admin_3_label|}}}
|Has admin 4={{{admin_4|}}}
|Has admin 4 label={{{admin_4_label|}}}
|Has locality={{{locality|}}}
|Has coordinates={{{coordinates|}}}
|Has elevation={{{elevation|}}}
|Has aspect={{{aspect|}}}
|Has local name={{{local_name|}}}
|Has pronunciation={{{pronunciation|}}}
|Has vernacular translation={{{vernacular_translation|}}}
|Has synonyms={{{synonyms|}}}
|Has collection method={{{collection_method|}}}
|Has sourcing type={{{sourcing_type|}}}
|Has autochtonous={{{autochtonous|}}}
|Has collection date={{{collection_date|}}}
|Has sample harvest date={{{sample_harvest_date|}}}
|Has collector={{{collector|}}}
|Has farmer name={{{farmer_name|}}}
|Has expedition ID={{{expedition_id|}}}
|Has conservation priority={{{conservation_priority|}}}
|Has cultivation status={{{cultivation_status|}}}
|Has cultivation scale={{{cultivation_scale|}}}
|Has legal enforcement threats={{{legal_enforcement_threats|}}}
|Has eradication date={{{eradication_date|}}}
|Has population estimate={{{population_estimate|}}}
|Has male female ratio={{{male_female_ratio|}}}
|Has population hermaphroditism={{{population_hermaphroditism|}}}
|Has culling={{{culling|}}}
|Has perceived introgression level={{{perceived_introgression_level|}}}
|Has planting method={{{planting_method|}}}
|Has cycle 1 earliest planting={{{cycle_1_earliest_planting|}}}
|Has cycle 1 latest planting={{{cycle_1_latest_planting|}}}
|Has cycle 1 harvest start={{{cycle_1_harvest_start|}}}
|Has cycle 1 harvest end={{{cycle_1_harvest_end|}}}
|Has cycle 2 earliest planting={{{cycle_2_earliest_planting|}}}
|Has cycle 2 latest planting={{{cycle_2_latest_planting|}}}
|Has cycle 2 harvest start={{{cycle_2_harvest_start|}}}
|Has cycle 2 harvest end={{{cycle_2_harvest_end|}}}
|Has observed soil type={{{observed_soil_type|}}}
|Has soil pH={{{soil_ph|}}}
|Has seed quantity={{{seed_quantity|}}}
|Has seed weight={{{seed_weight|}}}
|Has seed viability={{{seed_viability|}}}
|Has seed storage location={{{seed_storage_location|}}}
|Has mother plant ID={{{mother_plant_id|}}}
|Has father plant ID={{{father_plant_id|}}}
|Has related accession={{{related_accession|}}}
|Has same population accessions={{{same_population_accessions|}}}
}}
{{#arraymap:{{{primary_purpose|}}}|, |x|{{#set:|Has primary purpose=x}}|}}
{{#arraymap:{{{flower_structure|}}}|, |x|{{#set:|Has flower structure=x}}|}}
{{#arraymap:{{{cultivation_system_type|}}}|, |x|{{#set:|Has cultivation system type=x}}|}}
{{#arraymap:{{{leaf_color|}}}|, |x|{{#set:|Has leaf color=x}}|}}
{{#arraymap:{{{stem_color|}}}|, |x|{{#set:|Has stem color=x}}|}}
{{#arraymap:{{{stigma_color|}}}|, |x|{{#set:|Has stigma color=x}}|}}
{{#arraymap:{{{seed_sourcing|}}}|, |x|{{#set:|Has seed sourcing=x}}|}}


.coming-soon p {
  color: #64748b;
  margin-bottom: 0.5rem;
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }
 
  .hero-stats {
    grid-template-columns: 1fr;
  }
 
  .breadcrumb-container {
    flex-direction: column;
    align-items: stretch;
  }
 
  .breadcrumb-arrow {
    transform: rotate(90deg);
    align-self: center;
  }
 
  .map-actions {
    flex-direction: column;
  }
}
</style>
<!-- Auto-categorization -->
{{#show: {{{1}}} | ?Has country | template=Category link | link=none | sep= }}
{{#show: {{{1}}} | ?Has growing region | template=Category link | link=none | sep= }}
{{#show: {{{1}}} | ?Has documentation status | template=Category link | link=none | sep= }}
{{#show: {{{1}}} | ?Has conservation priority | template=Category link | link=none | sep= }}
[[Category:Accessions]]
[[Category:Accessions]]
 
</includeonly>
<noinclude>
== Clean Accession Template ==
 
This is the new, clean accession template with beautiful hero section and all CSS included.
 
=== Usage ===
<pre>{{Accession|{{PAGENAME}}}}</pre>
 
=== Features ===
* Beautiful hero section with photo gallery
* Key statistics dashboard
* Geographic breadcrumb navigation 
* Conservation status indicators
* Location map integration
* Mobile-responsive design
* All CSS included in template
 
[[Category:Templates]]
</noinclude>

Latest revision as of 15:41, 3 February 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}}.

Normalization rule: - Page-type fields must be plain titles (no ...), multi-values separated by ", " (comma+space).