Difference between revisions of "Template:CompanyContact"
From Who Called Me
Line 32: | Line 32: | ||
|Company name | |Company name | ||
|[{{{url}}} {{{organization}}}] | |[{{{url}}} {{{organization}}}] | ||
− | |- | + | |- {{#if: {{{lat|}}} | | style="display: none;" }} |
+ | |Navigation and Streetview | ||
+ | |[https://www.google.com/maps/place/{{{lat}}}°+{{{long}}}° Google Maps] | ||
+ | |- {{#if: {{{workphone|}}} | | style="display: none;" }} | ||
|Contact phone | |Contact phone | ||
|{{{workphone}}} | |{{{workphone}}} | ||
− | |- | + | |- {{#if: {{{fax|}}} | | style="display: none;" }} |
|Fax | |Fax | ||
|{{{fax}}} | |{{{fax}}} | ||
− | |- | + | |- {{#if: {{{email|}}} | | style="display: none;" }} |
|E-mail | |E-mail | ||
| {{#arraymap:{{{email|}}}|;|x|[[Companies:email::x]]}} | | {{#arraymap:{{{email|}}}|;|x|[[Companies:email::x]]}} | ||
− | |- | + | |- {{#if: {{{homepage|}}} | | style="display: none;" }} |
|Web site | |Web site | ||
|{{{homepage}}} | |{{{homepage}}} | ||
− | |- | + | |- {{#if: {{{workstreet|}}} | | style="display: none;" }} |
|Address | |Address | ||
|[[{{{workstreet}}}|{{{workstreet}}}]] | |[[{{{workstreet}}}|{{{workstreet}}}]] | ||
− | |- | + | |- {{#if: {{{workextendedaddress|}}} | | style="display: none;" }} |
|Extended address | |Extended address | ||
|{{{workextendedaddress}}} | |{{{workextendedaddress}}} | ||
− | |- | + | |- {{#if: {{{worklocality|}}} | | style="display: none;" }} |
|Town | |Town | ||
|[[{{{worklocality}}}|{{{worklocality}}}]] | |[[{{{worklocality}}}|{{{worklocality}}}]] | ||
− | |- | + | |- {{#if: {{{workregion|}}} | | style="display: none;" }} |
|County | |County | ||
|[[{{{workregion}}}|{{{workregion}}}]] | |[[{{{workregion}}}|{{{workregion}}}]] | ||
− | |- | + | |- {{#if: {{{workpostalcode|}}} | | style="display: none;" }} |
|Postcode | |Postcode | ||
|[[{{{workpostalcode}}}|{{{workpostalcode}}}]] | |[[{{{workpostalcode}}}|{{{workpostalcode}}}]] | ||
− | |- | + | |- {{#if: {{{category|}}} | | style="display: none;" }} |
|Category | |Category | ||
|[[{{{category}}}|{{{category}}}]] | |[[{{{category}}}|{{{category}}}]] | ||
Line 105: | Line 108: | ||
==Location== | ==Location== | ||
[[Companies:company_name::{{{name}}}]] is located at [[Companies:address_line1::{{{workstreet}}}]], [[Companies:town::{{{worklocality}}}]], [[Companies:county::{{{workregion}}}]] (postcode [[Companies:postcode::{{{workpostalcode}}}]] ([[Has coordinates::{{{lat}}}°, {{{long}}}°]])). | [[Companies:company_name::{{{name}}}]] is located at [[Companies:address_line1::{{{workstreet}}}]], [[Companies:town::{{{worklocality}}}]], [[Companies:county::{{{workregion}}}]] (postcode [[Companies:postcode::{{{workpostalcode}}}]] ([[Has coordinates::{{{lat}}}°, {{{long}}}°]])). | ||
+ | |||
+ | {{#display_map:{{{lat}}}, {{{long}}} }} | ||
==Nearby companies== | ==Nearby companies== |
Latest revision as of 12:11, 14 December 2021
This is the "Company Contact" template. It should be called in the following format:
{{CompanyContact | name= | organization= | db_ref= | workphone= | fax= | email= | homepage= | workstreet= | workextendedaddress | worklocality= | workregion= | workcountry= | workpostalcode= | lat= | long= | sic= | category= | url= }}
Edit the page to see the template text.