Template:Notice

From questden
Revision as of 13:40, 15 November 2010 by LionsPhil (talk | contribs) (Yeah, we've got enough of these to justify factoring out the common styling.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Creates a nice little box for some kind of notification on the article. Used for formatting things like Template:Stub and Template:Spoilers. 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.
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: