Vorlage:InfoboxM: Unterschied zwischen den Versionen
Mawe (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<noinclude> == Verwendung == Die InfoboxM dient zum erstellen von Infoboxen, welche in der Mitte einer Seite erscheinen sollen. == Syntax == Die Syntax der …“) |
Mawe (Diskussion | Beiträge) |
||
Zeile 57: | Zeile 57: | ||
<div style="-moz-border-bottom-colors: none; | <div style="-moz-border-bottom-colors: none; | ||
− | -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background: none repeat scroll 0 0 #FFFFFF; border-color: -moz-use-text-color #8898BF #8898bf; border-right: 1px solid #8898BF; border-left: 1px solid #8898BF; border-bottom: 1px solid #8898BF;border-style: none solid solid; border-width: 0 1px 1px; padding: 0.3em 0.8em 0.4em; margin-right:0.5em;margin-bottom:1em; | + | -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background: none repeat scroll 0 0 #FFFFFF; border-color: -moz-use-text-color #8898BF #8898bf; border-right: 1px solid #8898BF; border-left: 1px solid #8898BF; border-bottom: 1px solid #8898BF;border-style: none solid solid; border-width: 0 1px 1px; padding: 0.3em 0.8em 0.4em; margin-right:0.5em;margin-bottom:1em;margin-left:0.5em; |
"> | "> |
Version vom 30. August 2012, 18:47 Uhr
Inhaltsverzeichnis
Verwendung
Die InfoboxM dient zum erstellen von Infoboxen, welche in der Mitte einer Seite erscheinen sollen.
Syntax
Die Syntax der InfoboxM ist folgendermaßen:
{{InfoboxM
| Überschrift
| Inhalt
}}
Es ist zu beachten, dass im Inhalt keine weiteren " | " Zeichen vorkommen. Sollte dies Notwendig sein, etwa zum Links setzen, ist die Vorlage {{!}} anstelle von " | " zu benutzen.
Beispiel
Dieser Code:
{{InfoboxL|Ich bin eine InfoboxL |Ich bin der Inhalt mit einem [[Test:Startseite{{!}}Link]]}}
{{InfoboxM|Ich bin eine InfoboxM |Ich bin der Inhalt mit einem [[Test:Startseite{{!}}Link]]}}
{{InfoboxR|Ich bin eine InfoboxR |Ich bin der Inhalt mit einem [[Test:Startseite{{!}}Link]]}}
ergibt diese Infoboxen:
Ich bin die Überschrift
Ich bin der Inhalt mit einem Link
Ich bin eine InfoboxM
Ich bin der Inhalt mit einem Link
Ich bin eine InfoboxR
Ich bin der Inhalt mit einem Link
{{{1}}}
{{{2}}}