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;"> | |||
{{#if:{{{link|}}} | | |||
<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|}}} | | |||
<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> | ||
[[Category:Businesses]] | [[Category:Businesses]] | ||
</includeonly> | </includeonly> | ||
Revision as of 02:43, 27 August 2026
This is the "Businesses" template. It should be called in the following format:
{{Businesses
|business_name=
|address=
|description=
|photos=
|contact=
|link=
|reviews=
}}
Edit the page to see the template text. This template defines the table "Businesses". View table.