Difference between revisions of "Template:Hmbox"
Jump to navigation
Jump to search
imported>Edokter (images touching border) |
imported>Magog the Ogre m (safesubst) |
||
| Line 1: | Line 1: | ||
| − | <div style="margin: 1em;" class="{{{class|}}}"><span style="border: 1px solid #aaa; background-color: #{{#switch:{{{class|}}} | + | <div style="margin: 1em;" class="{{{class|}}}"><span style="border: 1px solid #aaa; background-color: #{{{{{|safesubst:}}}#switch:{{{class|}}} |
| resolved = f9fcf9 | | resolved = f9fcf9 | ||
| unresolved = fcf9f9 | | unresolved = fcf9f9 | ||
| #default = fcfcf9 | | #default = fcfcf9 | ||
| − | }}; margin-right: 0.5em; padding: 0.5em;">[[file:{{{image|}}}|{{px|{{{imagesize|}}}|20x20px}}|text-bottom|link=|alt=]] {{{message|}}}{{#if:{{{extra|}}}|:}}</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.5em;">[[file:{{{image|}}}|{{px|{{{imagesize|}}}|20x20px}}|text-bottom|link=|alt=]] {{{message|}}}{{{{{|safesubst:}}}#if:{{{extra|}}}|:}}</span> {{{{{|safesubst:}}}#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 20:31, 2 January 2012
[[file:|Template:Px|text-bottom|link=|alt=]]
| This template is used on approximately 21,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
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
| The above documentation is transcluded from Template:Hmbox/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |