Template:Business Solar: Difference between revisions

From WikiDemocracy
Jump to navigationJump to search
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Businesses" template.
This is the "Business Solar" template.


It should be called in the following format:
It should be called in the following format:


<pre>
<pre>
{{Businesses
{{Business Solar
|business_name=
|business_name=
|category=Solar
|category=Solar
Line 13: Line 13:
|address=
|address=
|description=
|description=
|seo_description=
|phone=
|phone=
|email=
|email=
Line 23: Line 24:


{{#cargo_declare:
{{#cargo_declare:
_table=Businesses
_table=Business_Solar
|business_name=String
|business_name=String
|category=String
|category=String
Line 37: Line 38:
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#seo:
{{#seo:
|title={{{business_name|}}} — Solar Business in {{{city|}}}, {{{state|}}}
|title={{{business_name|}}} — Solar Business in {{{city|}}}, {{{state|}}}
|description={{{description|}}}
|description={{#if:{{{seo_description|}}}|{{{seo_description}}}|{{{description|}}}}}
|keywords={{{business_name|}}}, {{{category|}}}, solar business, {{{city|}}}, {{{state|}}}, {{{zip|}}}
|keywords={{{business_name|}}}, {{{category|}}}, solar business, {{{city|}}}, {{{state|}}}, {{{zip|}}}
|image=File:Placeholder.png
|type=website
|image_width=300
|image_height=200
|type=article
}}
}}


{{#cargo_store:
{{#cargo_store:
_table=Businesses
_table=Business_Solar
|business_name={{{business_name|}}}
|business_name={{{business_name|}}}
|category={{{category|}}}
|category={{{category|}}}
Line 91: Line 91:


{{#if:{{{phone|}}}|
{{#if:{{{phone|}}}|
<p style="font-size:0.95em; color:#555; margin-bottom:8px;">
<p class="plainlinks" style="font-size:0.95em; color:#555; margin-bottom:8px;">
<strong>📞 Phone:</strong> [tel:{{{phone}}} {{{phone}}}]
<strong>📞 Phone:</strong> [tel:{{{phone}}} {{{phone}}}]
</p>
</p>
}}
}}


{{#if:{{{email|}}}|
{{#if:{{{email|}}}|
<p style="font-size:0.95em; color:#555; margin-bottom:8px;">
<div class="plainlinks" style="margin-top:20px; display:flex; gap:12px; flex-wrap:wrap;">
<strong>✉️ Email:</strong> [mailto:{{{email}}} {{{email}}}]
<strong>✉️ Email:</strong> [mailto:{{{email}}} {{{email}}}]
</p>
</div>
}}
}}


<div style="margin-top:20px; display:flex; gap:12px; flex-wrap:wrap;">
<div style="margin-top:20px; display:flex; gap:12px; flex-wrap:wrap;">
Line 119: Line 122:
</div>
</div>


{{#if:{{{category|}}}|[[Category:{{{category}}} businesses]]}}
[[Category:Solar businesses]]
{{#if:{{{city|}}}|[[Category:Businesses in {{{city}}}{{#if:{{{state|}}}|, {{{state}}}}}]]}}
{{#if:{{{city|}}}|[[Category:Solar businesses in {{{city}}}{{#if:{{{state|}}}|, {{{state}}}}}]]}}
{{#if:{{{state|}}}|[[Category:Businesses in {{{state}}}]]}}
{{#if:{{{state|}}}|[[Category:Solar businesses in {{{state}}}]]}}
{{#if:{{{zip|}}}|[[Category:Businesses in ZIP code {{{zip}}}]]}}
{{#if:{{{zip|}}}|[[Category:Solar businesses in ZIP code {{{zip}}}]]}}
{{#if:{{{listing_year|}}}|[[Category:Business listings from {{{listing_year}}}]]}}
{{#if:{{{listing_year|}}}|[[Category:Solar business listings from {{{listing_year}}}]]}}


</includeonly>
</includeonly>

Latest revision as of 15:42, 5 September 2026

This is the "Business Solar" template.

It should be called in the following format:

{{Business Solar
|business_name=
|category=Solar
|city=
|state=
|zip=
|address=
|description=
|seo_description=
|phone=
|email=
|link=
|listing_year=
}}

Edit the page to see the template text.

This template defines the table "Business_Solar". View table.