Template:Accession: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) Created page with "<!-- Beautiful Hero Section --> {{AccessionHero|{{{1}}}}} <!-- Temporary placeholder for detailed sections - will be added in next tasks --> <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..." Tag: Recreated |
Eloise Zomia (talk | contribs) No edit summary |
||
(88 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- | <includeonly> | ||
{{ | <templatestyles src="Template:Accession/styles.css" /> | ||
<div class="accession-simple"> | |||
<div class="hero-header"> | |||
<div class="hero-top"> | |||
<!-- Primary Title Section --> | |||
<div class="title-section"> | |||
<h1 class="hero-title">{{PAGENAME}}</h1> | |||
<!-- All badges in one compact row - FIXED --> | |||
<div class="header-badges-row"> | |||
<div style="display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center;"> | |||
<!-- Use only existing status-badge class --> | |||
<div class="status-badge">{{{accession_id|{{#show:{{PAGENAME}}|?Has accession ID|default=ZOM-2023-IN-HP-015}}}}}</div> | |||
<div class="status-badge">{{{appellation|{{#show:{{PAGENAME}}|?Has appellation|default=Malana Valley}}}}}</div> | |||
<div class="status-badge">{{{growing_area|{{#show:{{PAGENAME}}|?Has growing area|default=Parvati Valley}}}}}</div> | |||
<div class="status-badge status-active">{{{current_status|{{#show:{{PAGENAME}}|?Has current status|default=Active}}}}}</div> | |||
<div class="status-badge status-tier1">{{{documentation_status|{{#show:{{PAGENAME}}|?Has documentation status|default=Tier 1}}}}}</div> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
< | <div class="hero-split"> | ||
<div class=" | <div class="hero-image"> | ||
<div class="photo-placeholder"> | |||
<div class="placeholder-content"> | |||
< | <div class="placeholder-title">Morphological Documentation</div> | ||
<div class="placeholder-subtitle">Standardized phenotypic characterization and habitat documentation preserves critical genetic heritage data for conservation analysis and research applications.</div> | |||
</div> | |||
</div> | |||
<div class="image-overlay"> | |||
<p class="image-caption"> | |||
[ACCESSION: {{{accession_id|{{#show:{{PAGENAME}}|?Has accession ID|default=2023 Atolang General Population}}}}}] — In-situ cultivation documentation — Elevation: {{{elevation|{{#show:{{PAGENAME}}|?Has elevation|default=2,800}}}}} m | |||
</p> | |||
</div> | |||
</div> | |||
<div class="hero-map"> | |||
<div class="map-container"> | |||
<div style="color: #64748b; font-family: monospace;"> | |||
[Geographic mapping unavailable]<br><small>GPS coordinates required</small> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="hero-details"> | |||
<div class="detail-group"> | |||
<div class="detail-label">Collection date</div> | |||
<div class="detail-value"> | |||
{{{collection_date|{{#show:{{PAGENAME}}|?Has collection date|default=10 Oct 2023}}}}} | |||
</div> | |||
</div> | |||
<div class="detail-group"> | |||
<div class="detail-label">Sample type</div> | |||
<div class="detail-value"> | |||
{{{collection_type|{{#show:{{PAGENAME}}|?Has collection type|default=General Population}}}}} | |||
</div> | |||
</div> | |||
<div class="detail-group"> | |||
<div class="detail-label">Classification</div> | |||
<div class="detail-value highlight"> | |||
{{{classification|{{#show:{{PAGENAME}}|?Has classification|default=Landrace}}}}} | |||
</div> | |||
</div> | |||
<div class="detail-group"> | |||
<div class="detail-label">Elevation</div> | |||
<div class="detail-value"> | |||
{{{elevation|{{#show:{{PAGENAME}}|?Has elevation|default=2,800}}}}}<span class="unit">m</span> | |||
</div> | |||
</div> | |||
<div class="detail-group"> | |||
<div class="detail-label">Researcher</div> | |||
<div class="detail-value"> | |||
{{{collector|{{#show:{{PAGENAME}}|?Has collector|default=Eloise}}}}} | |||
</div> | |||
</div> | |||
<div class="detail-group"> | |||
<div class="detail-label">Institution</div> | |||
<div class="detail-value"> | |||
{{{collector_affiliation|{{#show:{{PAGENAME}}|?Has collector affiliation|default=Zomia Collective}}}}} | |||
</div> | |||
</div> | |||
<div class="detail-group"> | |||
<div class="detail-label">Location</div> | |||
<div class="detail-value"> | |||
{{{locality|{{#show:{{PAGENAME}}|?Has locality|default=Atolang}}}}}, {{{province|{{#show:{{PAGENAME}}|?Has province|default=HP}}}}} | |||
</div> | |||
</div> | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | |||
<!-- ===== TIER 1: ESSENTIAL DATA (RUDIMENTARY RENDER) ===== --> | |||
<div class="tier1"> | |||
< | <h2>Tier 1: Essential Data</h2> | ||
< | |||
<!-- Geographic Hierarchy --> | |||
<h3>Geographic Hierarchy</h3> | |||
{{#if: {{{growing_region|{{#show:{{PAGENAME}}|?Has growing region}}}}} | | |||
} | <div><span class="detail-label">Growing Region</span> <span class="detail-value">{{{growing_region|{{#show:{{PAGENAME}}|?Has growing region}}}}}</span></div> | ||
}} | |||
{{#if: {{{appellation|{{#show:{{PAGENAME}}|?Has appellation}}}}} | | |||
<div><span class="detail-label">Appellation</span> <span class="detail-value">{{{appellation|{{#show:{{PAGENAME}}|?Has appellation}}}}}</span></div> | |||
}} | |||
{{#if: {{{field|{{#show:{{PAGENAME}}|?Has field}}}}} | | |||
<div><span class="detail-label">Field</span> <span class="detail-value">{{{field|{{#show:{{PAGENAME}}|?Has field}}}}}</span></div> | |||
}} | |||
<!-- Primary Identification --> | |||
<h3>Primary Identification</h3> | |||
{{#if: {{{accession_id|{{#show:{{PAGENAME}}|?Has accession ID}}}}} | | |||
} | <div><span class="detail-label">Accession ID</span> <span class="detail-value">{{{accession_id|{{#show:{{PAGENAME}}|?Has accession ID}}}}}</span></div> | ||
}} | |||
{{#if: {{{collection_date|{{#show:{{PAGENAME}}|?Has collection date}}}}} | | |||
<div><span class="detail-label">Collection Date</span> <span class="detail-value">{{{collection_date|{{#show:{{PAGENAME}}|?Has collection date}}}}}</span></div> | |||
}} | |||
{{#if: {{{collection_type|{{#show:{{PAGENAME}}|?Has collection type}}}}} | | |||
<div><span class="detail-label">Collection Type</span> <span class="detail-value">{{{collection_type|{{#show:{{PAGENAME}}|?Has collection type}}}}}</span></div> | |||
}} | |||
{{#if: {{{documentation_status|{{#show:{{PAGENAME}}|?Has documentation status}}}}} | | |||
<div><span class="detail-label">Documentation Status</span> <span class="detail-value">{{{documentation_status|{{#show:{{PAGENAME}}|?Has documentation status}}}}}</span></div> | |||
}} | |||
{{#if: {{{classification|{{#show:{{PAGENAME}}|?Has classification}}}}} | | |||
<div><span class="detail-label">Classification</span> <span class="detail-value">{{{classification|{{#show:{{PAGENAME}}|?Has classification}}}}}</span></div> | |||
}} | |||
<!-- Geographic Data --> | |||
<h3>Geographic Data</h3> | |||
{{#if: {{{country|{{#show:{{PAGENAME}}|?Has country}}}}} | | |||
} | <div><span class="detail-label">Country</span> <span class="detail-value">{{{country|{{#show:{{PAGENAME}}|?Has country}}}}}</span></div> | ||
</ | }} | ||
{{#if: {{{province|{{#show:{{PAGENAME}}|?Has province}}}}} | | |||
<div><span class="detail-label">Province/State</span> <span class="detail-value">{{{province|{{#show:{{PAGENAME}}|?Has province}}}}}</span></div> | |||
}} | |||
{{#if: {{{locality|{{#show:{{PAGENAME}}|?Has locality}}}}} | | |||
<div><span class="detail-label">Locality/Village</span> <span class="detail-value">{{{locality|{{#show:{{PAGENAME}}|?Has locality}}}}}</span></div> | |||
}} | |||
{{#if: {{{gps_coordinates|{{#show:{{PAGENAME}}|?Has GPS coordinates}}}}} | | |||
<div><span class="detail-label">GPS Coordinates</span> <span class="detail-value">{{{gps_coordinates|{{#show:{{PAGENAME}}|?Has GPS coordinates}}}}}</span></div> | |||
}} | |||
{{#if: {{{elevation|{{#show:{{PAGENAME}}|?Has elevation}}}}} | | |||
<div><span class="detail-label">Elevation (meters)</span> <span class="detail-value">{{{elevation|{{#show:{{PAGENAME}}|?Has elevation}}}}}</span></div> | |||
}} | |||
{{#if: {{{descriptive_name|{{#show:{{PAGENAME}}|?Has descriptive name}}}}} | | |||
<div><span class="detail-label">Descriptive Name</span> <span class="detail-value">{{{descriptive_name|{{#show:{{PAGENAME}}|?Has descriptive name}}}}}</span></div> | |||
}} | |||
<!-- | <!-- Traditional Nomenclature --> | ||
{{#show: {{ | <h3>Traditional Nomenclature</h3> | ||
{{#show: {{ | {{#if: {{{primary_local_name|{{#show:{{PAGENAME}}|?Has primary local name}}}}} | | ||
{{#show: {{ | <div><span class="detail-label">Primary Local Name</span> <span class="detail-value">{{{primary_local_name|{{#show:{{PAGENAME}}|?Has primary local name}}}}}</span></div> | ||
{{#show: {{ | }} | ||
{{#if: {{{vernacular_translation|{{#show:{{PAGENAME}}|?Has vernacular translation}}}}} | | |||
<div><span class="detail-label">Vernacular Translation</span> <span class="detail-value">{{{vernacular_translation|{{#show:{{PAGENAME}}|?Has vernacular translation}}}}}</span></div> | |||
}} | |||
< | <!-- Collection Details --> | ||
== | <h3>Collection Details</h3> | ||
{{#if: {{{collector|{{#show:{{PAGENAME}}|?Has collector}}}}} | | |||
<div><span class="detail-label">Collector</span> <span class="detail-value">{{{collector|{{#show:{{PAGENAME}}|?Has collector}}}}}</span></div> | |||
}} | |||
{{#if: {{{collection_method|{{#show:{{PAGENAME}}|?Has collection method}}}}} | | |||
<div><span class="detail-label">Collection Method</span> <span class="detail-value">{{{collection_method|{{#show:{{PAGENAME}}|?Has collection method}}}}}</span></div> | |||
}} | |||
{{#if: {{{sample_size|{{#show:{{PAGENAME}}|?Has sample size}}}}} | | |||
<div><span class="detail-label">Sample Size</span> <span class="detail-value">{{{sample_size|{{#show:{{PAGENAME}}|?Has sample size}}}}}</span></div> | |||
}} | |||
{{#if: {{{sourcing_type|{{#show:{{PAGENAME}}|?Has sourcing type}}}}} | | |||
<div><span class="detail-label">Sourcing Type</span> <span class="detail-value">{{{sourcing_type|{{#show:{{PAGENAME}}|?Has sourcing type}}}}}</span></div> | |||
}} | |||
{{#if: {{{planting_method|{{#show:{{PAGENAME}}|?Has planting method}}}}} | | |||
<div><span class="detail-label">Planting Method</span> <span class="detail-value">{{{planting_method|{{#show:{{PAGENAME}}|?Has planting method}}}}}</span></div> | |||
}} | |||
<!-- Conservation Assessment --> | |||
<h3>Conservation Assessment</h3> | |||
{{#if: {{{cultivation_status|{{#show:{{PAGENAME}}|?Has cultivation status}}}}} | | |||
<div><span class="detail-label">Cultivation Status</span> <span class="detail-value">{{{cultivation_status|{{#show:{{PAGENAME}}|?Has cultivation status}}}}}</span></div> | |||
}} | |||
{{#if: {{{population_estimate|{{#show:{{PAGENAME}}|?Has population estimate}}}}} | | |||
<div><span class="detail-label">Population Estimate</span> <span class="detail-value">{{{population_estimate|{{#show:{{PAGENAME}}|?Has population estimate}}}}}</span></div> | |||
}} | |||
{{#if: {{{perceived_introgression_level|{{#show:{{PAGENAME}}|?Has perceived introgression level}}}}} | | |||
<div><span class="detail-label">Perceived Introgression Level</span> <span class="detail-value">{{{perceived_introgression_level|{{#show:{{PAGENAME}}|?Has perceived introgression level}}}}}</span></div> | |||
}} | |||
{{#if: {{{legal_enforcement_threats|{{#show:{{PAGENAME}}|?Has legal enforcement threats}}}}} | | |||
<div><span class="detail-label">Legal Enforcement Threats</span> <span class="detail-value">{{{legal_enforcement_threats|{{#show:{{PAGENAME}}|?Has legal enforcement threats}}}}}</span></div> | |||
}} | |||
{{#if: {{{conservation_priority|{{#show:{{PAGENAME}}|?Has conservation priority}}}}} | | |||
<div><span class="detail-label">Conservation Priority</span> <span class="detail-value">{{{conservation_priority|{{#show:{{PAGENAME}}|?Has conservation priority}}}}}</span></div> | |||
}} | |||
=== | <!-- Photo Documentation (booleans emit a pill when true) --> | ||
< | <h3>Photo Documentation</h3> | ||
<div style="display:flex;flex-wrap:wrap;gap:.5rem;"> | |||
{{#if: {{{whole_plant_photo|{{#show:{{PAGENAME}}|?Has whole plant in habitat photo}}}}} | <div class="status-badge">Whole plant in habitat photo</div> }} | |||
{{#if: {{{inflorescences_photo|{{#show:{{PAGENAME}}|?Has close-up inflorescences photo}}}}} | <div class="status-badge">Close-up inflorescences photo</div> }} | |||
{{#if: {{{habitat_overview_photo|{{#show:{{PAGENAME}}|?Has habitat overview photo}}}}} | <div class="status-badge">Habitat overview photo</div> }} | |||
{{#if: {{{flowering_branches_photo|{{#show:{{PAGENAME}}|?Has flowering branches photo}}}}} | <div class="status-badge">Flowering branches photo</div> }} | |||
{{#if: {{{harvest_photo|{{#show:{{PAGENAME}}|?Has harvest photo}}}}} | <div class="status-badge">Harvest photo</div> }} | |||
{{#if: {{{point_origin_doc|{{#show:{{PAGENAME}}|?Has point of origin documentation}}}}} | <div class="status-badge">Point of origin documented</div> }} | |||
{{#if: {{{geographic_hierarchy_recorded|{{#show:{{PAGENAME}}|?Has geographic hierarchy recorded}}}}} | <div class="status-badge">Geographic hierarchy recorded</div> }} | |||
{{#if: {{{gps_verified|{{#show:{{PAGENAME}}|?Has GPS coordinates verified}}}}} | <div class="status-badge">GPS coordinates verified</div> }} | |||
{{#if: {{{traditional_names_doc|{{#show:{{PAGENAME}}|?Has traditional names documented}}}}} | <div class="status-badge">Traditional names documented</div> }} | |||
{{#if: {{{conservation_status_assessed|{{#show:{{PAGENAME}}|?Has conservation status assessed}}}}} | <div class="status-badge">Conservation status assessed</div> }} | |||
</div> | |||
=== | <!-- Preservation Status --> | ||
<h3>Preservation Status</h3> | |||
{{#if: {{{seed_storage_location|{{#show:{{PAGENAME}}|?Has seed storage location}}}}} | | |||
<div><span class="detail-label">Seed Storage Location</span> <span class="detail-value">{{{seed_storage_location|{{#show:{{PAGENAME}}|?Has seed storage location}}}}}</span></div> | |||
}} | |||
{{#if: {{{seed_quantity|{{#show:{{PAGENAME}}|?Has seed quantity}}}}} | | |||
<div><span class="detail-label">Seed Quantity</span> <span class="detail-value">{{{seed_quantity|{{#show:{{PAGENAME}}|?Has seed quantity}}}}}</span></div> | |||
}} | |||
{{#if: {{{shared_community|{{#show:{{PAGENAME}}|?Has shared with community seed libraries}}}}} | | |||
<div><span class="detail-label">Shared with Community</span> <span class="detail-value">Yes</span></div> | |||
}} | |||
{{#if: {{{shared_preservationists|{{#show:{{PAGENAME}}|?Has shared with private preservationists}}}}} | | |||
<div><span class="detail-label">Shared with Preservationists</span> <span class="detail-value">Yes</span></div> | |||
}} | |||
=== | <!-- Field Management --> | ||
<h3>Field Management</h3> | |||
{{#if: {{{conservation_action_needed|{{#show:{{PAGENAME}}|?Has conservation action needed}}}}} | | |||
<div><span class="detail-label">Conservation Action Needed</span> <span class="detail-value">Yes</span></div> | |||
}} | |||
{{#if: {{{need_broader_sample|{{#show:{{PAGENAME}}|?Has need broader population sample}}}}} | | |||
<div><span class="detail-label">Need Broader Population Sample</span> <span class="detail-value">Yes</span></div> | |||
}} | |||
{{#if: {{{morphological_study_needed|{{#show:{{PAGENAME}}|?Has morphological study needed}}}}} | | |||
<div><span class="detail-label">Morphological Study Needed</span> <span class="detail-value">Yes</span></div> | |||
}} | |||
{{#if: {{{location_sensitivity|{{#show:{{PAGENAME}}|?Has location sensitivity}}}}} | | |||
<div><span class="detail-label">Location Sensitivity</span> <span class="detail-value">{{{location_sensitivity|{{#show:{{PAGENAME}}|?Has location sensitivity}}}}}</span></div> | |||
}} | |||
{{#if: {{{cultural_restrictions|{{#show:{{PAGENAME}}|?Has cultural restrictions}}}}} | | |||
<div><span class="detail-label">Cultural Restrictions</span> <span class="detail-value">{{{cultural_restrictions|{{#show:{{PAGENAME}}|?Has cultural restrictions}}}}}</span></div> | |||
}} | |||
{{#if: {{{legal_considerations|{{#show:{{PAGENAME}}|?Has legal considerations}}}}} | | |||
<div><span class="detail-label">Legal Considerations</span> <span class="detail-value">{{{legal_considerations|{{#show:{{PAGENAME}}|?Has legal considerations}}}}}</span></div> | |||
}} | |||
</div> | |||
</ | <!-- ===== /TIER 1 ===== --> | ||
``` |
Latest revision as of 13:37, 19 September 2025
Tier 1: Essential Data
Geographic Hierarchy
Primary Identification
Geographic Data
Traditional Nomenclature
Collection Details
Conservation Assessment
Photo Documentation
Preservation Status
Field Management
```