Vorlage:Imbox/Doku: Unterschied zwischen den Versionen

→‎Usage: Complex example: Moved the text styling to the "textstyle" parameter.
imported>Davidgothberg
(Changed example text: "Sub-arrows.svg" -> "Gnome-dev-camera.svg". (But I don't think anyone would have noticed that that was a category image.))
imported>Davidgothberg
(→‎Usage: Complex example: Moved the text styling to the "textstyle" parameter.)
Zeile 30: Zeile 30:
<pre>
<pre>
{{imbox
{{imbox
| type = style
| type     = style
| image = [[Image:Emblem-question-yellow.svg|40px]]
| image     = [[Image:Emblem-question-yellow.svg|40px]]
| style = width: 400px; color: red; font-weight: bold; font-style: italic;
| style     = width: 400px;  
| text = The message body text.
| textstyle = color: red; font-weight: bold; font-style: italic;
| text     = The message body text.
}}
}}
</pre>
</pre>


{{imbox
{{imbox
| type = style
| type     = style
| image = [[Image:Emblem-question-yellow.svg|40px]]
| image     = [[Image:Emblem-question-yellow.svg|40px]]
| style = width: 400px; color: red; font-weight: bold; font-style: italic;
| style     = width: 400px;  
| text = The message body text.
| textstyle = color: red; font-weight: bold; font-style: italic;
| text     = The message body text.
}}
}}


Anonymer Benutzer