Difference between revisions of "Template:Notice"

From questden
m (Wrong domain)
m (Hilarious cacophony of failure! I should preview more :|)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Creates a nice little box for some kind of notification on the article. Used for formatting things like [[Template:Stub]] and [[Template:Spoilers]], [http://tgchan.org/wiki/index.php?title=Special%3AWhatLinksHere&target=Template%3ANotice&namespace=10 amongst others]. Takes arguments:
+
Creates a nice little box for some kind of notification on the article. Used for formatting things like [[Template:Stub]] and [[Template:Spoilers]], [http://tgchan.org/w/index.php?title=Special%3AWhatLinksHere&target=Template%3ANotice&namespace=10 amongst others]. Takes arguments:
 
;color:Color bar to hint the box with. Defaults to no hinting. Use CSS colours, e.g. names or hash-prefixed hex.
 
;color:Color bar to hint the box with. Defaults to no hinting. Use CSS colours, e.g. names or hash-prefixed hex.
 
;image:Icon to use. Defaults to the tgchan logo unless a color is specified.
 
;image:Icon to use. Defaults to the tgchan logo unless a color is specified.

Revision as of 17:53, 6 June 2011

Creates a nice little box for some kind of notification on the article. Used for formatting things like Template:Stub and Template:Spoilers, amongst others. Takes arguments:

color
Color bar to hint the box with. Defaults to no hinting. Use CSS colours, e.g. names or hash-prefixed hex.
image
Icon to use. Defaults to the tgchan logo unless a color is specified.
majortext
Bold, leading part of the message, e.g. "this is a stub".
minortext
Rest of the message, e.g. "you should add stuff". Remember that you can put (most) markup in template arguments, like links.
Tgchan logo.png Note: