Template:Warn: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Created page with "<noinclude> Icon taken from http://www.defaulticon.com/ ==Usage Examples== '''<nowiki>{{Warn|Title Here|This is some text...}}</nowiki>''' gives: {{Warn|Title Here|This is some...")
 
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
Icon taken from http://www.defaulticon.com/
== Usage Example ==
 
==Usage Examples==
'''<nowiki>{{Warn|Title Here|This is some text...}}</nowiki>'''
'''<nowiki>{{Warn|Title Here|This is some text...}}</nowiki>'''


gives:
gives:
{{Warn|Title Here|This is some text...}}
{{Warn|Title Here|This is some text...}}
</noinclude>
<includeonly>
<div style="margin: 20px 50px; padding: 3px; border: 2px dashed red; text-align: center; background-color: #ffaaaa;">
[[File:warn_icon.png]]
'''{{{1}}}'''<br/>
{{{2}}}
</div>
[[Category:Warn]]


----
</includeonly>
</noinclude><includeonly><html><table class="t-tip" style="background-color: #BF5A5A; width: 100%"><colgroup><col width="24"><col></colgroup><tbody><tr><td valign="top"><img src="http://www.defaulticon.com.nyud.net/assets/icons/png/16x16/pollution.png" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b></html>{{{1}}}<html></b><br></html>{{{2}}}<html></td></tr></tbody></table></html></includeonly>

Latest revision as of 15:48, 7 September 2011

Usage Example

{{Warn|Title Here|This is some text...}}

gives:



Warn icon.png Title Here
This is some text...