Template:Ambox: Difference between revisions
From Future Worlds Center Wiki
Jump to navigationJump to search
No edit summary |
m (Protected "Template:Ambox" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
||
(37 intermediate revisions by the same user not shown) | |||
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" | |||
| | |- | ||
| {{ #if: {{{text|}}} | <div style="padding:10px">[[File:Alert.png|50x42px|link=|alt=]]</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" | |||
|- | |||
| <div style="padding:10px;color:#ff0000;text-align:justify;">[[File:Alert.png|left|50x42px|link=|alt=]] | |||
{{ #if: {{{text|}}} | {{{text}}} }}</div> | |||
|} | |||
--> | |||
{{Message_Box | |||
|color=red | |||
|image=Alert.png | |||
|text={{ #if: {{{text|}}} | {{{text}}} }} | |||
}} | |||
<noinclude> | |||
==PREVIEW== | |||
{{Ambox | |||
|text=sample text | |||
}} | |||
==USAGE== | |||
To use the alert box copy and paste the code below and replace "sample text" with the message of your choice. | |||
<pre> | |||
{{Ambox | |||
|text=sample text | |||
}} | |||
</pre> | |||
==Examples== | |||
See [[Template:Box3]] which is used on [[Template:EU_Aid_Format]] | |||
</noinclude> |
Latest revision as of 02:42, 1 November 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 }}
Examples
See Template:Box3 which is used on Template:EU_Aid_Format