Difference between revisions of "Template:Alert"
m |
Justincase (talk | contribs) (Make this actually do what I think it looks like it was supposed to, and redesign it to fit the style of Template:Notice.) |
||
Line 1: | Line 1: | ||
− | < | + | <includeonly> |
− | {| style="border: 1px solid # | + | {| style="border: 1px solid #AAAAAA; background-color: #f9f9f9; width: 90%; margin-bottom: 20px;" |
− | | [[File: | + | |rowspan="{{#if:{{{2|}}}|3|2}}" style="border: 0; width: 50px; padding: 4px;" | [[File:Messageboxwarning.png|40px]] |
− | | ''' | + | |{{#if:{{{2|}}}| '''{{{1}}}'''}} |
− | {{#if:{{{ | + | |- |
− | + | |{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}} | |
|} | |} | ||
− | </ | + | </includeonly> |
<noinclude> | <noinclude> | ||
+ | == Usage: == | ||
+ | <pre>{{Alert|<Title>|<Message Text>}}</pre> | ||
+ | <pre>{{Alert|<Message Text>}}</pre> | ||
+ | |||
+ | == Results: == | ||
+ | {{Alert|<Title>|<Message Text>}} | ||
+ | {{Alert|<Message Text>}} | ||
+ | |||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> |