Difference between revisions of "Template:Postcode"

From Who Called Me
(Created page with "<noinclude> This is the "Postcode" template. It should be called in the following format: <pre> {{Postcode | postcode= }} </pre> Edit the page to see the template text. </noin...")
 
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
  
 
<includeonly>
 
<includeonly>
 +
=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=
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 10: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.