Difference between revisions of "Template:Hmbox"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(minor padding tweaks)
imported>Edokter
(error in {{px}})
Line 3: Line 3:
 
| unresolved = fcf9f9
 
| unresolved = fcf9f9
 
| #default  = fcfcf9
 
| #default  = fcfcf9
}}; margin-right: 0.5em; padding: 0.4em">[[file:{{{image|}}}|{{px|{{{imagesize|}}}20x20px}}|text-bottom|link=|alt=]] {{{message|}}}{{#if:{{{extra|}}}|&#58;}}</span> {{#if:{{{extra|}}}|<span style="font-size: 85%">{{{extra}}}</span>}}</div><noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>
+
}}; margin-right: 0.5em; padding: 0.4em">[[file:{{{image|}}}|{{px|{{{imagesize|}}}|20x20px}}|text-bottom|link=|alt=]] {{{message|}}}{{#if:{{{extra|}}}|&#58;}}</span> {{#if:{{{extra|}}}|<span style="font-size: 85%">{{{extra}}}</span>}}</div><noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>

Revision as of 14:51, 14 December 2011

[[file:|Template:Px|text-bottom|link=|alt=]]
50px Template documentation[view] [edit] [history] [purge]

This is {{hmbox}}, an {{mbox}} meta-template for hatnote-style templates such as {{resolved}} which are placed at the top of discussions or other matters which have been closed.

Usage

{{hmbox
| class   = 
| image   = 
| message = 
| extra   = {{{1|}}}
}}

Examples

{{hmbox
| class   = resolved
| image   = Yes check.svg
| message = Resolved
| extra   = {{{1|}}}
}}

produces:

Template:Px Resolved

See also