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)))
 
(5 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"
{| 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">[[File:Alert.png|50x42px|link=|alt=]]</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> }}
| {{ #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={{ #if: {{{text|}}} | {{{text}}} }}
}}
<noinclude>
<noinclude>
==PREVIEW==
==PREVIEW==
Line 23: Line 29:
}}
}}
</pre>
</pre>
==Examples==
See [[Template:Box3]] which is used on [[Template:EU_Aid_Format]]
</noinclude>
</noinclude>

Latest revision as of 03: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