Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Home/FeaturedRegionCard: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<templatestyles src="Template:Home/FeaturedRegionCard/styles.css" />
<templatestyles src="Template:Home/FeaturedRegionCard/styles.css" />
<div class="fr-card">
<div class="fr-media">
{{#if:{{{HeroImage|}}}
|{{#ifexist:File:{{{HeroImage}}}
  |<span class="fr-img">[[File:{{{HeroImage}}}|link=|alt={{{RegionName|Untitled region}}}, {{{Country|}}}]]</span>
  |<span class="fr-img fr-img--placeholder">No image</span>}}
|<span class="fr-img fr-img--placeholder">No image</span>}}
</div>
<div class="fr-body">
<div class="fr-card fr--status-{{lc:{{{Status|unknown}}}}}">
<div class="fr-card fr--status-{{lc:{{{Status|unknown}}}}}">
   <div class="fr-media">
   <div class="fr-media">
Line 16: Line 7:
         |<span class="fr-img fr-img--placeholder">No image</span>}}
         |<span class="fr-img fr-img--placeholder">No image</span>}}
       |<span class="fr-img fr-img--placeholder">No image</span>}}
       |<span class="fr-img fr-img--placeholder">No image</span>}}
    <!-- NEW: status + accessions badge -->
     <span class="fr-badge">
     <span class="fr-badge">
       <i class="fr-dot" aria-hidden="true"></i>
       <i class="fr-dot" aria-hidden="true"></i>
Line 25: Line 15:


   <div class="fr-body">
   <div class="fr-body">
    <!-- remove the old <p class="fr-kicker">…</p> block entirely -->
     <h3 class="fr-title">
     <h3 class="fr-title">
       {{#ifexist:{{{Page|}}}|[[{{{Page}}}|{{{RegionName|Untitled region}}}]]|{{{RegionName|Untitled region}}}}}
       {{#ifexist:{{{Page|}}}|[[{{{Page}}}|{{{RegionName|Untitled region}}}]]|{{{RegionName|Untitled region}}}}}
Line 35: Line 24:
     </p>
     </p>
   </div>
   </div>
</div>
<h3 class="fr-title">
{{#ifexist:{{{Page|}}}|[[{{{Page}}}|{{{RegionName|Untitled region}}}]]|{{{RegionName|Untitled region}}}}}
</h3>
<p class="fr-sub">
{{#if:{{{GPName|}}}|{{{GPName}}} · }}{{#if:{{{Province|}}}|{{{Province}}}, }}{{{Country|}}}
</p>
<p class="fr-hook">{{{Hook|}}}</p>
<p class="fr-cta">
{{#ifexist:{{{Page|}}}|[[{{{Page}}}|→ View region]]|<span class="fr-missing">Region page coming soon</span>}}
</p>
</div>
</div>
</div>

Revision as of 06:26, 25 August 2025

   No image
   
     
     Unknown
     
   

Untitled region

Region page coming soon