Template:Icon notice box: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
m (standardising icon widths so they line up on the page)
m (attempt 2)
Line 1: Line 1:
:{|cellpadding=5 width=74%
:{|cellpadding=5 width=74%
|-
|-
|style="border-right: 1px solid {{{fgcolor|#f80}}}" width=60 valign=top| <div style="color:{{{fgcolor|#f80}}}">{{{leftbox|[[Image:Important.png]]}}}</div>
|style="border-right: 2px solid {{{fgcolor|#f80}}}" width="50pt" valign=top align=right| <div style="color:{{{fgcolor|#f80}}}">{{{leftbox|[[Image:Important.png]]}}}</div>
|width=auto width=100% valign=top| '''<span style="color:{{{fgcolor|#f80}}}">{{{heading|Slow down, cowboy!}}}</span>''' {{{content|'''You aren't done yet.'''
|valign=top| '''<span style="color:{{{fgcolor|#f80}}}">{{{heading|Slow down, cowboy!}}}</span>''' {{{content|'''You aren't done yet.'''


Fill in the template before hitting save, like this:
Fill in the template before hitting save, like this:

Revision as of 23:45, 13 June 2009

Important.png
Slow down, cowboy! You aren't done yet.

Fill in the template before hitting save, like this:

 {{Icon notice box|fgcolor=#00f
                  |leftbox=[[Image:info.png]]
                  |heading=Information
                  |content=Spam spam spam spam spammy spam.}}

and you will get:


Info.png
Information Spam spam spam spam spammy spam.

Self explaining templates, ain't that cool :P