Vorlage:Tmbox/Doku: Unterschied zwischen den Versionen

Some wording and grammar fixes.
imported>Davidgothberg
(Updated "Technical details" since we now only use the CSS classes, no hard-coded styles anymore. Added "See also" link to {{fmbox}}.)
imported>Davidgothberg
(Some wording and grammar fixes.)
Zeile 116: Zeile 116:
| image = none / [[Image:Some image.svg|40px]]
| image = none / [[Image:Some image.svg|40px]]
| imageright = [[Image:Some image.svg|40px]]
| imageright = [[Image:Some image.svg|40px]]
| style = CSS value
| style = CSS values
| textstyle = CSS value
| textstyle = CSS values
| text  = The message body text.  
| text  = The message body text.  
| small = {{{small|}}} / yes
| small = {{{small|}}} / yes
Zeile 142: Zeile 142:


'''style'''
'''style'''
:An optional [[Cascading Style Sheets|CSS]] value used by the entire message box table. Without quotation marks <code>" "</code>. For example:
:Optional [[Cascading Style Sheets|CSS]] values used by the entire message box table. Without quotation marks <code>" "</code> but with the ending semicolons <code>;</code>. For example:
::<code>style = margin-bottom: 0.5em;</code>
::<code>style = margin-bottom: 0.5em;</code>


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


Zeile 176: Zeile 176:
'''smallimage'''
'''smallimage'''
:'''No parameter''' = If no '''smallimage''' parameter is given then this template falls back to use the '''image''' parameter. If the '''image''' parameter also is empty then a small default image is used.
:'''No parameter''' = If no '''smallimage''' parameter is given then this template falls back to use the '''image''' parameter. If the '''image''' parameter also is empty then a small default image is used.
:'''An image''' = Should be an image with usual wiki notation. 30px width are usually about right. For example:  
:'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example:  
::<code><nowiki>image = [[Image:Crystal package settings.png|30px]]</nowiki></code>
::<code><nowiki>image = [[Image:Crystal package settings.png|30px]]</nowiki></code>
:'''none''' = Means that no image is used. This overrides any image fed to '''image''', when "small=yes".
:'''none''' = Means that no image is used. This overrides any image fed to '''image''', when "small=yes".
Zeile 189: Zeile 189:
'''smallimageright'''
'''smallimageright'''
:'''No parameter''' = If no '''smallimageright''' parameter is given then this template falls back to use the '''imageright''' parameter. If the '''imageright''' parameter also is empty then no image is shown on the right side.
:'''No parameter''' = If no '''smallimageright''' parameter is given then this template falls back to use the '''imageright''' parameter. If the '''imageright''' parameter also is empty then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 30px width are usually about right. For example:  
:'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example:  
::<code><nowiki>imageright = [[Image:Nuvola apps bookcase.png|30px]]</nowiki></code>
::<code><nowiki>imageright = [[Image:Nuvola apps bookcase.png|30px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
:'''Anything''' = Any other object that you want to show on the right side.
Anonymer Benutzer