Template:Businesses: Difference between revisions
From WikiDemocracy
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
|address= | |address= | ||
|description= | |description= | ||
|contact= | |contact= | ||
|link= | |link= | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 36: | Line 36: | ||
}} | }} | ||
<!-- | |||
{{#if:{{{ | <!-- 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> | |||
[[Category:Businesses]] | [[Category:Businesses]] | ||
</includeonly> | </includeonly> | ||
Latest revision as of 15:38, 27 August 2026
This is the "Businesses" template. It should be called in the following format:
{{Businesses
|business_name=
|address=
|description=
|contact=
|link=
}}
Edit the page to see the template text. This template defines the table "Businesses". View table.