Vorlage:Ambox/Doku: Unterschied zwischen den Versionen
→Usage: Complex example: Moved the text styling to the "textstyle" parameter.
imported>Davidgothberg (Changed heading title: "Default images" -> "Article message box types". 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 24: | Zeile 24: | ||
<pre> | <pre> | ||
{{ambox | {{ambox | ||
| 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> | ||
{{ambox | {{ambox | ||
| 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. | |||
}} | }} | ||