Difference between revisions of "Template:Mail Header"

From SuperMemo Help
Jump to navigation Jump to search
(Empty parameters would be displayed)
 
Line 1: Line 1:
 
<p class="mail-header">
 
<p class="mail-header">
     '''From:''' {{{from}}}<br />
+
     {{#if: {{{from}}} | '''From:''' {{{from}}} | }}
    '''Country:''' {{{country}}}<br />
+
    {{#if: {{{country}}} | <br />'''Country:''' {{{country}}} | }}
    '''Sent:''' {{{sent}}}<br />
+
    {{#if: {{{sent}}} | <br />'''Sent:''' {{{sent}}} | }}
     {{#if: {{{subject}}} | '''Subject:''' <span class="mail-subject">{{{subject}}}</span> | }}
+
     {{#if: {{{subject}}} | <br />'''Subject:''' <span class="mail-subject">{{{subject}}}</span> | }}
 
</p>
 
</p>

Latest revision as of 15:36, 13 September 2009

{{#if: {{{from}}} | From: {{{from}}} | }} {{#if: {{{country}}} |
Country: {{{country}}} | }} {{#if: {{{sent}}} |
Sent: {{{sent}}} | }} {{#if: {{{subject}}} |
Subject: {{{subject}}} | }}