টেমপ্লেট: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.
আরও দেখুন সম্পাদনা
উপরোক্ত নথিটি টেমপ্লেট:Mailto/নথি থেকে প্রতিলিপ্ত। (সম্পাদনা | ইতিহাস) ব্যবহারকারীগণ খেলাঘর (তৈরি করুন | আয়না) এবং পরীক্ষা পাতায় (তৈরি করুন) এই টেমপ্লেট সংক্রান্ত পরীক্ষা-নিরীক্ষা করতে পারেন। দয়া করে /নথি উপপাতায় বিষয়শ্রেণী যোগ করুন। এই টেমপ্লেটের উপপাতাসমূহ। |