Vorlage:Imbox/Doku: Unterschied zwischen den Versionen

minor formatting
imported>DixonDBot
K (Migrating 17 interwiki links, now provided by Wikidata on d:Q5825560)
(minor formatting)
Zeile 30: Zeile 30:
| type      = style
| type      = style
| image    = [[Image:Emblem-question-yellow.svg|40px]]
| image    = [[Image:Emblem-question-yellow.svg|40px]]
| style    = width: 400px;  
| style    = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text      = The message body text.
| text      = The message body text.
Zeile 39: Zeile 39:
| type      = style
| type      = style
| image    = [[Image:Emblem-question-yellow.svg|40px]]
| image    = [[Image:Emblem-question-yellow.svg|40px]]
| style    = width: 400px;  
| style    = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text      = The message body text.
| text      = The message body text.
Zeile 90: Zeile 90:
| type  = style
| type  = style
| image = [[Image:Gnome-dev-camera.svg|42px]]
| image = [[Image:Gnome-dev-camera.svg|42px]]
| text  = type = style <br> image = <nowiki>[[Image:Gnome-dev-camera.svg|42px]]</nowiki> <br> This image is used for {{tl|cleanup-image}}.  
| text  = type = style <br> image = <nowiki>[[Image:Gnome-dev-camera.svg|42px]]</nowiki> <br> This image is used for {{tl|cleanup-image}}.
}}
}}
{{imbox
{{imbox
| type  = move
| type  = move
| image = [[Image:To Commons.svg|52px]]
| image = [[Image:To Commons.svg|52px]]
| text  = type = move <br> image = <nowiki>[[Image:To Commons.svg|52px]]</nowiki> <br> This image is used for {{tl|copy to Wikimedia Commons}}.  
| text  = type = move <br> image = <nowiki>[[Image:To Commons.svg|52px]]</nowiki> <br> This image is used for {{tl|copy to Wikimedia Commons}}.
}}
}}
{{imbox
{{imbox
Zeile 195: Zeile 195:
Namespace "Image:" was renamed to "File:" on 11 December 2008. This template was created long before that, and that is why it is named "imbox" as in "image message box".
Namespace "Image:" was renamed to "File:" on 11 December 2008. This template was created long before that, and that is why it is named "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:


<pre>
<pre>
Zeile 217: Zeile 217:
This template uses the imbox CSS classes in [[MediaWiki:Common.css]] for most of its looks, thus it is fully skinnable.
This template uses the imbox CSS classes in [[MediaWiki:Common.css]] for most of its looks, thus it is fully skinnable.


Internally this meta-template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta-templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.  
Internally this meta-template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta-templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.


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 png images. For those older browsers these png images have been modified so that the color of their default backgrounds match the background color of the template. The default background that MediaWiki renders for svg images is always white. This creates a white box around the images when displayed in older browsers.
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 png images. For those older browsers these png images have been modified so that the color of their default backgrounds match the background color of the template. The default background that MediaWiki renders for svg images is always white. This creates a white box around the images when displayed in older browsers.
Anonymer Benutzer