Template:Ambox: Difference between revisions
From Future Worlds Center Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<!-- | |||
{| style="width:100%; background-color:#f0f0f0; border-left:10px solid red; border-top:1px solid #ccc; border-right:1px solid #ccc; border-bottom:1px solid #ccc" | {| style="width:100%; background-color:#f0f0f0; border-left:10px solid red; border-top:1px solid #ccc; border-right:1px solid #ccc; border-bottom:1px solid #ccc" | ||
|- | |- | ||
Line 4: | Line 5: | ||
| {{ #if: {{{text|}}} | <div style="padding-right:10px;color:#ff0000; text-align:justify">{{{text}}}</div> }} | | {{ #if: {{{text|}}} | <div style="padding-right:10px;color:#ff0000; text-align:justify">{{{text}}}</div> }} | ||
|} | |} | ||
{| style="width:100%; background-color:#f0f0f0; border-left:10px solid red; border-top:1px solid #ccc; border-right:1px solid #ccc; border-bottom:1px solid #ccc" | {| style="width:100%; background-color:#f0f0f0; border-left:10px solid red; border-top:1px solid #ccc; border-right:1px solid #ccc; border-bottom:1px solid #ccc" | ||
|- | |- | ||
Line 11: | Line 12: | ||
|} | |} | ||
--> | --> | ||
{{Message_Box | |||
|color=red | |||
|image=Alert.png | |||
|text={{{text}}} | |||
}} | |||
<noinclude> | <noinclude> | ||
==PREVIEW== | ==PREVIEW== |
Revision as of 11:46, 12 September 2011
|
PREVIEW
|
USAGE
To use the alert box copy and paste the code below and replace "sample text" with the message of your choice.
{{Ambox |text=sample text }}