Πρότυπο:Ambox/τεκμηρίωση: Διαφορά μεταξύ των αναθεωρήσεων

+ "link=|"
imported>Woogee
(Undid revision 336527513 by Cherry101010 (talk))
(+ "link=|")
| type = style
| small = left
| image = [[ImageFile:Emblem-question-yellow.svg|40px|alt=Question mark]]
| smallimage = [[ImageFile:Emblem-question-yellow.svg|20px|alt=Question mark]]
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = Text for a big box, for the top of articles.
| type = style
| small = left
| image = [[ImageFile:Emblem-question-yellow.svg|40px|alt=Question mark]]
| smallimage = [[ImageFile:Emblem-question-yellow.svg|20px|alt=Question mark]]
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = Text for a big box, for the top of articles.
{{ambox
| type = content
| image = [[ImageFile:Unbalanced scales.svg|40px|link=|alt=]]
| text = type = content <br /> image = <nowiki>[[ImageFile:Unbalanced scales.svg|40px|link=|alt=]]</nowiki> <br /> This image is often used for {{tl|POV}} and similar issues.
}}
{{ambox
| type = style
| image = [[ImageFile:Wikitext.svg|50px|link=|alt=]]
| text = type = style <br /> image = <nowiki>[[ImageFile:Wikitext.svg|50px|link=|alt=]]</nowiki> <br /> This image is often used for {{tl|wikify}} etc.
}}
{{ambox
| type = move
| image = [[ImageFile:Merge-arrows.svg|50px|link=|alt=]]
| text = type = move <br /> image = <nowiki>[[ImageFile:Merge-arrows.svg|50px|link=|alt=]]</nowiki> <br /> This image is used for {{tl|merge}} etc.
}}
 
 
{{ambox
| image = [[ImageFile:Gnome globe current event.svg|42px|link=|alt=Clock over a larger globe]]
| imageright = [[ImageFile:Nuvola apps bookcase.svg|40px|link=|alt=Three stacked books]]
| text = image = <nowiki>[[ImageFile:Gnome globe current event.svg|42px|link=|alt=Clock over a larger globe]]</nowiki> <br /> imageright = <nowiki>[[ImageFile:Nuvola apps bookcase.svg|40px|link=|alt=Three stacked books]]</nowiki>
}}
 
{{ambox
| image = [[ImageFile:Gnome globe current event.svg|42px|link=|alt=Clock over a larger globe]]
| imageright = [[ImageFile:Shuttle.svg|20px|link=|alt=]]
| text = '''This article or section documents a current [[spaceflight]].'''
<br />Content may change as the mission progresses.
}}
 
{{ambox
| type = speedy / delete / content / style / notice / move / protection
| image = none / [[ImageFile:...|40px|...]]
| imageright = [[ImageFile:...|40px|...]]
| style = CSS values
| textstyle = CSS values
| text = The message body text.
| small = {{{small|}}} / left
| smallimage = none / [[ImageFile:...|20px|...]]
| smallimageright = none / [[ImageFile:...|20px|...]]
| smalltext = A shorter message body text.
}}
:'''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:
:::<code><nowiki>image = [[ImageFile: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:
:::<code><nowiki>image = [[ImageFile: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:
:::<code><nowiki>image = [[ImageFile: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.
:'''none''' = Means that no image is used.
:'''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:
::<code><nowiki>imageright = [[ImageFile:Nuvola apps bookcase.png|40px|link=|alt=Three stacked books]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
 
| type = style
| small = left
| text = type = style <br /> small = left
}}
 
{{ambox
| small = left
| image = [[ImageFile:Replacement filing cabinet.svg|50px|link=|alt=]]
| smallimage = [[ImageFile:Replacement filing cabinet.svg|25px|link=|alt=]]
| text =
small = left <br /> image = <nowiki>[[ImageFile:Replacement filing cabinet.svg|50px|link=|alt=]]</nowiki> <br /> smallimage = <nowiki>[[ImageFile:Replacement filing cabinet.svg|25px|link=|alt=]]</nowiki>
}}
 
:'''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:
::<code><nowiki>smallimageright = [[ImageFile:Nuvola apps bookcase.png|20px|alt=Three stacked books]]</nowiki></code>
:'''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".
| smallimageright = none
| text =
small = left <br /> imageright = <nowiki>[[File:Gnome globe current event.svg|50px|alt=Clock over a larger globe]]</nowiki> <br /> smallimageright = none
}}
 
55

επεξεργασίες