Template:Businesses: Difference between revisions

From WikiDemocracy
Jump to navigationJump to search
No edit summary
No edit summary
Line 43: Line 43:
   }}
   }}


   <!-- Clickable Action Buttons (Render only if links are provided) -->
   <!-- Clickable Action Buttons (Render only if links are provided) -->  
  <div style="margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap;">
<div style="margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap;">  
    {{#if:{{{link|}}} |  
  {{#if:{{{link|}}} |  
      <a href="{{{link}}}" target="_blank" rel="noopener noreferrer" style="background: #17a2b8; color: white; padding: 10px 16px; text-decoration: none; border-radius: 6px; font-weight: bold;">🌐 Visit Website</a>  
    <span style="background: #17a2b8; padding: 10px 16px; border-radius: 6px; font-weight: bold;">[{{{link}}} <span style="color: white; text-decoration: none;">🌐 Visit Website</span>]</span>  
    }}
  }}  
    {{#if:{{{reviews|}}} |  
  {{#if:{{{reviews|}}} |  
      <a href="{{{reviews}}}" target="_blank" rel="noopener noreferrer" style="background: #f39c12; color: white; padding: 10px 16px; text-decoration: none; border-radius: 6px; font-weight: bold;">⭐ Read Reviews</a>  
    <span style="background: #f39c12; padding: 10px 16px; border-radius: 6px; font-weight: bold;">[{{{reviews}}} <span style="color: white; text-decoration: none;">⭐ Read Reviews</span>]</span>  
    }}
  }}  
  </div>
</div>
</div>
</div>


[[Category:Businesses]]
[[Category:Businesses]]
</includeonly>
</includeonly>