Template:Mailto

From LDraw.org Wiki
Revision as of 10:33, 2 April 2018 by Steffen (talk | contribs)
Jump to navigation Jump to search

This template allows to write mail addresses comfortably in the LDRAW Wiki, in a more beautiful syntax that the standard MediaWiki one.

Parameters

  • parameter 1 (mandatory): e-mail address
  • parameter 2 (optional): custom link text

Example

Why not Using the Standard MediaWiki Syntax?

The standard MediaWiki syntax for writing a mailto: link is [mailto:[email protected]], which will not (!) display the mail address. See here: [1] To avoid that effect and see the address, you have to repeat the mail address twice, i.e. [mailto:[email protected] [email protected]]. This will yield [email protected]. Having to write the address 2 times of course is tedious and error-prone. To counteract that trouble, this template has been added.