Difference between revisions of "Template:SafeMailTo"
Jump to navigation
Jump to search
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <noinclude> |
+ | Add an e-mail address to a Wiki page in such a way that it can't (easily) be crawled by bots. | ||
+ | == Usage == | ||
+ | |||
+ | <nowiki>{{SafeMailTo|<user>|<domain>}}</nowiki> | ||
+ | Example: | ||
+ | <nowiki>{{SafeMailTo|user|example.com}}</nowiki> | ||
+ | is shown as | ||
+ | [mailto:user@example.com user.example.com] | ||
+ | == Template == | ||
+ | Ignore (and do not edit) anything under this line. It is the actual template | ||
+ | |||
+ | </noinclude><htmltag tagname="a" cru="{{{1}}}" crd="{{{2}}}"></htmltag> |
Latest revision as of 11:14, 1 February 2018
Add an e-mail address to a Wiki page in such a way that it can't (easily) be crawled by bots.
Usage
{{SafeMailTo|<user>|<domain>}}
Example:
{{SafeMailTo|user|example.com}}
is shown as user.example.com
Template
Ignore (and do not edit) anything under this line. It is the actual template