Difference between revisions of "Template:CompanyContact"
From Who Called Me
(Created page with "<noinclude> This is the "Company Contact" template. It should be called in the following format: <pre> {{CompanyContact |contact_name= |company_name= |workphone= |fax= |email=...") |
|||
(41 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
<pre> | <pre> | ||
{{CompanyContact | {{CompanyContact | ||
− | | | + | | name= |
− | | | + | | organization= |
− | |workphone= | + | | db_ref= |
− | |fax= | + | | workphone= |
− | |email= | + | | fax= |
− | |homepage= | + | | email= |
− | | | + | | homepage= |
− | | | + | | workstreet= |
− | | | + | | workextendedaddress |
− | | | + | | worklocality= |
− | | | + | | workregion= |
− | | | + | | workcountry= |
− | |lat= | + | | workpostalcode= |
− | |long= | + | | lat= |
− | |sic= | + | | long= |
− | |category= | + | | sic= |
− | |url= | + | | category= |
+ | | url= | ||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | </noinclude | + | </noinclude> |
− | ={{{ | + | <includeonly> |
+ | {| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | ||
+ | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ||
+ | |- | ||
+ | |Company name | ||
+ | |[{{{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 | ||
+ | |{{{workphone}}} | ||
+ | |- {{#if: {{{fax|}}} | | style="display: none;" }} | ||
+ | |Fax | ||
+ | |{{{fax}}} | ||
+ | |- {{#if: {{{email|}}} | | style="display: none;" }} | ||
+ | |E-mail | ||
+ | | {{#arraymap:{{{email|}}}|;|x|[[Companies:email::x]]}} | ||
+ | |- {{#if: {{{homepage|}}} | | style="display: none;" }} | ||
+ | |Web site | ||
+ | |{{{homepage}}} | ||
+ | |- {{#if: {{{workstreet|}}} | | style="display: none;" }} | ||
+ | |Address | ||
+ | |[[{{{workstreet}}}|{{{workstreet}}}]] | ||
+ | |- {{#if: {{{workextendedaddress|}}} | | style="display: none;" }} | ||
+ | |Extended address | ||
+ | |{{{workextendedaddress}}} | ||
+ | |- {{#if: {{{worklocality|}}} | | style="display: none;" }} | ||
+ | |Town | ||
+ | |[[{{{worklocality}}}|{{{worklocality}}}]] | ||
+ | |- {{#if: {{{workregion|}}} | | style="display: none;" }} | ||
+ | |County | ||
+ | |[[{{{workregion}}}|{{{workregion}}}]] | ||
+ | |- {{#if: {{{workpostalcode|}}} | | style="display: none;" }} | ||
+ | |Postcode | ||
+ | |[[{{{workpostalcode}}}|{{{workpostalcode}}}]] | ||
+ | |- {{#if: {{{category|}}} | | style="display: none;" }} | ||
+ | |Category | ||
+ | |[[{{{category}}}|{{{category}}}]] | ||
+ | |} | ||
+ | |||
+ | ={{{organization}}}= | ||
+ | Phone number [[Companies:phone::{{{workphone}}}]] is used by UK company {{{organization}}}. | ||
+ | ==Contacts== | ||
+ | {{#if: {{{workphone}}} | ||
+ | | {{{organization}}} can be contacted by calling to [tel:{{{workphone}}} {{{workphone}}}]. | ||
+ | | | ||
+ | }} | ||
+ | {{#if: {{{email}}} | ||
+ | | {{{organization}}} can be contacted by sending an e-mail to {{#arraymap:{{{email|}}}|;|x|[[Companies:email::x]]}}. | ||
+ | | | ||
+ | }} | ||
+ | {{#if: {{{homepage}}} | ||
+ | | {{{organization}}}'s homepage is at [[Companies:homepage::{{{homepage}}}]]. | ||
+ | | | ||
+ | }} | ||
+ | {{#if: {{{fax}}} | ||
+ | | {{{organization}}} can be contacted by sending a fax to [[Companies:fax::{{{fax}}}]]. | ||
+ | | | ||
+ | }} | ||
− | + | Get contacts as VCard: | |
− | Get contacts: | ||
{{#ask: | {{#ask: | ||
[[Category:CompanyContact]] | [[Category:CompanyContact]] | ||
Line 34: | Line 93: | ||
|?mail=email | |?mail=email | ||
|?url=homepage | |?url=homepage | ||
+ | |?workphone | ||
+ | |?fax | ||
+ | |?homepage | ||
+ | |?workstreet | ||
+ | |?workextendedaddress | ||
+ | |?worklocality | ||
+ | |?workregion | ||
+ | |?workcountry | ||
+ | |?workpostalcode | ||
|format=vcard | |format=vcard | ||
|searchlabel=vCard | |searchlabel=vCard | ||
Line 39: | Line 107: | ||
==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}}}°]])). | |
− | {{#display_map:{{{ | + | {{#display_map:{{{lat}}}, {{{long}}} }} |
==Nearby companies== | ==Nearby companies== | ||
− | There are {{#ask: [[Category:Companies: | + | There are {{#ask: [[Category:Companies:CompanyContact]] [[Companies:town::{{{worklocality}}}]] | format=count}} companies nearby: |
{{#ask: | {{#ask: | ||
− | [[Category:Companies: | + | [[Category:Companies:CompanyContact]] [[Companies:town::{{{worklocality}}}]] |
− | |?Companies: | + | |?Companies:company_name=Company |
− | |?Companies:town | + | |?Companies:category=Business category |
+ | |?Companies:town=Location | ||
+ | |?Companies:email=E-mail | ||
+ | |?Companies:homepage=Company homepage | ||
+ | |mainlabel=Phone number | ||
+ | }} | ||
+ | |||
+ | ==Similar companies== | ||
+ | [{{{url}}} {{{organization}}}] operates mainly in the business of [[Companies:category::{{{category}}}]]. There are {{#ask: [[Category:Companies:CompanyContact]] [[Companies:category::{{{category}}}]] | format=count}} other companies with the same activity: | ||
+ | {{#ask: | ||
+ | [[Category:Companies:CompanyContact]] [[Companies:category::{{{category}}}]] | ||
+ | |?Companies:company_name=Company | ||
+ | |?Companies:category=Business category | ||
+ | |?Companies:town=Location | ||
+ | |?Companies:email=E-mail | ||
+ | |?Companies:homepage=Company homepage | ||
+ | |mainlabel=Phone number | ||
}} | }} | ||
==Further info== | ==Further info== | ||
− | Further details about [{{{url}}} {{{ | + | Further details about [{{{url}}} {{{organization}}}], including its credit rating, can be found at [https://scoriff.co.uk Scoriff]. |
− | + | [[Category:Companies:CompanyContact]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
__SHOWFACTBOX__ | __SHOWFACTBOX__ | ||
</includeonly> | </includeonly> |
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.