Template:Ombox/doc: Difference between revisions

no edit summary
m (remove broken template)
No edit summary
Line 171: Line 171:
{{ombox
{{ombox
| small = yes
| small = yes
| image      = [[Image:Replacement filing cabinet.svg|50px]]
| image      = [[Image:Filing cabinet.svg|50px]]
| smallimage = [[Image:Replacement filing cabinet.svg|32px]]
| smallimage = [[Image:Filing cabinet.svg|32px]]
| text =  
| text =  
small = yes <br> image = <nowiki>[[Image:Replacement filing cabinet.svg|50px]]</nowiki> <br> smallimage = <nowiki>[[Image:Replacement filing cabinet.svg|32px]]</nowiki>
small = yes <br> image = <nowiki>[[Image:Filing cabinet.svg|50px]]</nowiki> <br> smallimage = <nowiki>[[Image: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 is 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>smallimage = [[Image:Replacement filing cabinet.svg|30px]]</nowiki></code>
::<code><nowiki>smallimage = [[Image: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".