From PCSAR
This is the documentation for the template Template:Email
Template:Email/Doc:
The template {{Email|address|text}}
associates an email address with the person or organization represented by the page.
- address
- is the email address. (required parameter)
- text
- is the displayed text. Can be empty. (optional parameter)
Correct usage will produce the email address or the specified text.
Incorrect usage will produce an error message and put the page in Category:Email Error.
Do not combine email addresses into a single call. You can call this template once for each e-mail address.
You type...
| You get...
|
{{email|name@example.com}}
| name@example.com
|
{{email|name@example.com|name@example.com}}
| name@example.com
|
{{email|name@example.com|[mailto:name@example.com John Smith]}}
| John Smith
|
{{email|bad address}}
| address bad address
|
{{email}}
|
There's an error in a call to {{email|...}} . A email address should have been named, but wasn't. (similar errors) |
|
{{email|}}
|
There's an error in a call to {{email|...}} . A email address should have been named, but wasn't. (similar errors) |
|
|
To see how this template is implemented,
edit this page and examine the portion
between <includeonly>
and </includeonly>
.