Template:Email: Difference between revisions

From Saintapedia
Jump to navigation Jump to search
m (1 revision imported)
No edit summary
 
Line 10: Line 10:
"params": {
"params": {
"address": {
"address": {
"example": "jane.smith@hq.doe.gov",
"example": "jane.smith@gmail.com",
"aliases": [
"aliases": [
"Address",
"Address",

Latest revision as of 21:48, 16 September 2024

No email address found. Format is {{Email|email address}}.

The email template creates a link to an email address, showing either the e-mail address itself or replacement text (typically the name of the person to be emailed), followed by an icon to highlight that it is an external link.

Template parameters

ParameterDescriptionTypeStatus
Email addressaddress Address 1

If a name is not also provided, template will display and link to this email address. If a name is provided, it will be displayed, but the link will be to this email.

Example
jane.smith@gmail.com
Stringrequired
Namename Name 2

If a name is provided, the name will be displayed as a link, and the link will go to the specified email address.

Example
Jane Smith
Stringsuggested
Name, for sorting purposessort Sort 3

You can respecify the name in the order it should be sorted in (typically lastname, firstname). This may be useful if you are using the template in a column of a sortable table.

Example
Smith, Jane
Stringoptional