Jump to content

Template:Email Example: Difference between revisions

From Mensa Wiki
BethWeiss (talk | contribs)
m Undo revision 1176 by BethWeiss (talk) Formatting
Tag: Undo
BethWeiss (talk | contribs)
m Reformatted
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="margin:0.25em 0 0.25em 1em;; padding:1px; border:1px solid #a2a9b1; background:#f8f9fa; font-size:85%; line-height:1;">
<div style="margin:0.5em 0 0.5em 1em; border:1px solid #c8ccd1; background:#f8f9fa;">
<div style="font-weight:bold; text-align:center; background:#eaecf0; padding:1px;">Email Example</div>
 
<div style="border-bottom:1px solid #eaecf0;">
<div style="padding:4px 8px; background:#eaecf0; border-bottom:1px solid #c8ccd1; font-weight:bold;">
Sample Email
</div>
 
<div style="padding:4px 8px; border-bottom:1px solid #eaecf0;">
'''Subject:''' {{{subject|No subject provided}}}
'''Subject:''' {{{subject|No subject provided}}}
</div>
</div>
<div style="padding:0px;">{{{body|}}}
 
<div style="padding:8px; white-space:pre-line; line-height:1.4;">
{{{body|}}}
</div>
</div>
</div>
</div>
</includeonly>
</includeonly>
<noinclude>
<noinclude>
== Purpose ==
== Purpose ==
Line 27: Line 35:


Just wanted to say hello.
Just wanted to say hello.
Best,
[Your Name]
}}
}}
</pre>
</pre>
== Example ==
{{Email Example
| subject = Hello from a fellow Mensan nearby
| body =
Hi [Name],
I'm [Your Name], a Mensa member in [area].
Just wanted to say hello.
Best,
[Your Name]
}}


[[Category:Local Group templates]]
[[Category:Local Group templates]]
</noinclude>
</noinclude>

Revision as of 16:51, 1 June 2026


Purpose

Displays a sample email in a consistent format.

Parameters

  • subject – Email subject line
  • body – Email body

Usage

{{Email Example
| subject = Hello from a fellow Mensan nearby
| body =
Hi [Name],

I'm [Your Name], a Mensa member in [area].

Just wanted to say hello.

Best,
[Your Name]
}}

Example

Sample Email

Subject: Hello from a fellow Mensan nearby

Hi [Name],

I'm [Your Name], a Mensa member in [area].

Just wanted to say hello.

Best, [Your Name]