Template:Accession: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) No edit summary |
Eloise Zomia (talk | contribs) No edit summary |
||
| Line 3: | Line 3: | ||
<div class="accession-simple"> | <div class="accession-simple"> | ||
<!-- ===== | <!-- ===== SCIENTIFIC RESEARCH DATABASE HEADER ===== --> | ||
<div class="hero-header"> | <div class="hero-header"> | ||
<div class="hero-top"> | <div class="hero-top"> | ||
<h1 class="hero-title">{{PAGENAME}}</h1> | <h1 class="hero-title">{{PAGENAME}}</h1> | ||
<div style="margin-top: 0. | |||
<div class="hero-subtitle" style="display: inline-block; margin-right: 0. | <!-- Technical data badges --> | ||
<div style="margin-top: 0.75rem;"> | |||
<div class="hero-subtitle" style="display: inline-block; margin-right: 0.75rem;">{{#show: {{{1}}} | ?Has accession ID | default=—}}</div> | |||
{{#if: {{#show: {{{1}}} | ?Has current status}} | | {{#if: {{#show: {{{1}}} | ?Has current status}} | | ||
<div class="hero-subtitle" style="display: inline-block; margin-right: 0. | <div class="hero-subtitle" style="display: inline-block; margin-right: 0.75rem;">{{#show: {{{1}}} | ?Has current status}}</div> }} | ||
{{#if: {{#show: {{{1}}} | ?Has documentation status}} | | {{#if: {{#show: {{{1}}} | ?Has documentation status}} | | ||
<div class="hero-subtitle" style="display: inline-block; margin-right: 0. | <div class="hero-subtitle" style="display: inline-block; margin-right: 0.75rem;">{{#show: {{{1}}} | ?Has documentation status}}</div> }} | ||
{{#if: {{#show: {{{1}}} | ?Has conservation priority}} | | {{#if: {{#show: {{{1}}} | ?Has conservation priority}} | | ||
<div class="hero-subtitle" style="display: inline-block;">{{#show: {{{1}}} | ?Has conservation priority}}</div> }} | <div class="hero-subtitle" style="display: inline-block; margin-right: 0.75rem;">{{#show: {{{1}}} | ?Has conservation priority}}</div> }} | ||
</div> | </div> | ||
<!-- | <!-- Scientific geographic hierarchy --> | ||
<div style="margin-top: 0.75rem;"> | <div style="margin-top: 0.75rem;"> | ||
{{#if: {{#show: {{{1}}} | ?Has regional complex}} | | {{#if: {{#show: {{{1}}} | ?Has regional complex}} | | ||
<div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem; background: rgba( | <div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem; background: rgba(5, 150, 105, 0.1); color: #10b981; border: 1px solid rgba(5, 150, 105, 0.2);">{{#show: {{{1}}} | ?Has regional complex}}</div> }} | ||
{{#if: {{#show: {{{1}}} | ?Has growing region}} | | {{#if: {{#show: {{{1}}} | ?Has growing region}} | | ||
<div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem; background: rgba( | <div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem; background: rgba(5, 150, 105, 0.1); color: #10b981; border: 1px solid rgba(5, 150, 105, 0.2);">{{#show: {{{1}}} | ?Has growing region}}</div> }} | ||
{{#if: {{#show: {{{1}}} | ?Has growing area}} | | {{#if: {{#show: {{{1}}} | ?Has growing area}} | | ||
<div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem; background: rgba( | <div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem; background: rgba(5, 150, 105, 0.1); color: #10b981; border: 1px solid rgba(5, 150, 105, 0.2);">{{#show: {{{1}}} | ?Has growing area}}</div> }} | ||
{{#if: {{#show: {{{1}}} | ?Has appellation}} | | {{#if: {{#show: {{{1}}} | ?Has appellation}} | | ||
<div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem; background: rgba( | <div class="hero-subtitle" style="display: inline-block; margin-right: 0.5rem; background: rgba(5, 150, 105, 0.1); color: #10b981; border: 1px solid rgba(5, 150, 105, 0.2);">{{#show: {{{1}}} | ?Has appellation}}</div> }} | ||
</div> | |||
<!-- Research status indicators --> | |||
<div class="hero-badges"> | |||
{{#if: {{#show: {{{1}}} | ?Has current status}} | | |||
{{#ifeq: {{#show: {{{1}}} | ?Has current status}} | Active/Cultivated | | |||
<div class="hero-badge badge-active">ACTIVE</div> | | |||
<div class="hero-badge">{{#show: {{{1}}} | ?Has current status}}</div> }} | |||
}} | |||
{{#if: {{#show: {{{1}}} | ?Has documentation status}} | | |||
{{#ifeq: {{#show: {{{1}}} | ?Has documentation status}} | Tier 1 | | |||
<div class="hero-badge badge-tier1">TIER-1</div> | | |||
<div class="hero-badge">{{#show: {{{1}}} | ?Has documentation status}}</div> }} | |||
}} | |||
{{#if: {{#show: {{{1}}} | ?Has conservation priority}} | | |||
{{#ifeq: {{#show: {{{1}}} | ?Has conservation priority}} | High (action needed within 5 years) | | |||
<div class="hero-badge badge-priority">HIGH-PRI</div> | | |||
<div class="hero-badge">{{#show: {{{1}}} | ?Has conservation priority}}</div> }} | |||
}} | |||
</div> | </div> | ||
</div> | </div> | ||
<!-- ===== | <!-- ===== RESEARCH DATA VISUALIZATION ===== --> | ||
<div class="hero-split"> | <div class="hero-split"> | ||
<!-- | <!-- Morphological Documentation --> | ||
<div class="hero-image"> | <div class="hero-image"> | ||
{{#if: {{#show: {{{1}}} | ?Has habitat photo filename}} | | {{#if: {{#show: {{{1}}} | ?Has habitat photo filename}} | | ||
[[File:{{#show: {{{1}}} | ?Has habitat photo filename}}| | [[File:{{#show: {{{1}}} | ?Has habitat photo filename}}|600x420px|{{PAGENAME}} morphological documentation|class=hero-img|link=]] | ||
|{{#if: {{#show: {{{1}}} | ?Has whole plant photo filename}} | | |{{#if: {{#show: {{{1}}} | ?Has whole plant photo filename}} | | ||
[[File:{{#show: {{{1}}} | ?Has whole plant photo filename}}| | [[File:{{#show: {{{1}}} | ?Has whole plant photo filename}}|600x420px|{{PAGENAME}} phenotype documentation|class=hero-img|link=]] | ||
|{{#if: {{#show: {{{1}}} | ?Has landscape photo filename}} | | |{{#if: {{#show: {{{1}}} | ?Has landscape photo filename}} | | ||
[[File:{{#show: {{{1}}} | ?Has landscape photo filename}}| | [[File:{{#show: {{{1}}} | ?Has landscape photo filename}}|600x420px|{{PAGENAME}} habitat analysis|class=hero-img|link=]] | ||
| | | | ||
<div class="photo-placeholder"> | <div class="photo-placeholder"> | ||
<div class="placeholder-content"> | <div class="placeholder-content"> | ||
<div class="placeholder-title">Morphological Documentation Protocol</div> | |||
<div class="placeholder-title"> | <div class="placeholder-subtitle">Standardized phenotypic characterization and habitat documentation preserves critical genetic heritage data for conservation analysis.</div> | ||
<div class="placeholder-subtitle"> | <div class="placeholder-instruction">UPLOAD: Habitat documentation → Set "Has habitat photo filename"</div> | ||
<div class="placeholder-instruction"> | |||
</div> | </div> | ||
</div> | </div> | ||
| Line 53: | Line 73: | ||
<div class="image-overlay"> | <div class="image-overlay"> | ||
<p class="image-caption"> | <p class="image-caption"> | ||
{{PAGENAME}} | [ACCESSION: {{PAGENAME}}] — In-situ cultivation documentation — Elevation: {{#show: {{{1}}} | ?Has elevation | default=DATA_MISSING}} | ||
</p> | </p> | ||
</div> | </div> | ||
</div> | </div> | ||
<!-- | <!-- Geographic Information System --> | ||
<div class="hero-map"> | <div class="hero-map"> | ||
<div class="map-container"> | <div class="map-container"> | ||
| Line 67: | Line 86: | ||
data-filter-accession="{{#show: {{{1}}} | ?Has accession ID | link=none}}" | data-filter-accession="{{#show: {{{1}}} | ?Has accession ID | link=none}}" | ||
data-zoom="12" | data-zoom="12" | ||
style="height: | style="height: 420px; width: 100%;"> | ||
</div> | </div> | ||
<!-- | <!-- Research Data Overlay --> | ||
<div class="map-legend"> | <div class="map-legend"> | ||
<div class="legend-section"> | <div class="legend-section"> | ||
<div class="legend-title"> | <div class="legend-title">LOCATION</div> | ||
<div class="legend-primary">{{#show: {{{1}}} | ?Has locality}}{{#if: {{#show: {{{1}}} | ?Has district}} |, {{#show: {{{1}}} | ?Has district}} }}</div> | <div class="legend-primary">{{#show: {{{1}}} | ?Has locality}}{{#if: {{#show: {{{1}}} | ?Has district}} |, {{#show: {{{1}}} | ?Has district}} }}</div> | ||
<div class="legend-secondary">{{#show: {{{1}}} | ?Has province}}, {{#show: {{{1}}} | ?Has country}}</div> | <div class="legend-secondary">{{#show: {{{1}}} | ?Has province}}, {{#show: {{{1}}} | ?Has country}}</div> | ||
| Line 79: | Line 98: | ||
<div class="legend-section"> | <div class="legend-section"> | ||
<div class="legend-title"> | <div class="legend-title">COORDINATES</div> | ||
<div class="legend-coords">{{#show: {{{1}}} | ?Has GPS coordinates}}</div> | <div class="legend-coords">{{#show: {{{1}}} | ?Has GPS coordinates}}</div> | ||
</div> | </div> | ||
</div> | </div> | ||
| | | | ||
<div style="color: #64748b;"> | <div style="color: #64748b; font-family: 'JetBrains Mono', monospace;"> | ||
[GIS_SYSTEM_OFFLINE]<br><small>GPS coordinates required for mapping</small> | |||
</div> | </div> | ||
}} | }} | ||
| Line 92: | Line 111: | ||
</div> | </div> | ||
<!-- ===== | <!-- ===== RESEARCH METADATA STRIP ===== --> | ||
<div class="hero-details"> | <div class="hero-details"> | ||
<div class="detail-group"> | <div class="detail-group"> | ||
<div class="detail-label"> | <div class="detail-label">COLLECTION_DATE</div> | ||
<div class="detail-value">{{#show: {{{1}}} | ?Has collection date | default= | <div class="detail-value">{{#show: {{{1}}} | ?Has collection date | default=NULL}}</div> | ||
</div> | </div> | ||
<div class="detail-group"> | <div class="detail-group"> | ||
<div class="detail-label"> | <div class="detail-label">SAMPLE_TYPE</div> | ||
<div class="detail-value">{{#show: {{{1}}} | ?Has collection type | default= | <div class="detail-value">{{#show: {{{1}}} | ?Has collection type | default=NULL}}</div> | ||
</div> | </div> | ||
<div class="detail-group"> | <div class="detail-group"> | ||
<div class="detail-label"> | <div class="detail-label">CLASSIFICATION</div> | ||
<div class="detail-value highlight">{{#show: {{{1}}} | ?Has classification | default= | <div class="detail-value highlight">{{#show: {{{1}}} | ?Has classification | default=NULL}}</div> | ||
</div> | </div> | ||
<div class="detail-group"> | <div class="detail-group"> | ||
<div class="detail-label"> | <div class="detail-label">ELEVATION_MSL</div> | ||
<div class="detail-value">{{#show: {{{1}}} | ?Has elevation | default= | <div class="detail-value">{{#show: {{{1}}} | ?Has elevation | default=NULL}}</div> | ||
</div> | </div> | ||
<div class="detail-group"> | <div class="detail-group"> | ||
<div class="detail-label"> | <div class="detail-label">RESEARCHER</div> | ||
<div class="detail-value">{{#show: {{{1}}} | ?Has collector | default= | <div class="detail-value">{{#show: {{{1}}} | ?Has collector | default=NULL}}</div> | ||
</div> | </div> | ||
<div class="detail-group"> | <div class="detail-group"> | ||
<div class="detail-label"> | <div class="detail-label">INSTITUTION</div> | ||
<div class="detail-value">{{#show: {{{1}}} | ?Has collector affiliation | default= | <div class="detail-value">{{#show: {{{1}}} | ?Has collector affiliation | default=NULL}}</div> | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
<!-- | <!-- Research Documentation Sections --> | ||
{{BotanicalDescription|{{{1}}}}} | {{BotanicalDescription|{{{1}}}}} | ||
{{EnvironmentalContext|{{{1}}}}} | {{EnvironmentalContext|{{{1}}}}} | ||