Template:Message Box: Difference between revisions
From Future Worlds Center Wiki
Jump to navigationJump to search
(Created page with "{| style="width:100%; background-color:#f0f0f0; border-left:10px solid {{{color}}}; border-top:1px solid #ccc; border-right:1px solid #ccc; border-bottom:1px solid #ccc" |- | {{...") |
No edit summary |
||
Line 22: | Line 22: | ||
*<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 | *<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. | ||
</pre> | </pre> | ||
</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== *<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>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.