Difference between revisions of "Template:Message2"
Jump to navigation
Jump to search
m (Blessed inspiration, I might just have figured out how to make this work. Sorry for the spam by the way.) |
m (Reverted edits by V'Orlan (talk) to last revision by AbstractLogic) Tag: Rollback |
||
(24 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <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"> |
− | <table border="0" cellspacing="0" cellpadding="2" style="width: 100% | ||
<tr> | <tr> | ||
− | <td bgcolor="{{Message2/{{{Type}}}}}" style="font-size: larger; font-weight: bold; padding-left: 1%;">{{{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> | + | {{#if: {{{Recipients|}}} | <tr><td bgcolor="{{Message2/{{{Type}}}}}" style="font-size: smaller; padding-left: 1%">{{c|white|Message sent to {{{Recipients}}}}}</td></tr>|}} |
− | <td bgcolor="{{Message2/{{{Type}}}}}" style="font-size: smaller | + | <tr><td colspan=2 style="padding-left: 1%; padding-right: 1%; border-top: 1px solid #A9A9A9;">{{{Content}}}</td></tr> |
− | </tr> | + | {{#if: {{{Sender|}}} | <tr><td colspan=2 style="padding-left: 1%; padding-right: 1%;">{{{Sender}}} {{#if: {{{Title|}}} | ({{{Title}}})|}}</td></tr>|}} |
− | <tr><td colspan=2 style="padding-left: 1%;">{{{Content}}}</td></tr> | + | </table></includeonly> |
− | <tr><td colspan=2 style="padding-left: 1%;">{{{Sender}}} ({{{Title}}})</td></tr> | + | <noinclude>{{Documentation}} |
− | </table> | + | [[Category:Utility Templates|{{PAGENAME}}]]</noinclude> |
− | </includeonly> | ||
− | <noinclude> | ||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | </noinclude> |
Latest revision as of 04:19, 2 December 2019
Template Documentation |
This documentation is transcluded from Template:Message2/doc. |
ContentsIntroThis 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: |