|
|
Line 129: |
Line 129: |
| :::<code><nowiki>image = [[File:Unbalanced scales.svg|40px|link=|alt=]]</nowiki></code> | | :::<code><nowiki>image = [[File:Unbalanced scales.svg|40px|link=|alt=]]</nowiki></code> |
| :: Conversely, an icon that does not use "{{para|link}}{{para|alt}}", and which therefore is announced to visually impaired readers, should use an "{{para|alt|<var>[[Wikipedia:Wikipedia:Alternative text for images|alt text]]</var>}}" parameter that describes the icon. With no {{para|link}} parameter (using the default link), the alt text should describe the icon's visual appearance. For example: | | :: Conversely, an icon that does not use "{{para|link}}{{para|alt}}", and which therefore is announced to visually impaired readers, should use an "{{para|alt|<var>[[Wikipedia:Wikipedia:Alternative text for images|alt text]]</var>}}" parameter that describes the icon. With no {{para|link}} parameter (using the default link), the alt text should describe the icon's visual appearance. For example: |
| :::<code><nowiki>image = [[File:Gnome globe current event.svg|40px|alt=Clock over a larger globe]]</nowiki></code> | | :::<code><nowiki>image = [[File:nome globe current event.png|40px|alt=Clock over a larger globe]]</nowiki></code> |
| :: With a nonempty "{{para|link|<var>Page</var>}}" the alt text should describe the icon's function. For example: | | :: With a nonempty "{{para|link|<var>Page</var>}}" the alt text should describe the icon's function. For example: |
| :::<code><nowiki>image = [[File:Purple question mark.svg|40px|link=Special:Random|alt=Random article]]</nowiki></code> | | :::<code><nowiki>image = [[File:Purple question mark.svg|40px|link=Special:Random|alt=Random article]]</nowiki></code> |
Line 173: |
Line 173: |
| :'''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. 20px width is usually about right for boxes with one line of text, while 25px width is usually about right for boxes with two lines of text. For example: | | :'''An image''' = Should be an image with usual wiki notation. 20px width is usually about right for boxes with one line of text, while 25px width is usually about right for boxes with two lines of text. For example: |
| ::<code><nowiki>smallimage = [[File:Gnome globe current event.svg|20px|alt=Clock over a larger globe]]</nowiki></code> | | ::<code><nowiki>smallimage = [[File:nome globe current event.png|20px|alt=Clock over a larger globe]]</nowiki></code> |
| :'''none''' = Means that no image is used. This overrides any image fed to '''image''', when "small=left". | | :'''none''' = Means that no image is used. This overrides any image fed to '''image''', when "small=left". |
| {{ambox | | {{ambox |
Line 191: |
Line 191: |
| {{ambox | | {{ambox |
| | small = left | | | small = left |
| | imageright = [[File:Gnome globe current event.svg|50px|alt=Clock over a larger globe]] | | | imageright = [[File:nome globe current event.png|50px|alt=Clock over a larger globe]] |
| | smallimageright = none | | | smallimageright = none |
| | text = | | | text = |
| small = left <br> imageright = <nowiki>[[File:Gnome globe current event.svg|50px|alt=Clock over a larger globe]]</nowiki> <br> smallimageright = none | | small = left <br> imageright = <nowiki>[[File:nome globe current event.png|50px|alt=Clock over a larger globe]]</nowiki> <br> smallimageright = none |
| }} | | }} |
|
| |
|