Template:Hmbox: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(Update via sandbox (code comprehensibility, {{{extra}}} font-size (was too small), made {{{message}}} required, removed Blank.png default (otherwise gap created))
m (38 revisions imported from wikipedia:Template:Hmbox)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div class="{{{class|}}}" style="margin:1.0em;"><!--
<div role="note" style="margin: 1em;" class="{{{class|}}}"><span style="border: 1px solid #aaa; background-color: #{{{{{|safesubst:}}}#switch:{{{class|}}}
| resolved = f9fcf9

| unresolved = fcf9f9
(Image and) message in box:
| #default = fcfcf9
--><span style="margin-right:0.35em;border:1px solid #aaa;padding:0.5em;
}}; margin-right: 0.5em; padding: 0.5em;">[[File:{{{image|Blank.png}}}|{{{{{|safesubst:}}}#if:{{{imagesize|}}}|{{{imagesize}}}|20x20}}px|link=|alt=]] {{{message|}}}</span>{{{{{|safesubst:}}}#if:{{{extra|}}}|&#8202;– <span style="font-size: 85%">{{{extra}}}</span>}}</div><noinclude>
background:#{{{{{|safesubst:}}}#switch:{{{class|}}} |resolved=f9fcf9 |unresolved=fcf9f9 |#default=fcfcf9}};"><!--
{{documentation}}
-->{{#if:{{{image|}}} |[[File:{{{image}}} |{{{{{|safesubst:}}}#if:{{{imagesize|}}}|{{{imagesize}}}|20x20}}px |alt= |link=]]&nbsp; |<noinclude>''(image)''&nbsp;</noinclude>}}<!--
<!-- place category and language links on the /doc sub-page, not here -->
-->{{{message}}}{{{{{|safesubst:}}}#if:{{{extra<includeonly>|</includeonly>}}} |&nbsp;'''&#58;<!--(colon)-->'''}}<!--
--></span><!--

Optional message after (i.e. to right of) box:
-->{{{{{|safesubst:}}}#if:{{{extra<includeonly>|</includeonly>}}}
|&nbsp;<span style="font-size:95%;"><noinclude>''Optional ''</noinclude>{{{extra}}}<noinclude>'' message''</noinclude></span><!--
-->}}<!--

--></div><noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 20:14, 10 June 2021