Template:EmailLink: Difference between revisions

From Portland NET Wiki
Jump to navigation Jump to search
make the visible name default to the email address
name default: address can come from unnamed parameter
Line 1: Line 1:
[mailto:{{{addr|{{{1}}}}}} [[File:Email icon.png|18px|link=]] {{{name|{{{addr|Email}}}}}}]<noinclude>
[mailto:{{{addr|{{{1}}}}}} [[File:Email icon.png|18px|link=]] {{{name|{{{addr|{{{1|Email}}}}}}}}}]<noinclude>
<templatedata>
<templatedata>
{
{

Revision as of 09:27, 14 August 2025

Email

Embed a clickable link to send emails.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Addressaddr 1

no description

Example
someone@gmail.com
Stringoptional
Namename

The words which appear on the page. When clicked, the user's email program will create a new message.

Default
Email
Example
First Last
Unknownoptional