Difference between revisions of "Template:Postcode"

From Who Called Me
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:
  
 
<includeonly>
 
<includeonly>
<comments />
+
=Location=
 +
{{{postcode}}} is associated with the following location:
 +
{{#ask:
 +
[[Category:Companies:CompanyContact]] [[Companies:postcode::{{{postcode}}}]]
 +
|?Companies:town
 +
|?Companies:county
 +
|?Has coordinates
 +
|limit=1
 +
}}
 +
 
 
=Nearby companies=
 
=Nearby companies=
 
There are {{#ask: [[Category:Companies:CompanyContact]] [[Companies:postcode::{{{postcode}}}]] | format=count}} companies registered with this postal code:
 
There are {{#ask: [[Category:Companies:CompanyContact]] [[Companies:postcode::{{{postcode}}}]] | format=count}} companies registered with this postal code:
Line 16: Line 25:
 
{{#ask:
 
{{#ask:
 
  [[Category:Companies:CompanyContact]] [[Companies:postcode::{{{postcode}}}]]
 
  [[Category:Companies:CompanyContact]] [[Companies:postcode::{{{postcode}}}]]
 +
|?Companies:company_name
 
  |?Companies:category
 
  |?Companies:category
 
  |?Companies:town
 
  |?Companies:town
Line 22: Line 32:
 
  |?Companies:phone
 
  |?Companies:phone
 
}}
 
}}
 +
<comments />
  
 
[[Category:Companies:Postcode]]
 
[[Category:Companies:Postcode]]
 
__SHOWFACTBOX__
 
__SHOWFACTBOX__
 
</includeonly>
 
</includeonly>

Latest revision as of 11:46, 16 September 2021

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

{{Postcode
| postcode=
}}

Edit the page to see the template text.