Vorlage:Imbox/Doku: Unterschied zwischen den Versionen
Changed example text: "Sub-arrows.svg" -> "Gnome-dev-camera.svg". (But I don't think anyone would have noticed that that was a category image.)
imported>Davidgothberg (Made all headings same level so they look bigger in the text. Listed parameter "text" last as that is easier when using it.) |
imported>Davidgothberg (Changed example text: "Sub-arrows.svg" -> "Gnome-dev-camera.svg". (But I don't think anyone would have noticed that that was a category image.)) |
||
Zeile 154: | Zeile 154: | ||
:'''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. (Images over 52 pixels width will cause padding problems.) For example: | ||
::<code><nowiki>image = [[Image: | ::<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. | ||