Template:Message2: Difference between revisions
m (updated to make Rcipients optional as well, the only things required are a Type and Content) |
m (added optional Width specification) |
||
Line 1: | Line 1: | ||
<includeonly><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"> | <includeonly><table border="0" cellspacing="0" cellpadding="2" style="width: {{{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}}}{{#if:{{{Sender|}}} | 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> |
Revision as of 14:44, 9 July 2009
Template Documentation |
This documentation is transcluded from Template:Message2/doc. |
IntroThis template is designed to allow the easy inclusion of IG style messages on the wiki in an easy-to-read format. Usage{{Message2 |Width= |Type= |Sender= |Recipients= |Content= |Title= }} Parameters
SubpagesThis is for editing the template itself, not using it: |