Difference between revisions of "Template:Contact/doc"

From WikiCorporates
Jump to navigation Jump to search
m
m (→‎Usage)
Line 4: Line 4:
 
This template is designed to help prevent spam from being sent to an e-mail address. Because nearly all spam is automated, altering the format  to one which does not match the e-mail address search engine's {{wpl|regular expression}} helps prevent spam.
 
This template is designed to help prevent spam from being sent to an e-mail address. Because nearly all spam is automated, altering the format  to one which does not match the e-mail address search engine's {{wpl|regular expression}} helps prevent spam.
  
−
* Email:  {{Contact|email|grayan|wikipolitiks.org}}.
+
* Email:  {{Contact|email-ns|grayan|wikipolitiks.org}} →
−
* x
+
* Email:  {{Contact|email-pl|grayan@wikipolitiks.org}} →
−
* Twitter: {{Contact|twitter|GrayanOne}} > [https://twitter.com/theresecoffey @ThereseCoffey]
+
* Twitter: {{Contact|twitter|GrayanOne}} → [https://twitter.com/theresecoffey @ThereseCoffey]
  
−
{{email|defra.helpline@defra.gsi.gov.uk|attn=Thérèse Coffey|subj=Forest Holidays and the Forestry Commission}},  
+
{{Contact|email-pl|defra.helpline@defra.gsi.gov.uk|attn=Thérèse Coffey|subj=Forest Holidays and the Forestry Commission}},  
  
  
 
The template takes 2 arguments, plus an optional "plain" argument which gives a normal email link (not recommended).
 
The template takes 2 arguments, plus an optional "plain" argument which gives a normal email link (not recommended).
  
−
* <tt><nowiki>{{email|account|example.com}}</nowiki></tt> &rarr; {{email|account|example.com}}
+
* <tt><nowiki>{{email-ns|account|example.com}}</nowiki></tt> &rarr; {{Contact|email-ns|me|example.com}}
 
-- or --  
 
-- or --  
−
* <tt><nowiki>{{email|plain|defra.helpline@defra.gsi.gov.uk}}</nowiki></tt> &rarr; {{email|plain|defra.helpline@defra.gsi.gov.uk}}
+
* <tt><nowiki>{{email-pl|defra.helpline@defra.gsi.gov.uk}}</nowiki></tt> &rarr; {{Contact|email-pl|defra.helpline@defra.gsi.gov.uk}}
−
* <tt><nowiki>{{email|plain|defra.helpline@defra.gsi.gov.uk|subj=Forest Holidays and the Forestry Commission}}</nowiki></tt> &rarr; {{email|plain|defra.helpline@defra.gsi.gov.uk|subj=Forest Holidays and the Forestry Commission}}
+
* <tt><nowiki>{{email-pl|defra.helpline@defra.gsi.gov.uk|subj=Forest Holidays and the Forestry Commission}}</nowiki></tt> &rarr; {{Contact|email-pl|defra.helpline@defra.gsi.gov.uk|subj=Forest Holidays and the Forestry Commission}}
−
* <tt><nowiki>{{email|plain|defra.helpline@defra.gsi.gov.uk|attn=Colin Day|subj=Forest Holidays and the Forestry Commission}}</nowiki></tt> &rarr; {{email|plain|defra.helpline@defra.gsi.gov.uk|attn=Colin Day|subj=Forest Holidays and the Forestry Commission}}
+
* <tt><nowiki>{{email-pl|defra.helpline@defra.gsi.gov.uk|attn=Colin Day|subj=Forest Holidays and the Forestry Commission}}</nowiki></tt> &rarr; {{Contact|email-pl|defra.helpline@defra.gsi.gov.uk|attn=Colin Day|subj=Forest Holidays and the Forestry Commission}}
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>

Revision as of 21:33, 21 April 2019

<< Template:Contact

Usage

This template is designed to help prevent spam from being sent to an e-mail address. Because nearly all spam is automated, altering the format to one which does not match the e-mail address search engine's regular expressionWikipedia-W.svg helps prevent spam.

defra.helpline@defra.gsi.gov.uk,


The template takes 2 arguments, plus an optional "plain" argument which gives a normal email link (not recommended).

  • {{email-ns|account|example.com}} → meexample.com

-- or --