Toggle menu
4
19
13
1.1K
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
Line 20: Line 20:
     <!-- Left: Plant Photography -->
     <!-- Left: Plant Photography -->
     <div class="hero-image">
     <div class="hero-image">
       <!-- Placeholder for main habitat photo -->
       <!-- Main habitat photo with fallback -->
       <img src="https://via.placeholder.com/600x400/22c55e/ffffff?text=Plant+in+Habitat"
       {{#if: {{#show: {{{1}}} | ?Has habitat photo filename}} |
          alt="{{PAGENAME}} in natural habitat" />
        [[File:{{#show: {{{1}}} | ?Has habitat photo filename}}|600x400px|{{PAGENAME}} in natural habitat]]
      |{{#if: {{#show: {{{1}}} | ?Has whole plant photo filename}} |
        [[File:{{#show: {{{1}}} | ?Has whole plant photo filename}}|600x400px|{{PAGENAME}} whole plant]]
      |{{#if: {{#show: {{{1}}} | ?Has landscape photo filename}} |
        [[File:{{#show: {{{1}}} | ?Has landscape photo filename}}|600x400px|{{PAGENAME}} landscape]]
      |
        <div style="width:100%; height:400px; background:#f1f5f9; display:table-cell; vertical-align:middle; text-align:center; color:#64748b;">
          📸 No habitat photo available<br>
          <small>Upload photo and add filename to<br>"Has habitat photo filename" property</small>
        </div>
      }}}}}}
     
       <div class="image-overlay">
       <div class="image-overlay">
         <p class="image-caption">{{PAGENAME}} growing in traditional cultivation at {{#show: {{{1}}} | ?Has elevation}}m elevation</p>
         <p class="image-caption">{{PAGENAME}} growing in traditional cultivation at {{#show: {{{1}}} | ?Has elevation}}m elevation</p>

Revision as of 05:33, 17 September 2025