Last edited 2 years ago
by Demo writer

Template:Messagebox: Difference between revisions

m (1 revision imported)
No edit summary
Tag: 2017 source edit
 
Line 1: Line 1:
<includeonly><templatestyles src="Hinweisbox/styles.css" /><div class="hw-messagebox notification-{{{boxtype}}} {{#switch: {{{icon}}}|yes=icon|ja=icon}}"  {{#if:{{{bgcolor|}}}|style="background:{{{bgcolor}}}"|}}>{{#switch: {{{boxtype}}}|background|Hintergrund=|<span class="boxlabel">{{#switch: {{{boxtype}}} | note = Note: | Hinweis = Hinweis: | tip = Tip: | Tipp = Tipp: | warning = Warning! | Warnung = Achtung! | example = Example: | Beispiel = Beispiel: | important = Important! | Wichtig = Wichtig! | neutral =  | Neutral = |}}</span>|#default=}}{{{Note text}}}</div></includeonly>  
<includeonly><templatestyles src="Messagebox/styles.css" /><div class="hw-messagebox notification-{{{boxtype}}} {{#switch: {{{icon}}}|yes=icon|ja=icon}}"  {{#if:{{{bgcolor|}}}|style="background:{{{bgcolor}}}"|}}>{{#switch: {{{boxtype}}}|background|Hintergrund=|<span class="boxlabel">{{#switch: {{{boxtype}}} | note = Note: | Hinweis = Hinweis: | tip = Tip: | Tipp = Tipp: | warning = Warning! | Warnung = Achtung! | example = Example: | Beispiel = Beispiel: | important = Important! | Wichtig = Wichtig! | neutral =  | Neutral = |}}</span>|#default=}}{{{Note text}}}</div></includeonly>  
<noinclude>
<noinclude>
Kopiervorlage:
Kopiervorlage:

Latest revision as of 16:16, 1 December 2021


Kopiervorlage:

{{Messagebox|boxtype = |Note text =| bgcolor =}}

Property "params.boxtype.default" is expected to be of type "string|object".