Difference between revisions of "Template:Contact"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "<a href="mailto:{{{1}}}?subject={{#if:{{{attn|}}}|Attn:%20{{#replace:{{{attn}}}| |%20}};}}{{#replace:{{{subj}}}| |%20}}">{{{1}}}</a>")
 
m
Line 1: Line 1:
<a href="mailto:{{{1}}}?subject={{#if:{{{attn|}}}|Attn:%20{{#replace:{{{attn}}}| |%20}};}}{{#replace:{{{subj}}}| |%20}}">{{{1}}}</a>
+
<a href="mailto:{{{1}}}?subject={{#if:{{{attn|}}}|Attn:%20{{#replace:{{{attn}}}| |%20}};}}{{#replace:{{{subj}}}| |%20}}">{{{1}}}</a><noinclude>{{doc2}}</noinclude>

Revision as of 14:13, 25 October 2018

<a href="mailto:{{{1}}}?subject={{{subj}}}">{{{1}}}</a>

[edit] Documentation

Usage

This template is designed to help prevent spam from being sent to a twitter or 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.

{{Contact
|twitter-ns  - no-spam version
|twitter-pl  - returns a normal twitter url
|email-ns    - no-spam version
|email-pl    - returns a normal email address (not recommended)
}}

Examples