Vorlage:Imbox/Doku: Unterschied zwischen den Versionen

Stating that the "bigimage" parameter has no function anymore and rewording "image", since the left side image cell now can handle any size images.
K (interwiki)
imported>Davidgothberg
(Stating that the "bigimage" parameter has no function anymore and rewording "image", since the left side image cell now can handle any size images.)
Zeile 155: Zeile 155:
'''image'''
'''image'''
:'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter.  
:'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter.  
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (Images over 52 pixels width will cause padding problems.) For example:  
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:  
::<code><nowiki>image = [[Image:Gnome-dev-camera.svg|40px]]</nowiki></code>
::<code><nowiki>image = [[Image:Gnome-dev-camera.svg|40px]]</nowiki></code>
:'''none''' = Means that no image is used.
:'''none''' = Means that no image is used.


'''bigimage'''
<s>'''bigimage'''</s>
:'''yes''' = If the image above needs to be bigger then 52px, add this parameter to the template; it causes the image cell to adapt it's width to the image instead of using a static width of 52px.
:This parameter has no function anymore. This template has been upgraded to handle any size images without using this parameter. If a template uses this parameter, just remove the parameter.


'''imageright'''
'''imageright'''
:'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side.
:'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But on this side the message box can handle images of any size.) For example:  
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:  
::<code><nowiki>imageright = [[Image:Nuvola apps bookcase.png|40px]]</nowiki></code>
::<code><nowiki>imageright = [[Image:Nuvola apps bookcase.png|40px]]</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