Vorlage:Ombox/Doku: Unterschied zwischen den Versionen
→The small parameters: Changing example image to the filing cabinet. I like to keep the examples real when possible.
imported>Davidgothberg (Adding documentation of the small parameters. And some other fixes.) |
imported>Davidgothberg (→The small parameters: Changing example image to the filing cabinet. I like to keep the examples real when possible.) |
||
Zeile 171: | Zeile 171: | ||
{{ombox | {{ombox | ||
| small = yes | | small = yes | ||
| image = [[Image: | | image = [[Image:Replacement filing cabinet.svg|50px]] | ||
| smallimage = [[Image: | | smallimage = [[Image:Replacement filing cabinet.svg|32px]] | ||
| text = | | text = | ||
small = yes <br> image = <nowiki>[[Image: | small = yes <br> image = <nowiki>[[Image:Replacement filing cabinet.svg|50px]]</nowiki> <br> smallimage = <nowiki>[[Image:Replacement filing cabinet.svg|32px]]</nowiki> | ||
}} | }} | ||
'''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 | :'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example: | ||
::<code><nowiki>image = [[Image: | ::<code><nowiki>image = [[Image:Replacement filing cabinet.svg|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 191: | Zeile 191: | ||
'''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 | :'''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. |