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)))
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style=" margin:0em 0em 1em 0em;float:left;width:100%;border-left:10px solid red; border-top:1px solid #999; border-right:1px solid #999; border-bottom:1px solid #999"
<!--
|- 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="padding:10px;color:#ff0000">[[File:Alert.png|50x42px|link=|alt=]]{{{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>
<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
{{Ambox
|text=The content is displayed in standardized format, ready for use with Europe Aid applications. Do not change the content of this page without consulting with the project coordinator.
|text=sample text
}}
}}
</pre>
==Examples==
See [[Template:Box3]] which is used on [[Template:EU_Aid_Format]]
</noinclude>
</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