MediaWiki:Common.css
Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.
- Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
- Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
- Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
- Opera: Strg+F5
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ <noinclude>{{Infobox |width=250 |padding=.5 |tpadding=0 |name=Infobox (name) |subtitle=Template (subtitle) |icon=Image needed.svg |file=Image needed.svg |hovertext=Hover Text (hovertext) |lines= {{Infobox/Line|style=text-align:center; font-style:italic;|Homemade Image Subtitle}} {{Infobox/Line|One Column}} {{Infobox/Line|Two|Columns}} {{Infobox/Line|And|Three|Columns}} {{Infobox/Line|Multiple Types|Value 1|Value 2|type1=Type 1|type2=Type 2}} {{Infobox/Line|style=text-align:center; font-size:smaller;|Homemade Footer}} |notes=Annotations & Footnotes (notes) }} This is a general infobox template, based on the old versions of {{Tl|Infobox/Part}} (''Partbox'') and {{Tl|Infobox/Body}} (''Planetbox''). See [[Template talk:Infobox/Part]] for more information about the new infoboxes. {{Parameter table|name=text|style=hover|parameters= {{Parameter row|width|Box width in pixels.|<tt>200</tt>}} {{Parameter row|padding|Padding in <tt>em</tt>.|<tt>0.2</tt>}} {{Parameter row|tpadding|Padding of the table in <tt>em</tt>|<tt>0</tt>}} {{Parameter row|name|Box title.|Base page name}} {{Parameter row|subtitle|Box subtitle|Hidden}} {{Parameter row|icon|File next to title and subtitle|Not set/Hidden}} {{Parameter row|icon width|File next to title and subtitle width in pixels|If subtitle present: 48 pixels. Else: 37 pixels.}} {{Parameter row|file|Box image. When set to <tt>none</tt> doesn't display any image.|[[:File:Image needed.svg]]}} {{Parameter row|file style|CSS style for the infobox image.|Not set}} {{Parameter row|thumb|An image description displayed below the image|Not set}} {{Parameter row|file extra1|An extra image displayed below the first image|Not set}} {{Parameter row|thumb extra1|An image description displayed below the first extra image|Not set}} {{Parameter row|file extra2|An extra image displayed below the first image|Not set}} {{Parameter row|thumb extra2|An image description displayed below the second extra image|Not set}} {{Parameter row|hovertext|Image hover text.|<tt>name</tt> or base page name}} {{Parameter row|lines|Lines, use {{tl|Infobox/Line}}.}} {{Parameter row|notes|Footnotes, references style.|Invisible}} }} The [[:Category:Infobox templates]] contains all templates which directly use this template. [[Category:Infobox templates| ]]</noinclude><includeonly><div class="infobox" style="float: {{if rtl|left|right}}; width: {{{width|200}}}px; margin-{{if rtl|right|left}}: 1em; padding: {{{padding|0.2}}}em; direction: {{if rtl|rtl|ltr}};"> {| style="font-size: 90%; padding: {{{tpadding|0}}}em; width: 100%" valign="top" |- | colspan="3" style="background: #ccc; padding: .3em; text-align: center; font-weight: bold;"| <span style="font-size: large; vertical-align: middle">{{#if: {{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}</span>{{#if:{{{subtitle|}}}|<br/>{{{subtitle}}}|}}{{#if:{{{icon|}}}|<span style="padding-right: .3em; padding-top: .3em; padding-bottom: .3em; text-align: center; font-weight: bold; margin-left: .3em">[[File:{{{icon}}}|{{{icon width|{{#if:{{{subtitle|}}}|48|37}}}}}px]]</span>}} |- {{#ifeq: {{{file|}}}|none||{{!}} {{#if: {{{file style|}}}|style="{{{file style}}}"}} colspan="3" {{!}} [[File:{{#if: {{{file|}}}|{{{file}}}|Image needed.svg}}|{{#expr: {{{width|200}}} - 10}}x{{#expr: {{{width|200}}} - 10}}px|center|{{{hovertext|{{#if: {{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}}}}]]{{if||{{{thumb|}}}| {{Infobox/Line|style=text-align:center;|{{{thumb}}} }} }}{{if||{{{file extra1|}}}|3= {{(!}} style=text-align:center; {{!}} [[File:{{{file extra1}}}|{{#expr: {{{width|200}}} / 2 - 10}}x{{#expr: {{{width|200}}} / 2 - 10}}px|center|{{#if: {{{thumb extra1|}}}|{{{thumb extra1}}}}}]] {{!}} {{#if: {{{file extra2|}}}|[[File:{{{file extra2}}}|{{#expr: {{{width|200}}} / 2 - 10}}x{{#expr: {{{width|200}}} / 2 - 10}}px|center|{{#if: {{{thumb extra2|}}}|{{{thumb extra2}}}|}}]]}} {{!}}- {{!}} {{#if: {{{thumb extra1|}}}|{{{thumb extra1}}}}} {{!}} {{#if: {{{file extra2|}}}|{{#if: {{{thumb extra2|}}}|{{{thumb extra2}}} }} }} {{!}}} }} }} {{{lines}}} {{#if: {{{notes|}}}|{{!}}- {{!}} colspan="3" style="font-size: smaller" {{!}} ---- {{{notes}}} }} |} </div></includeonly>