টেমপ্লেট:Mailto/নথি

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে

ব্যবহার[সম্পাদনা]

This template produces a link that automatically generates an email when clicked. It makes use of the mailto scheme.

{{Share email
 |target   = target@gmail.com           <!-- default is blank -->
 |subject  = some email                 <!-- default is the page name -->
 |contents = this email is important    <!-- default is the page url -->
 |show     = email link                 <!-- default is E-mail -->
 |icon     = true                       <!-- true to show icon, default is false -->
}}

Note that the construction |target= My example <example@gmail.com> will not work. You need to percent-encode the target string instead, using %20 for any space characters and %3C and %3E for the angle brackets, thus: |target= My%20example%20%%3Cexample@gmail.com%3E.

To make the email contents (body) empty, rather than default to the page url, simply set it to nothing: |contents= .

Example[সম্পাদনা]

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

This produces: টেমপ্লেট:Share email

You can mouseover the icon and link to view the resulting mailto command.

আরও দেখুন[সম্পাদনা]

টেমপ্লেট:Share templates