Difference between revisions of "Template:Town"

From Who Called Me
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:
  
 
<includeonly>
 
<includeonly>
<comments />
+
=Postcodes in town=
 +
Businesses in {{{town}}} have the following postal codes:
 +
{{#ask: [[Category:Companies:CompanyContact]]
 +
[[Companies:town::{{{town}}}]]
 +
|?Companies:postcode
 +
|format=tagcloud
 +
|headers=show
 +
|tagorder=alphabetical
 +
|widget=sphere
 +
|font=impact
 +
}}
 +
 
 
=Nearby companies=
 
=Nearby companies=
 
There are {{#ask: [[Category:Companies:CompanyContact]] [[Companies:town::{{{town}}}]] | format=count}} companies registered in this town:
 
There are {{#ask: [[Category:Companies:CompanyContact]] [[Companies:town::{{{town}}}]] | format=count}} companies registered in this town:
Line 16: Line 27:
 
{{#ask:
 
{{#ask:
 
  [[Category:Companies:CompanyContact]] [[Companies:town::{{{town}}}]]
 
  [[Category:Companies:CompanyContact]] [[Companies:town::{{{town}}}]]
 +
|?Companies:company_name
 
  |?Companies:category
 
  |?Companies:category
 
  |?Companies:town
 
  |?Companies:town
Line 22: Line 34:
 
  |?Companies:phone
 
  |?Companies:phone
 
}}
 
}}
 +
 +
<comments />
  
 
[[Category:Companies:Town]]
 
[[Category:Companies:Town]]
 
__SHOWFACTBOX__
 
__SHOWFACTBOX__
 
</includeonly>
 
</includeonly>

Latest revision as of 10:45, 16 September 2021

This is the "Town" template. It should be called in the following format:

{{Town
| town=
}}

Edit the page to see the template text.