Vorlage:Cmbox/Doku: Unterschied zwischen den Versionen

→‎Usage: Complex example: Moved the text styling to the "textstyle" parameter.
imported>Davidgothberg
(Made all headings same level so they look bigger in the text. Listed parameter "text" last as that is easier when using it.)
imported>Davidgothberg
(→‎Usage: Complex example: Moved the text styling to the "textstyle" parameter.)
Zeile 30: Zeile 30:
<pre>
<pre>
{{cmbox
{{cmbox
| 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>


{{cmbox
{{cmbox
| 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