Zum Inhalt springen

Vorlage:Ambox/Doku: Unterschied zwischen den Versionen

Revert to last version by Woogee and David (me). Krinkle: Only unlink public domain images, almost all other licenses require author attribution and linking to the license, else it is copyright crime.
(+ "link=|")
imported>Davidgothberg
(Revert to last version by Woogee and David (me). Krinkle: Only unlink public domain images, almost all other licenses require author attribution and linking to the license, else it is copyright crime.)
Zeile 26: Zeile 26:
| type      = style
| type      = style
| small      = left
| small      = left
| image      = [[File:Emblem-question-yellow.svg|40px|alt=Question mark]]
| image      = [[Image:Emblem-question-yellow.svg|40px|alt=Question mark]]
| smallimage = [[File:Emblem-question-yellow.svg|20px|alt=Question mark]]
| smallimage = [[Image:Emblem-question-yellow.svg|20px|alt=Question mark]]
| textstyle  = color: red; font-weight: bold; font-style: italic;
| textstyle  = color: red; font-weight: bold; font-style: italic;
| text      = Text for a big box, for the top of articles.
| text      = Text for a big box, for the top of articles.
Zeile 37: Zeile 37:
| type      = style
| type      = style
| small      = left
| small      = left
| image      = [[File:Emblem-question-yellow.svg|40px|alt=Question mark]]
| image      = [[Image:Emblem-question-yellow.svg|40px|alt=Question mark]]
| smallimage = [[File:Emblem-question-yellow.svg|20px|alt=Question mark]]
| smallimage = [[Image:Emblem-question-yellow.svg|20px|alt=Question mark]]
| textstyle  = color: red; font-weight: bold; font-style: italic;
| textstyle  = color: red; font-weight: bold; font-style: italic;
| text      = Text for a big box, for the top of articles.
| text      = Text for a big box, for the top of articles.
Zeile 85: Zeile 85:
{{ambox
{{ambox
| type  = content
| type  = content
| image = [[File:Unbalanced scales.svg|40px|link=|alt=]]
| image = [[Image:Unbalanced scales.svg|40px|link=|alt=]]
| text  = type = content <br /> image = <nowiki>[[File:Unbalanced scales.svg|40px|link=|alt=]]</nowiki> <br /> This image is often used for {{tl|POV}} and similar issues.
| text  = type = content <br> image = <nowiki>[[Image:Unbalanced scales.svg|40px|link=|alt=]]</nowiki> <br> This image is often used for {{tl|POV}} and similar issues.
}}
}}
{{ambox
{{ambox
| type  = style
| type  = style
| image = [[File:Wikitext.svg|50px|link=|alt=]]
| image = [[Image:Wikitext.svg|50px|link=|alt=]]
| text  = type = style <br /> image = <nowiki>[[File:Wikitext.svg|50px|link=|alt=]]</nowiki> <br /> This image is often used for {{tl|wikify}} etc.
| text  = type = style <br> image = <nowiki>[[Image:Wikitext.svg|50px|link=|alt=]]</nowiki> <br> This image is often used for {{tl|wikify}} etc.
}}
}}
{{ambox
{{ambox
| type  = move
| type  = move
| image = [[File:Merge-arrows.svg|50px|link=|alt=]]
| image = [[Image:Merge-arrows.svg|50px|link=|alt=]]
| text  = type = move <br /> image = <nowiki>[[File:Merge-arrows.svg|50px|link=|alt=]]</nowiki> <br /> This image is used for {{tl|merge}} etc.
| text  = type = move <br> image = <nowiki>[[Image:Merge-arrows.svg|50px|link=|alt=]]</nowiki> <br> This image is used for {{tl|merge}} etc.
}}
}}


Zeile 112: Zeile 112:


{{ambox
{{ambox
| image = [[File:Gnome globe current event.svg|42px|link=|alt=Clock over a larger globe]]
| image = [[Image:Gnome globe current event.svg|42px|alt=Clock over a larger globe]]
| imageright = [[File:Nuvola apps bookcase.svg|40px|link=|alt=Three stacked books]]
| imageright = [[Image:Nuvola apps bookcase.svg|40px|alt=Three stacked books]]
| text  = image = <nowiki>[[File:Gnome globe current event.svg|42px|link=|alt=Clock over a larger globe]]</nowiki> <br /> imageright = <nowiki>[[File:Nuvola apps bookcase.svg|40px|link=|alt=Three stacked books]]</nowiki>
| text  = image = <nowiki>[[Image:Gnome globe current event.svg|42px|alt=Clock over a larger globe]]</nowiki> <br> imageright = <nowiki>[[Image:Nuvola apps bookcase.svg|40px|alt=Three stacked books]]</nowiki>
}}
}}


{{ambox
{{ambox
| image = [[File:Gnome globe current event.svg|42px|link=|alt=Clock over a larger globe]]
| image = [[Image:Gnome globe current event.svg|42px|alt=Clock over a larger globe]]
| imageright = [[File:Shuttle.svg|20px|link=|alt=]]
| imageright = [[Image:Shuttle.svg|20px|link=|alt=]]
| text  = '''This article or section documents a current [[spaceflight]].'''
| text  = '''This article or section documents a current [[spaceflight]].'''
<br />Content may change as the mission progresses.
<br>Content may change as the mission progresses.
}}
}}


