Template:SingleEmail: Difference between revisions
Appearance
Created page with "<div class="email"> <table class="email-table"> {{#if:{{{from|}}}| <tr> <th>from</th> <td>{{{from}}}</td> </tr> }} {{#if:{{{to|}}}| <tr> <th>to</th> <td>{{to}}</td> </tr> }} {{#if:{{{date|}}}| <tr> <th>date</th> <td>{{date}}</td> </tr> }} {{#if:{{{body|}}}| <tr> <th>body</th> <td>{{body}}</td> </tr> }} </table> </div>" |
No edit summary |
||
| Line 1: | Line 1: | ||
<div class="email"> | <div class="email"> | ||
<table class="email-table"> | <table class="email-table"> | ||
<thead> | |||
<tr> | <tr> | ||
<th>from</th> | <th class="email-from"> | ||
< | {{#if:{{{from|}}}|<div class="email-label">From</div><div class="email-value">{{{from}}}</div>|}} | ||
</th> | |||
<th class="email-to"> | |||
{{#if:{{{to|}}}|<div class="email-label">To</div><div class="email-value">{{{to}}}</div>|}} | |||
</th> | |||
<th class="email-date"> | |||
{{#if:{{{date|}}}|<div class="email-label">Date</div><div class="email-value">{{{date}}}</div>|}} | |||
</th> | |||
</tr> | </tr> | ||
</thead> | |||
{{#if:{{{body|}}}| | {{#if:{{{body|}}}| | ||
< | <tbody> | ||
< | <tr> | ||
<td class="email-body" colspan="3"> | |||
</ | {{{body}}} | ||
</td> | |||
</tr> | |||
</tbody> | |||
}} | }} | ||
</table> | </table> | ||
</div> | </div> | ||
Revision as of 01:07, 5 February 2026
<thead>
</thead>