Vorlage:Imbox/Doku: Unterschied zwischen den Versionen

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.)
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.)
Zeile 85: Zeile 85:
}}
}}


==== 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 105: Zeile 105:
}}
}}


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


Some other parameter combinations.
Some other parameter combinations.
Zeile 143: Zeile 143:
| 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 164: Zeile 164:


'''style'''
'''style'''
:An optional [[Cascading Style Sheets|CSS]] value used by the entire ''message box'' table. Without quotation marks <code>" "</code>. For example:
:An optional [[Cascading Style Sheets|CSS]] value used by the entire 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