Vorlage:Cmbox/Doku: Unterschied zwischen den Versionen
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 | | 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 | | textstyle = color: red; font-weight: bold; font-style: italic; | ||
| text = The message body text. | |||
}} | }} | ||
</pre> | </pre> | ||
{{cmbox | {{cmbox | ||
| type | | 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 | | textstyle = color: red; font-weight: bold; font-style: italic; | ||
| text = The message body text. | |||
}} | }} | ||