Jump to content

Template:SingleEmail: Difference between revisions

From Corroborators
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">
     {{#if:{{{from|}}}|
     <thead>
       <tr>
       <tr>
         <th>from</th>
         <th class="email-from">
         <td>{{{from}}}</td>
          {{#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:{{{to|}}}|
      <tr>
        <th>to</th>
        <td>{{to}}</td>
      </tr>
    }}
 
    {{#if:{{{date|}}}|
      <tr>
        <th>date</th>
        <td>{{date}}</td>
      </tr>
    }}


     {{#if:{{{body|}}}|
     {{#if:{{{body|}}}|
       <tr>
       <tbody>
         <th>body</th>
         <tr>
        <td>{{body}}</td>
          <td class="email-body" colspan="3">
       </tr>
            {{{body}}}
          </td>
        </tr>
       </tbody>
     }}
     }}
   </table>
   </table>
</div>
</div>

Revision as of 01:07, 5 February 2026