Template:Accession: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) No edit summary |
Eloise Zomia (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<templatestyles src="Template:Accession/styles.css" /> | <templatestyles src="Template:Accession/styles.css" /> | ||
<div class="hero-image"> | <!-- Beautiful Hero Section --> | ||
<div class="accession-hero"> | |||
<!-- 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 | link=none}} | | |||
[[{{#show: {{{1}}} | ?Has whole plant in habitat photo | link=none}}|frameless]] | |||
| | |||
<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> | </div> | ||
<!-- Gallery thumbnails --> | <!-- Gallery thumbnails --> | ||
<div class="gallery-thumbs"> | <div class="gallery-thumbs"> | ||
{{#if: {{#show: {{{1}}} | ?Has flowering branches photo | link=none}} | | |||
<div class="thumb active"> | |||
[[{{#show: {{{1}}} | ?Has flowering branches photo | link=none}}|80x60px]] | |||
<span class="thumb-label"> | <span class="thumb-label">Flowering</span> | ||
</div> | |||
}} | |||
{{#if: {{#show: {{{1}}} | ?Has close-up inflorescences photo | link=none}} | | |||
<div class="thumb"> | |||
[[{{#show: {{{1}}} | ?Has close-up inflorescences photo | link=none}}|80x60px]] | |||
<span class="thumb-label">Close-up</span> | |||
</div> | |||
}} | |||
{{#if: {{#show: {{{1}}} | ?Has habitat overview photo | link=none}} | | |||
<div class="thumb"> | |||
[[{{#show: {{{1}}} | ?Has habitat overview photo | link=none}}|80x60px]] | |||
<span class="thumb-label">Habitat</span> | |||
</div> | |||
}} | |||
{{#if: {{#show: {{{1}}} | ?Has farmer grower portraits | link=none}} | | |||
<div class="thumb"> | |||
[[{{#show: {{{1}}} | ?Has farmer grower portraits | link=none}}|80x60px]] | |||
<span class="thumb-label">Farmer</span> | |||
</div> | |||
}} | |||
</div> | </div> | ||
</div> | |||
</div> | |||
<!-- Key Stats Dashboard --> | <!-- Key Stats Dashboard --> | ||
Line 85: | Line 92: | ||
<div class="stat-content"> | <div class="stat-content"> | ||
<div class="stat-label">Location</div> | <div class="stat-label">Location</div> | ||
<div class="stat-value">{{#show: {{{1}}} | ?Has elevation | default=Unknown}}{{#if: {{#show: {{{1}}} | ?Has | <div class="stat-value">{{#show: {{{1}}} | ?Has elevation | default=Unknown}}</div> | ||
<div class="stat-detail"> | |||
{{#if: {{#show: {{{1}}} | ?Has GPS coordinates | link=none}} | | |||
{{#coordinates:{{#show: {{{1}}} | ?Has GPS coordinates | link=none}} | format=dd | directional=yes}} | |||
| Coordinates not specified}} | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
Line 97: | Line 108: | ||
<div class="stat-value">{{#show: {{{1}}} | ?Has documentation status | default=Unknown}}</div> | <div class="stat-value">{{#show: {{{1}}} | ?Has documentation status | default=Unknown}}</div> | ||
<div class="stat-detail"> | <div class="stat-detail"> | ||
{{#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 photographic metadata preserved | link=none}} | true | ✓ | ✗}} Photos • | ||
{{#ifeq: {{#show: {{{1}}} | ?Has chain of custody maintained | link=none}} | true | ✓ | ✗}} Custody | {{#ifeq: {{#show: {{{1}}} | ?Has chain of custody maintained | link=none}} | true | ✓ | ✗}} Custody | ||
</div> | </div> | ||
</div> | </div> | ||
Line 131: | Line 142: | ||
</div> | </div> | ||
}} | }} | ||
{{#if: {{#show: {{{1}}} | ?Has field}} | | {{#if: {{#show: {{{1}}} | ?Has field | link=none}} | | ||
<div class="breadcrumb-arrow">→</div> | {{#ifeq: {{#show: {{{1}}} | ?Has field | link=none}} | Various | ||
| | |||
| <div class="breadcrumb-arrow">→</div> | |||
<div class="breadcrumb-item current"> | |||
<span class="breadcrumb-text">{{#show: {{{1}}} | ?Has field}}</span> | |||
</div> | |||
}} | |||
}} | }} | ||
</div> | </div> | ||
Line 184: | Line 198: | ||
{{#if: {{#show: {{{1}}} | ?Has documentation status | link=none}} | {{Category link|{{#show: {{{1}}} | ?Has documentation status | link=none}}}} }} | {{#if: {{#show: {{{1}}} | ?Has documentation status | link=none}} | {{Category link|{{#show: {{{1}}} | ?Has documentation status | link=none}}}} }} | ||
{{#if: {{#show: {{{1}}} | ?Has conservation priority | link=none}} | {{Category link|{{#show: {{{1}}} | ?Has conservation priority | link=none}}}} }} | {{#if: {{#show: {{{1}}} | ?Has conservation priority | link=none}} | {{Category link|{{#show: {{{1}}} | ?Has conservation priority | link=none}}}} }} | ||
<noinclude> | <noinclude> | ||
== Complete Accession Template == | == Complete Accession Template == | ||
Usage: | |||
<pre>{{Accession|{{PAGENAME}}}}</pre> | <pre>{{Accession|{{PAGENAME}}}}</pre> | ||
Requires Template:Accession/styles.css and configured Semantic properties. | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 09:42, 16 September 2025
No primary image available
Conservation Status
Unknown
Status unknown
Collection
Date unknown
Type unknown • Collector unknown
Location
Unknown
Coordinates not specified
Documentation
Unknown
✗ Origin • ✗ Photos • ✗ Custody
Location coordinates not available
<button class="action-btn secondary">📁 Download Data</button>
📋 Detailed Information
Additional sections (botanical description, cultural context, conservation details) will be added here with beautiful, scannable design.
For now, all essential information is displayed in the hero section above.
Complete Accession Template
Usage:
{{Accession|{{PAGENAME}}}}
Requires Template:Accession/styles.css and configured Semantic properties.