Difference between revisions of "Template:Contact/doc"
Jump to navigation
Jump to search
m (→Usage) |
m |
||
| 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. | ||
| − | The template takes 2 arguments, plus an optional "plain" argument | + | Email: {{Contact|email|grayan|wikipolitiks.org}}. |
| + | 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}}, | ||
| + | |||
| + | |||
| + | 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> → {{email|account|example.com}} | * <tt><nowiki>{{email|account|example.com}}</nowiki></tt> → {{email|account|example.com}} | ||
Revision as of 19:21, 21 April 2019
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 expression
helps prevent spam.
Email: . Twitter: > @ThereseCoffey
The template takes 2 arguments, plus an optional "plain" argument which gives a normal email link (not recommended).
- {{email|account|example.com}} → Template:email
-- or --
- {{email|plain|defra.helpline@defra.gsi.gov.uk}} → Template:email
- {{email|plain|defra.helpline@defra.gsi.gov.uk|subj=Forest Holidays and the Forestry Commission}} → Template:email
- {{email|plain|defra.helpline@defra.gsi.gov.uk|attn=Colin Day|subj=Forest Holidays and the Forestry Commission}} → Template:email