Difference between revisions of "Template:Contact"

From WikiCorporates
Jump to navigation Jump to search
m
m
Line 2: Line 2:
 
|email-ns=<span class="nowrap"><tt>{{{2|}}}{{img|At-symbol.svg|14|14|ml=2|mr=2|float=none}}{{{3|}}}</tt></span>
 
|email-ns=<span class="nowrap"><tt>{{{2|}}}{{img|At-symbol.svg|14|14|ml=2|mr=2|float=none}}{{{3|}}}</tt></span>
 
|email-pl=[mailto:{{{2}}}{{#if:{{{subj|}}}|?subject={{#if:{{{attn|}}}|Attn.%20{{#replace:{{{attn}}}| |%20}}:%20}}{{#replace:{{{subj}}}| |%20}}}} {{{2}}}]
 
|email-pl=[mailto:{{{2}}}{{#if:{{{subj|}}}|?subject={{#if:{{{attn|}}}|Attn.%20{{#replace:{{{attn}}}| |%20}}:%20}}{{#replace:{{{subj}}}| |%20}}}} {{{2}}}]
−
|twitter=<span class="nowrap"><tt>{{img|At-symbol.svg|14|14|float=none}}{{{2|}}} [{{{3|}}}]</tt></span>
+
|twitter-ns=<span class="nowrap"><tt>{{img|At-symbol.svg|14|14|float=none}}{{{2|}}} [{{{3|}}}]</tt></span>
 +
|twitter-pl=[{{{2}}} {{{3}}}]
 
}}<noinclude>{{doc2}}</noinclude>
 
}}<noinclude>{{doc2}}</noinclude>
 +
 +
 +
[https://twitter.com/TheFabledAesop @GrayanOne]
 +
@GrayanOne

Revision as of 21:39, 21 April 2019

[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

  • {{Contact|twitter-ns|GrayanOne}} → GrayanOne []


@GrayanOne @GrayanOne


@GrayanOne @GrayanOne

  • {{Contact|email-ns|jane|example.com}} → janeexample.com


@GrayanOne @GrayanOne


@GrayanOne @GrayanOne


@GrayanOne @GrayanOne


@GrayanOne @GrayanOne


@GrayanOne @GrayanOne