Zeile 131: Zeile 131:
{{ambox
{{ambox
| type  = speedy / delete / content / style / notice / move / protection
| type  = speedy / delete / content / style / notice / move / protection
| image = none / [[File:...|40px|...]]
| image = none / [[Image:...|40px|...]]
| imageright = [[File:...|40px|...]]
| imageright = [[Image:...|40px|...]]
| style = CSS values
| style = CSS values
| textstyle = CSS values
| textstyle = CSS values
| text  = The message body text.
| text  = The message body text.
| small = {{{small|}}} / left
| small = {{{small|}}} / left
| smallimage = none / [[File:...|20px|...]]
| smallimage = none / [[Image:...|20px|...]]
| smallimageright = none / [[File:...|20px|...]]
| smallimageright = none / [[Image:...|20px|...]]
| smalltext  = A shorter message body text.
| smalltext  = A shorter message body text.
}}
}}
Zeile 150: Zeile 150:
:'''An image''' = Should be an image with usual wiki notation. Widths of 40px - 50px are usually about right. (Images over 52 pixels wide will cause padding problems.)
:'''An image''' = Should be an image with usual wiki notation. Widths of 40px - 50px are usually about right. (Images over 52 pixels wide will cause padding problems.)
:: Often an icon is [[Wikipedia:Alternative text for images #Purely decorative images|purely decorative]] in the W3C sense that it repeats the text. To improve [[Wikipedia:Accessibility|accessibility]], it is desirable to not have it be announced by [[screen reader]]s, as well as to avoid it linking to an irrelevant page. If (and only if) the image license allows this, it can be marked with "{{para|link}}{{para|alt}}". For example:
:: Often an icon is [[Wikipedia:Alternative text for images #Purely decorative images|purely decorative]] in the W3C sense that it repeats the text. To improve [[Wikipedia:Accessibility|accessibility]], it is desirable to not have it be announced by [[screen reader]]s, as well as to avoid it linking to an irrelevant page. If (and only if) the image license allows this, it can be marked with "{{para|link}}{{para|alt}}". For example:
:::<code><nowiki>image = [[File:Unbalanced scales.svg|40px|link=|alt=]]</nowiki></code>
:::<code><nowiki>image = [[Image: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: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: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 = [[Image:Gnome globe current event.svg|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 = [[Image:Purple question mark.svg|40px|link=Special:Random|alt=Random article]]</nowiki></code>
:: An icon whose license requires attribution may have alt text, but ''must keep the default link''. Although public domain images do not require a link, many licenses do require one. Please see ''[[Wikipedia:Alternative text for images #Purely decorative images|Purely decorative images]]'' for more information about licensing.
:: An icon whose license requires attribution may have alt text, but ''must keep the default link''. Although public domain images do not require a link, many licenses do require one. Please see ''[[Wikipedia:Alternative text for images #Purely decorative images|Purely decorative images]]'' for more information about licensing.
:'''none''' = Means that no image is used.
:'''none''' = Means that no image is used.
Zeile 162: Zeile 162:
:'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side.
:'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side.
:'''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>imageright = [[File:Nuvola apps bookcase.png|40px|link=|alt=Three stacked books]]</nowiki></code>
::<code><nowiki>imageright = [[Image:Nuvola apps bookcase.png|40px|alt=Three stacked books]]</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.


Zeile 190: Zeile 190:
| type = style
| type = style
| small = left
| small = left
| text = type = style <br /> small = left
| text = type = style <br> small = left
}}
}}


Zeile 200: Zeile 200:
{{ambox
{{ambox
| small = left
| small = left
| image      = [[File:Replacement filing cabinet.svg|50px|link=|alt=]]
| image      = [[Image:Replacement filing cabinet.svg|50px|link=|alt=]]
| smallimage = [[File:Replacement filing cabinet.svg|25px|link=|alt=]]
| smallimage = [[Image:Replacement filing cabinet.svg|25px|link=|alt=]]
| text =
| text =
small = left <br /> image = <nowiki>[[File:Replacement filing cabinet.svg|50px|link=|alt=]]</nowiki> <br /> smallimage = <nowiki>[[File:Replacement filing cabinet.svg|25px|link=|alt=]]</nowiki>
small = left <br> image = <nowiki>[[Image:Replacement filing cabinet.svg|50px|link=|alt=]]</nowiki> <br> smallimage = <nowiki>[[Image:Replacement filing cabinet.svg|25px|link=|alt=]]</nowiki>
}}
}}


Zeile 209: Zeile 209:
:'''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. 20px - 25px width is usually about right. For example:
:'''An image''' = Should be an image with usual wiki notation. 20px - 25px width is usually about right. For example:
::<code><nowiki>smallimageright = [[File:Nuvola apps bookcase.png|20px|alt=Three stacked books]]</nowiki></code>
::<code><nowiki>smallimageright = [[Image:Nuvola apps bookcase.png|20px|alt=Three stacked books]]</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.
:'''none''' = Means that no right side image is used. This overrides any image fed to '''imageright''', when "small=left".
:'''none''' = Means that no right side image is used. This overrides any image fed to '''imageright''', when "small=left".
Zeile 217: Zeile 217:
| 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:Gnome globe current event.svg|50px|alt=Clock over a larger globe]]</nowiki> <br> smallimageright = none
}}
}}


Anonymer Benutzer