Template:Share email/doc

From Wikiversity
Jump to navigation Jump to search

Usage[edit source]

This template allows links that automatically generate an email when clicked.

{{Mailto
 |target   = target@gmail.com (default blank)
 |subject  = some email (default = page name)
 |contents = this is an email about something important (default = page url)
 |show     = email link (default = E-mail)
 |icon     = "true" to show icon (default = false)
}}

Example[edit source]

{{Mailto
 |target   = example@gmail.com 
 |subject  = An interesting page
 |contents = This Wikipedia page will interest you: {{PAGENAME}}
 |show     = E-mail this page
 |icon     = true
}}

Produces:  E-mail this page