Vorlage:Ambox/Doku: Unterschied zwischen den Versionen

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
(Setting a proper image size for the complex example. And updated the parameter explanations.)
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.)
Zeile 38: Zeile 38:
}}
}}


==== Default images ====
=== Article message box types ===


The following examples use different '''type''' parameters but use no image parameters thus they use the default images for each type.
The following examples use different '''type''' parameters but use no image parameters thus they use the default images for each type.
Zeile 71: Zeile 71:
}}
}}


==== Other images ====
=== Other images ===


The default images shown above are mostly for convenience. In many cases it is more appropriate to use more specific images. These examples use the '''image''' parameter to specify an image other than the default images.
The default images shown above are mostly for convenience. In many cases it is more appropriate to use more specific images. These examples use the '''image''' parameter to specify an image other than the default images.
Zeile 91: Zeile 91:
}}
}}


==== Special ====
=== Special ===


Some other parameter combinations.
Some other parameter combinations.
Zeile 130: Zeile 130:
| imageright = [[Image:Some image.svg|40px]]
| imageright = [[Image:Some image.svg|40px]]
| style = CSS value
| style = CSS value
| textstyle = CSS value
| text  = The message body text.  
| text  = The message body text.  
| textstyle = CSS value
}}
}}
</pre>
</pre>
Zeile 152: Zeile 152:


'''style'''
'''style'''
:An optional [[Cascading Style Sheets|CSS]] value used by the entire ''article message box'' table. Without quotation marks <code>" "</code>. For example:
:An optional [[Cascading Style Sheets|CSS]] value used by the entire article message box table. Without quotation marks <code>" "</code>. For example:
::<code>style = margin-bottom: 0.5em;</code>
::<code>style = margin-bottom: 0.5em;</code>
'''text'''
:The message body text.


'''textstyle'''
'''textstyle'''
:An optional [[Cascading Style Sheets|CSS]] value used by the text cell. For example:
:An optional [[Cascading Style Sheets|CSS]] value used by the text cell. For example:
::<code>textstyle = text-align: center;</code>
::<code>textstyle = text-align: center;</code>
'''text'''
:The message body text.


=== Technical details ===
=== Technical details ===
Anonymer Benutzer