Template:Message Box: Difference between revisions
From Future Worlds Center Wiki
Jump to navigationJump to search
No edit summary |
(→Usage) |
||
Line 19: | Line 19: | ||
|text={{{text}}} | |text={{{text}}} | ||
}} | }} | ||
</pre> | |||
==List of Variables== | ==List of Variables== | ||
*<b>color :</b> This variable expects from the editor to assign a color code to it. e.g. color=#0000ff which is blue | *<b>color :</b> This variable expects from the editor to assign a color code to it. e.g. color=#0000ff which is blue | ||
*<b>image :</b> This variable expects from the editor to assign to it an image's name (including the extension) e.g. image=Alert.png | *<b>image :</b> This variable expects from the editor to assign to it an image's name (including the extension) e.g. image=Alert.png | ||
*<b>text :</b> 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. | *<b>text :</b> 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. | ||
</noinclude> | </noinclude> |
Revision as of 11:45, 12 September 2011
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.