Jump to content

Template:Ombox/doc: Difference between revisions

no edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 90: Line 90:
}}
}}
{{ombox
{{ombox
| image = [[Image:Gnome globe current event.svg|42px]]
| image = [[File:Globe.png|42px]]
| imageright = [[Image:Nuvola apps bookcase.svg|40px]]
| imageright = [[File:Bookstack.jpg|40px]]
| text  = image = <nowiki>[[Image:Gnome globe current event.svg|42px]]</nowiki> <br> imageright = <nowiki>[[Image:Nuvola apps bookcase.svg|40px]]</nowiki>
| text  = image = <nowiki>[[File:Globe.png|42px]]</nowiki> <br> imageright = <nowiki>[[File:Bookstack.jpg|40px]]</nowiki>
}}
}}


{{ombox
{{ombox
| type      = notice
| type      = notice
| image      = [[Image:Blue check.svg|30px]]
| image      = [[File:Blue check.png|30px]]
| imageright = shortcut WP:SHORT
| imageright = shortcut WP:SHORT
| text      =  
| text      =  
Line 171: Line 171:
{{ombox
{{ombox
| small = yes
| small = yes
| image      = [[Image:Filing cabinet.svg|50px]]
| image      = [[Image:Filing cabinet.png|50px]]
| smallimage = [[Image:Filing cabinet.svg|32px]]
| smallimage = [[Image:Filing cabinet.png|32px]]
| text =  
| text =  
small = yes <br> image = <nowiki>[[Image:Filing cabinet.svg|50px]]</nowiki> <br> smallimage = <nowiki>[[Image:Filing cabinet.svg|32px]]</nowiki>
small = yes <br> image = <nowiki>[[Image:Filing cabinet.png|50px]]</nowiki> <br> smallimage = <nowiki>[[Image:Filing cabinet.png|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:Filing cabinet.svg|30px]]</nowiki></code>
::<code><nowiki>smallimage = [[Image:Filing cabinet.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".