Template:Message Box: Difference between revisions
From Future Worlds Center Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
</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-top:1px solid #ccc; border-right:1px solid #ccc; border-bottom:1px solid #ccc"> | ||
{| | {| style="width:100%;background-color:f0f0f0;" | ||
|- | |- | ||
| {{ #if: {{{text|}}} | <div style="padding:10px">[[File:{{{image}}}|50x42px|link=|alt=]]</div> }} | | {{ #if: {{{text|}}} | <div style="padding:10px">[[File:{{{image}}}|50x42px|link=|alt=]]</div> }} |
Revision as of 01:47, 1 March 2012
|
Preview
{{{text}}}
|
|
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.