Difference between revisions of "Template:Example box"

From HPC Wiki
Jump to navigation Jump to search
m (Mukund-pondkule-6a11@uni-paderborn.de moved page Template:Warning box to Template:Example box)
m (Mukund-pondkule-6a11@uni-paderborn.de moved page Template:Example box to Template:Example box)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<onlyinclude>
+
<div style="background: #ffCC99; border: 1px solid #aaaaaa; padding: 6pt; margin: 12pt 0.5em; width: -0.5em">
{{#switch: {{{msg|{{{mode|}}}}}}
+
[[Image:Example.png|40px|left|Example]]'''Example:'''<br />
| warn =
+
{{{1}}}
{{#if: {{{msg|{{{text|}}}}}}|<table cellspacing="0" cellpadding="0" border="0" style="box-sizing:border-box; border:1px #d33 solid; background: transparent; margin-top:0.5em;padding:0.5em;background-color: #fee7e6"><tr><td nowrap="nowrap" valign="top"><span style="position: relative; top: -2px;">[[File:exclamationmark.svg|18x18px|Warning|link=]]</span> '''Warning:''' {{#if: {{{msg|{{{text|}}}}}}|</td><td valign="top" style="padding-{{dir|{{pagelang}}|right|left}}:0.5em;">{{{msg|{{{text|}}}}}}</td></tr></table>}}
+
</div>
| [[File:exclamationmark.svg|18x18px|Warning|link=]] '''Warning:''' }}
 
| info =
 
{{#if: {{{msg|{{{text|}}}}}}|<table cellspacing="0" cellpadding="0" border="0" style="box-sizing:border-box; border:1px #0000ff solid; background: transparent; margin-top:0.5em;padding:0.5em;background-color: #71e1ff"><tr><td nowrap="nowrap" valign="top"><span style="position: relative; top: -2px;">[[File:info.svg|18x18px|Info|link=]]</span> '''Info:''' {{#if: {{{msg|{{{text|}}}}}}|</td><td valign="top" style="padding-{{dir|{{pagelang}}|right|left}}:0.5em;">{{{msg|{{{text|}}}}}}</td></tr></table>}}
 
| [[File:info.svg|18x18px|Info|link=]] '''Info:''' }}
 
}}</onlyinclude>
 

Latest revision as of 18:00, 16 September 2020

Example
Example:

{{{1}}}