Template:Email

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{if |test={{{1|}}} |then=[mailto:{{{email}}} {{if |test={{{2|}}} |then={{{2}}}|else={{{email}}}}}]}}<noinclude> Email with default comment Copy & paste: <pre><nowiki>{{email||...")
Line 1: Line 1:
{{if |test={{{1|}}}
{{if |test={{{1|}}}
-
|then=[mailto:{{{email}}} {{if |test={{{2|}}}
+
|then=[mailto:{{{1}}} {{if |test={{{2|}}}
-
|then={{{2}}}|else={{{email}}}}}]}}<noinclude>
+
|then={{{2}}}|else={{{1}}}}}]}}<noinclude>
Email with default comment
Email with default comment

Revision as of 19:07, 27 February 2015


Email with default comment

Copy & paste:

{{email||}}

Example:

{{email|[email protected]}}

Expands to:

[email protected]

While:

{{email|[email protected]|Marina email}}

Expands to:

Marina email

Personal tools
advertisement
Friends of Cruisers Wiki