Template:Email/doc
< Template:Email
Revision as of 06:32, 5 May 2012 by Cottrells (talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template can be used to create a formatted {{xt|mailto:}} link for email ...")
|
|
This is a documentation subpage for Template:Email (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
This template can be used to create a formatted mailto: link for email addresses.
Usage
{{email|1=email address}}- The first parameter is the email address
{{email|1=email address|2=optional display text}}- The second optional parameter is the display text
- If no display text is specified or is empty, the default display text will be the email address.
Examples
| Code | Result |
|---|---|
| {{ Email |email@example.com }} | email@example.com |
| {{ Email |email@example.com | email address }} | email address |