Template:Accession: Difference between revisions
Template page
More actions
| Eloise Zomia (talk | contribs) No edit summary | Eloise Zomia (talk | contribs) No edit summary Tag: Reverted | ||
| Line 1: | Line 1: | ||
| <templatestyles src="Template:Accession/styles.css" /> | <templatestyles src="Template:Accession/styles.css" /> | ||
| <div class="accession-simple"> | <div class="accession-simple"> | ||
| <div class="hero-header"> |   <!-- ===== HERO HEADER ===== --> | ||
|   <div class="hero-header"> | |||
|     <div class="hero-top"> | |||
|       <h1 class="hero-title">{{PAGENAME}}</h1> | |||
|       <div class="hero-subtitle">{{#show: {{{1}}} | ?Has accession ID | default=—}}</div> | |||
|       <div class="hero-badges"> | |||
|         {{#if: {{#show: {{{1}}} | ?Has current status}} | | |||
|           <span class="hero-badge badge-active">{{#show: {{{1}}} | ?Has current status}}</span> }} | |||
|         {{#if: {{#show: {{{1}}} | ?Has documentation status}} | | |||
|           <span class="hero-badge badge-tier">{{#show: {{{1}}} | ?Has documentation status}}</span> }} | |||
|         {{#if: {{#show: {{{1}}} | ?Has conservation priority}} | | |||
|           <span class="hero-badge badge-priority">{{#show: {{{1}}} | ?Has conservation priority}}</span> }} | |||
|       </div> | |||
|      </div> |      </div> | ||
|    </div> |    </div> | ||
|    <!--  |    <!-- ===== HERO SPLIT (GRID) ===== --> | ||
|    <div class="hero-split"> |    <div class="hero-split hero-split--grid"> | ||
|      <!--  | |||
|      <!-- LEFT: PHOTO --> | |||
|      <div class="hero-image"> |      <div class="hero-image"> | ||
|        {{#vardefine:hab|{{#show: {{{1}}} | ?Has habitat photo filename | link=none}}}} | |||
|        {{# |       {{#vardefine:whole|{{#show: {{{1}}} | ?Has whole plant photo filename | link=none}}}} | ||
|        {{#vardefine:land|{{#show: {{{1}}} | ?Has landscape photo filename | link=none}}}} | |||
|       {{#if: {{#var:hab}}{{#var:whole}}{{#var:land}} | | |||
|         {{#if: {{#var:hab}} | | |||
|           [[File:{{#var:hab}}|600x400px|class=hero-img|link=]] | |||
|         | {{#if: {{#var:whole}} | | |||
|             [[File:{{#var:whole}}|600x400px|class=hero-img|link=]] | |||
|           | [[File:{{#var:land}}|600x400px|class=hero-img|link=]] }} }} | |||
|        | |        | | ||
|          <div class="photo-placeholder"> |          <div class="photo-placeholder"> | ||
| Line 32: | Line 40: | ||
|              <span class="placeholder-icon">🌿</span> |              <span class="placeholder-icon">🌿</span> | ||
|              <div class="placeholder-title">Genetic Heritage Documentation</div> |              <div class="placeholder-title">Genetic Heritage Documentation</div> | ||
|              <div class="placeholder-subtitle">Visual documentation preserves  |              <div class="placeholder-subtitle">Visual documentation preserves morphology and cultivation context.</div> | ||
|              <div class="placeholder-instruction">Upload habitat photo →  |              <div class="placeholder-instruction">Upload habitat photo → add its title to <em>Has habitat photo filename</em></div> | ||
|            </div> |            </div> | ||
|          </div> |          </div> | ||
|        }} | |||
|        <!-- Image caption --> | |||
|        <div class="image-overlay"> |        <div class="image-overlay"> | ||
|          <p class="image-caption">{{PAGENAME}} growing in traditional cultivation at {{#show: {{{1}}} | ?Has elevation}} |          <p class="image-caption"> | ||
|           {{PAGENAME}} growing in traditional cultivation at | |||
|           {{#show: {{{1}}} | ?Has elevation | default=unknown}} elevation | |||
|         </p> | |||
|        </div> |        </div> | ||
|      </div> |      </div> | ||
|      <!--  |      <!-- RIGHT: MAP CARD --> | ||
|      <div class="hero-map"> |      <div class="hero-map"> | ||
|        <div class="map-container"> |        <div class="map-container">🗺️ Interactive Map</div> | ||
|        <!-- Location overlay --> |        <!-- Location overlay --> | ||
|        <div class="map-overlay"> |        <div class="map-overlay"> | ||
|          <h4>Location</h4> |          <h4>Location</h4> | ||
|          <div class="location-hierarchy"> |          <div class="location-hierarchy"> | ||
|            <div class="location-primary">{{#show: {{{1}}} | ?Has locality}}, {{#show: {{{1}}} | ?Has district}}</div> |            <div class="location-primary"> | ||
|            <div class="location-secondary">{{#show: {{{1}}} | ?Has province}}, {{#show: {{{1}}} | ?Has country}}</div> |             {{#show: {{{1}}} | ?Has locality | default=—}}{{#if: {{#show: {{{1}}}|?Has district}} |, }} {{#show: {{{1}}} | ?Has district }} | ||
|           </div> | |||
|            <div class="location-secondary"> | |||
|             {{#show: {{{1}}} | ?Has province | default=—}}, {{#show: {{{1}}} | ?Has country | default=—}} | |||
|           </div> | |||
|          </div> |          </div> | ||
|        </div> |        </div> | ||
|        <!-- Coordinates --> |        <!-- Coordinates chip --> | ||
|        <div class="coordinates"> |        <div class="coordinates"> | ||
|          {{#show: {{{1}}} | ?Has GPS coordinates}} |          {{#if: {{#show: {{{1}}} | ?Has GPS coordinates | link=none}} | | ||
|           {{#coordinates:{{#show: {{{1}}} | ?Has GPS coordinates | link=none}} | format=dd | directional=yes}} | |||
|         | }} | |||
|        </div> |        </div> | ||
|      </div> |      </div> | ||
|    </div> |    </div> | ||
|    <!--  |    <!-- ===== DETAILS STRIP ===== --> | ||
|    <div class="hero-details"> |    <div class="hero-details"> | ||
|      <div class="detail-group"> |      <div class="detail-group"> | ||
|        <div class="detail-label">Collection Date</div> |        <div class="detail-label">Collection Date</div> | ||
|        <div class="detail-value">{{#show: {{{1}}} | ?Has collection date}}</div> |        <div class="detail-value">{{#show: {{{1}}} | ?Has collection date | default=—}}</div> | ||
|      </div> |      </div> | ||
|      <div class="detail-group"> |      <div class="detail-group"> | ||
|        <div class="detail-label">Type</div> |        <div class="detail-label">Type</div> | ||
|        <div class="detail-value">{{#show: {{{1}}} | ?Has collection type}}</div> |        <div class="detail-value">{{#show: {{{1}}} | ?Has collection type | default=—}}</div> | ||
|      </div> |      </div> | ||
|      <div class="detail-group"> |      <div class="detail-group"> | ||
|        <div class="detail-label">Classification</div> |        <div class="detail-label">Classification</div> | ||
|        <div class="detail-value highlight">{{#show: {{{1}}} | ?Has classification}}</div> |        <div class="detail-value highlight">{{#show: {{{1}}} | ?Has classification | default=—}}</div> | ||
|      </div> |      </div> | ||
|      <div class="detail-group"> |      <div class="detail-group"> | ||
|        <div class="detail-label">Elevation</div> |        <div class="detail-label">Elevation</div> | ||
|        <div class="detail-value">{{#show: {{{1}}} | ?Has elevation}} |        <div class="detail-value"> | ||
|         {{#if: {{#show: {{{1}}} | ?Has elevation | link=none}} | | |||
|           {{#show: {{{1}}} | ?Has elevation | link=none}} | |||
|         | —}} | |||
|       </div> | |||
|      </div> |      </div> | ||
|      <div class="detail-group"> |      <div class="detail-group"> | ||
|        <div class="detail-label">Collector</div> |        <div class="detail-label">Collector</div> | ||
|        <div class="detail-value">{{#show: {{{1}}} | ?Has collector}}</div> |        <div class="detail-value">{{#show: {{{1}}} | ?Has collector | default=—}}</div> | ||
|      </div> |      </div> | ||
|   </div> | |||
|   <!-- ===== GEO BREADCRUMB ===== --> | |||
|   <div class="geographic-path"> | |||
|     <h4>Geographic Hierarchy</h4> | |||
|          <span class="level">{{#show: {{{1}}} | ?Has regional complex}}</span> |     <div class="breadcrumb"> | ||
|          <span class="separator">→</span> |       {{#if: {{#show: {{{1}}} | ?Has regional complex}} | | ||
|          <span class="level">{{#show: {{{1}}} | ?Has regional complex}}</span> }} | |||
|          <span class="separator">→</span> |       {{#if: {{#show: {{{1}}} | ?Has growing region}} | | ||
|          <span class="separator">→</span><span class="level">{{#show: {{{1}}} | ?Has growing region}}</span> }} | |||
|          <span class="separator">→</span> |       {{#if: {{#show: {{{1}}} | ?Has growing area}} | | ||
|          <span class="separator">→</span><span class="level">{{#show: {{{1}}} | ?Has growing area}}</span> }} | |||
|       {{#if: {{#show: {{{1}}} | ?Has appellation}} | | |||
|          <span class="separator">→</span><span class="level">{{#show: {{{1}}} | ?Has appellation}}</span> }} | |||
|      </div> |      </div> | ||
|    </div> |    </div> | ||
|   <!-- ===== DOC CHECKS (plain text, no frames) ===== --> | |||
|   <div class="doc-checks"> | |||
|     {{#ifeq: {{#show: {{{1}}} | ?Has point of origin documentation | link=none}} | true | ✓ | ✗}} Origin | |||
|     • {{#ifeq: {{#show: {{{1}}} | ?Has photographic metadata preserved | link=none}} | true | ✓ | ✗}} Photos | |||
|     • {{#ifeq: {{#show: {{{1}}} | ?Has chain of custody maintained | link=none}} | true | ✓ | ✗}} Custody | |||
|   </div> | |||
| </div> | </div> | ||
| <!--  | <!-- Optional content sections --> | ||
| {{BotanicalDescription|{{{1}}}}} | {{BotanicalDescription|{{{1}}}}} | ||
| {{EnvironmentalContext|{{{1}}}}} | {{EnvironmentalContext|{{{1}}}}} | ||
| </ | <noinclude> | ||
| </ | == Usage == | ||
| <pre>{{Accession|{{PAGENAME}}}}</pre> | |||
| Requires [[Template:Accession/styles.css]]. | |||
| [[Category:Templates]] | |||
| </noinclude> | |||
Revision as of 06:22, 17 September 2025
Accession
—
      
        
     {{#vardefine:hab|}}
     {{#vardefine:whole|}}
     {{#vardefine:land|}}
     [[File:{{#var:hab}}|600x400px|class=hero-img|link=]]
      
    🗺️ Interactive Map
      
      Collection Date
      —
    Type
      —
    Classification
      —
    Elevation
      —
Collector
      —
    Geographic Hierarchy
✗ Origin • ✗ Photos • ✗ Custody
Botanical Description
Plant Morphology
Height Range: m - m
Growth Pattern:
Branching:
Classification:
Leaf Characteristics
Shape:
Leaflet Count:
Serration:
Color:
Stem Properties
Internodal Distance: cm - cm
Color:
Thickness:
Structure:
Flowering Response
Photoperiod:
Initiation:
Duration: days
M/F Ratio:
Inflorescence Structure
Structure:
Flower Color:
Stigma Color:
Additional Notes:
Trichome Production
Density:
Characteristics:
Production Level:
Seed Production:
Climate Classification
Köppen Type:
Biome:
Ecoregion:
Precipitation Patterns
Annual Rainfall: mm
Wet Season:
Dry Season:
Temperature Range
Summer Max: °C
Summer Min: °C
Winter Max: °C
Winter Min: °C
Soil Characteristics
Observed Type:
Classification:
pH Level:
Water Source:
Associated Flora
Companion Plants:
Forest Type:
Habitat Notes:
Usage
{{Accession|{{PAGENAME}}}}
Requires Template:Accession/styles.css.