Vorlage:Imbox/Doku: Unterschied zwischen den Versionen

imported>Blooper4912
KKeine Bearbeitungszusammenfassung
imported>Davidgothberg
(Some updates of the text since the namespace "Image" has been renamed to "File".)
Zeile 5: Zeile 5:
This is the {{tl|imbox}} or '''image message box''' meta-template.
This is the {{tl|imbox}} or '''image message box''' meta-template.


It is used to build message box templates for image pages, such as {{tl|cleanup-image}} etc. It offers several different colours, uses default images if no image parameter is given and it has some other features.
It is used to build message box templates for file (image) pages, such as {{tl|cleanup-image}} etc. It offers several different colours, uses default images if no image parameter is given and it has some other features.


This template works almost exactly like {{tl|ambox}} and uses the same parameters.
This template works almost exactly like {{tl|ambox}} and uses the same parameters.
Zeile 11: Zeile 11:
=== We are deploying! ===
=== We are deploying! ===


After long discussion on the [[Template talk:Imbox|talk page]] of this template and at other places we are finally deploying this template. Feel free to convert any message boxes used on image pages to use this meta-template. If you find any tricky cases then list them on the talk page of this template and you'll get help.
After long discussion on the [[Template talk:Imbox|talk page]] of this template and at other places we are finally deploying this template. Feel free to convert any message boxes used on file pages to use this meta-template. If you find any tricky cases then list them on the talk page of this template and you'll get help.


When this template is used to build image message boxes those boxes should contain explanatory texts just like before. (The same texts as before or new improved texts.) If there are more specific images in the boxes or you know a better image, then use them instead of the default images shown here.
When this template is used to build image message boxes those boxes should contain explanatory texts just like before. (The same texts as before or new improved texts.) If there are more specific images in the boxes or you know a better image, then use them instead of the default images shown here.
Zeile 194: Zeile 194:


=== Technical details ===
=== Technical details ===
Namespace "Image:" was renamed to "File:" on 11 December 2008. This template was created long before that, and that is why it is called "imbox" as in "image message box".


If you need to use special characters in the text parameter then you need to escape them like this:  
If you need to use special characters in the text parameter then you need to escape them like this:  
Zeile 221: Zeile 223:
The default images for this meta-template are in png format instead of svg format. The main reason is that some older web browsers have trouble with the transparent background that MediaWiki renders for svg images. The png images here have hand optimised transparent background colour so they look good in all browsers. Note that svg icons only look somewhat bad in the old browsers, thus such hand optimisation is only worth the trouble for very widely used icons.
The default images for this meta-template are in png format instead of svg format. The main reason is that some older web browsers have trouble with the transparent background that MediaWiki renders for svg images. The png images here have hand optimised transparent background colour so they look good in all browsers. Note that svg icons only look somewhat bad in the old browsers, thus such hand optimisation is only worth the trouble for very widely used icons.


For more technical details see the [[Template talk:Imbox|talk page]]. Since this template works almost exactly like {{tl|ambox}} and {{tl|cmbox}} their talk pages and related pages might also contain more details.
For more technical details see the [[Template talk:Imbox|talk page]]. Since this template works almost exactly like the other mboxes their talk pages and related pages might also contain more details, see the "See also" section below.


=== See also ===
=== See also ===
Zeile 228: Zeile 230:
* {{tl|ambox}} – For article message boxes.
* {{tl|ambox}} – For article message boxes.
* {{tl|tmbox}} – For talk page message boxes.
* {{tl|tmbox}} – For talk page message boxes.
* {{tl|imbox}} – For image page message boxes.
* {{tl|imbox}} – For file (image) page message boxes.
* {{tl|cmbox}} – For category message boxes.
* {{tl|cmbox}} – For category message boxes.
* {{tl|ombox}} – For other pages message boxes.
* {{tl|ombox}} – For other pages message boxes.