Template:Message-box

From AWF-Wiki
(Difference between revisions)
Jump to: navigation, search
(New page: <div class="LanguageLinks"> <table width="100%" style="clear: both; border: 1px solid #aaaaaa; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 85%; margin: 0 1px;"> <tr va...)
 
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="LanguageLinks">
+
<noinclude>This is a standard message box used for template messages. The picture as well as standard text is defined in other templates that are transcluding this box.
<table width="100%" style="clear: both; border: 1px solid #aaaaaa; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 85%; margin: 0 1px;">
+
Variables are:
<tr valign="top" style="background: #EEF3E2">
+
image=
<td style="width: 25px; padding-left: 0.5em;">!</td>
+
message=
<td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #aaaaaa;">'''{{{message}}}:'''&nbsp;</td><td style="padding: 1px 1em 0; background: #F6F9ED;">
+
text=
 +
</noinclude>
 +
<div>
 +
<table width="100%" style="clear: both; border: 1px solid #aaaaaa; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 100%; margin: 0 1px;">
 +
<tr style="background: #EEF3E2">
 +
<td style="width: 25px; padding-left: 0.5em;">{{{image}}}</td>
 +
<td style="width: 10px; white-space: nowrap; padding: 0.5em; border-right: 1px solid #aaaaaa;">'''{{{message}}}:'''&nbsp;</td><td style="padding: 1px 1em 0; background: #F6F9ED;">
 
{{{text}}}
 
{{{text}}}
  
</td></tr></table></div></onlyinclude>
+
</td></tr></table></div>

Latest revision as of 14:24, 5 December 2008

This is a standard message box used for template messages. The picture as well as standard text is defined in other templates that are transcluding this box. Variables are: image= message= text=

{{{image}}} {{{message}}}: 

{{{text}}}

Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox