Template:Hmbox: Difference between revisions
Template page
More actions
Created page with "<templatestyles src="Hmbox/styles.css" /><div role="note" class="hmbox-outer {{{class|}}}"><div class="hmbox-inner">[[File:{{{image|Blank.png}}}|{{{{{|safesubst:}}}#if:{{{imagesize|}}}|{{{imagesize}}}|20x20}}px|link=|alt=]] {{{message|}}}</div>{{{{{|safesubst:}}}#if:{{{extra|}}}| – <span style="font-size: 85%">{{{extra}}}</span>}}</div><noinclude> {{documentation}} <!-- Place category links on the /doc sub-page; language links go to Wikidata, thank you! --> </noi..." |
No edit summary |
||
Line 1: | Line 1: | ||
<templatestyles src="Hmbox/styles.css" /><div role="note" class="hmbox-outer {{{class|}}}"><div class="hmbox-inner">[[File:{{{image|Blank.png}}}|{{{{{|safesubst:}}}#if:{{{imagesize|}}}|{{{imagesize}}}|20x20}}px|link=|alt=]] {{{message|}}}</div>{{{{{|safesubst:}}}#if:{{{extra|}}}| – <span style="font-size: 85%">{{{extra}}}</span>}}</div><noinclude> | <templatestyles src="Template:Hmbox/styles.css" /><div role="note" class="hmbox-outer {{{class|}}}"><div class="hmbox-inner">[[File:{{{image|Blank.png}}}|{{{{{|safesubst:}}}#if:{{{imagesize|}}}|{{{imagesize}}}|20x20}}px|link=|alt=]] {{{message|}}}</div>{{{{{|safesubst:}}}#if:{{{extra|}}}| – <span style="font-size: 85%">{{{extra}}}</span>}}</div><noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Place category links on the /doc sub-page; language links go to Wikidata, thank you! --> | <!-- Place category links on the /doc sub-page; language links go to Wikidata, thank you! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 23:53, 15 March 2025

This template uses TemplateStyles: |
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 =
| imagesize =
| message =
| extra = {{{1|}}}
}}
The |imagesize=
parameter should be formatted without the "px". Example: |imagesize=15x15
Examples
{{hmbox
| class = resolved
| image = Yes check.svg
| message = Resolved
| extra = {{{1|}}}
}}
produces: