Zum Inhalt springen

Vorlage:Ambox/Doku: Unterschied zwischen den Versionen

Making the "complex example" show a small box
imported>Davidgothberg
(→‎Technical details: Adding explanation about and link to {{ambox/core}}.)
imported>Davidgothberg
(Making the "complex example" show a small box)
Zeile 24: Zeile 24:
<pre>
<pre>
{{ambox
{{ambox
| type      = style
| type       = style
| image     = [[Image:Emblem-question-yellow.svg|40px]]
| small     = left
| style    = width: 400px;
| image     = [[Image:Emblem-question-yellow.svg|40px]]
| textstyle = color: red; font-weight: bold; font-style: italic;
| smallimage = [[Image:Emblem-question-yellow.svg|20px]]
| text     = The message body text.
| textstyle = color: red; font-weight: bold; font-style: italic;
| text       = Text for a big box, for the top of articles.
| smalltext  = Text for the top of article sections.
}}
}}
</pre>
</pre>


{{ambox
{{ambox
| type      = style
| type       = style
| image     = [[Image:Emblem-question-yellow.svg|40px]]
| small     = left
| style    = width: 400px;
| image     = [[Image:Emblem-question-yellow.svg|40px]]
| textstyle = color: red; font-weight: bold; font-style: italic;
| smallimage = [[Image:Emblem-question-yellow.svg|20px]]
| text     = The message body text.
| textstyle = color: red; font-weight: bold; font-style: italic;
| text       = Text for a big box, for the top of articles.
| smalltext  = Text for the top of article sections.
}}
}}
But you are not really supposed to use red bold italic text.


=== Article message box types ===
=== Article message box types ===
Zeile 166: Zeile 172:
==== The small parameters ====
==== The small parameters ====


The small article message boxes should not be used at the top of articles, instead they are meant for the top of sections. Normally they should only contain one or two lines of text.
The small article message boxes are meant for the top of sections. Normally they should only contain one or two lines of text.


{{ambox
{{ambox
Anonymer Benutzer