Template:Message Box: Difference between revisions
From Future Worlds Center Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<table style="width:100%;" border="0" cellspacing="0"> | |||
<tr> | <tr> | ||
<td style="width: | <td style="width:9px; background-color:{{{color}}};"> | ||
</td> | </td> | ||
<td style="background-color:f0f0f0; border-top:1px solid #ccc; border-right:1px solid #ccc; border-bottom:1px solid #ccc"> | <td style="background-color:f0f0f0; border-ledt:1px solid {{{color}}}; border-top:1px solid #ccc; border-right:1px solid #ccc; border-bottom:1px solid #ccc"> | ||
{| style="width:100%;background-color:f0f0f0;" | {| style="width:100%;background-color:f0f0f0;" | ||
|- | |- |
Latest revision as of 01:50, 1 March 2012
|
Preview
|
Usage
Copy and paste the code below to create your own message box
{{Message_Box |color=red |image=Alert.png |text={{{text}}} }}
List of Variables
- color : This variable expects from the editor to assign a color code to it. e.g. color=#0000ff which is blue
- image : This variable expects from the editor to assign to it an image's name (including the extension) e.g. image=Alert.png
- text : This variable expects from the editor to assign to it the message. It is better if you leave it as {{{text}}} so the users of your box can choose their own text.