Template:Message2: Difference between revisions

From BattleMaster Wiki
m (removed float)
mNo edit summary
Line 2: Line 2:
<table border="0" cellspacing="0" cellpadding="2" style="width: 100%; margin: 1px 1px 1px 1px; border-right: 2px solid #A9A9A9; border-left: 2px solid #A9A9A9; border-bottom: 2px solid #A9A9A9; border-top: 2px solid #A9A9A9; background-color: #F9F9F9">
<table border="0" cellspacing="0" cellpadding="2" style="width: 100%; margin: 1px 1px 1px 1px; border-right: 2px solid #A9A9A9; border-left: 2px solid #A9A9A9; border-bottom: 2px solid #A9A9A9; border-top: 2px solid #A9A9A9; background-color: #F9F9F9">
<tr>
<tr>
<td bgcolor="{{Message2/{{{Type}}}}}" style="font-size: larger; font-weight: bold; padding-left: 1%;">{{c|white|{{{Type}}} from {{{Sender}}}}}</td>
<td bgcolor="{{Message2/{{{Type}}}}}" style="font-size: larger; font-weight: bold; padding-left: 1%;">{{c|white|{{{Type}}}{{#if:{{{Sender|}}} | from {{{Sender}}}}}|}}</td>
</tr>
</tr>
<tr>
<tr>
Line 8: Line 8:
</tr>
</tr>
<tr><td colspan=2 style="padding-left: 1%; padding-right: 1%;">{{{Content}}}</td></tr>
<tr><td colspan=2 style="padding-left: 1%; padding-right: 1%;">{{{Content}}}</td></tr>
<tr><td colspan=2 style="padding-left: 1%; padding-right: 1%;">{{{Sender}}} ({{{Title}}})</td></tr>
{{#if: {{{Sender|}}} | <tr><td colspan=2 style="padding-left: 1%; padding-right: 1%;">{{{Sender}}} ({{{Title}}})</td></tr>|}}}
</table>
</table>
</includeonly>
</includeonly>

Revision as of 14:45, 3 April 2009


Usage:

{{Message2
|Type=
|Sender=
|Recipients=
|Content=
|Title=
}}

Parameters

  • Type: Event, Letter, Roleplay, Report, Request, Orders, Important Orders, Out-of-Character.
  • Sender: Who the message is from.
  • Recipients: Who the message is addressed to.
  • Content: The message body.
  • Title: The message signature.

Examples

Look here.

Subpages

This is for editing the template itself, not using it: