Template:Email/Doc

From PCSAR

Revision as of 21:30, 19 November 2012 by Brett Wuth (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

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)
Personal tools