Template:Ambox: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
(Created page with "{| border='1' style=" margin:0em 0em 1em 0em;float:left;width="100%"" |- style="background-color:#ccc; " | <div style="float:left">50x40px|link=|alt=</div><d...")
 
m (Protected "Template:Ambox" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(38 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| border='1' style=" margin:0em 0em 1em 0em;float:left;width="100%""
<!--
|- style="background-color:#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"
|   <div style="float:left">[[File:Alert.jpg|50x40px|link=|alt=]]</div><div style="float:left>"{{#if:{{{text|}}} | {{{text}}} }} </div>
|-
| {{ #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

sample text


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