Vorlage:Infobox Miniatur: Unterschied zwischen den Versionen

Aus GuildWiki
Wechseln zu:Navigation, Suche
Zeile 1: Zeile 1:
 
<includeonly>
 
<includeonly>
 
{{ #if: {{{bild| }}} |  | {{ #ifexist: Bild:{{PAGENAME}}.jpg |  | [[Kategorie:Bilder-Stub]] }} }}
 
{{ #if: {{{bild| }}} |  | {{ #ifexist: Bild:{{PAGENAME}}.jpg |  | [[Kategorie:Bilder-Stub]] }} }}
{{ #switch: {{lc: {{{typ|}}} }}
+
{{ #if: {{{farbe|}}} | [[Kategorie:Miniatur ({{{farbe}}}]] | [[Kategorie:Miniatur]]
| miniatur
 
| [[miniatur]] = [[Kategorie:Miniatur]]|
 
 
}}
 
}}
 
</includeonly>
 
</includeonly>
Zeile 11: Zeile 9:
 
! colspan="2" | [[Bild:{{PAGENAME}}.jpg|center|160px]]
 
! colspan="2" | [[Bild:{{PAGENAME}}.jpg|center|160px]]
 
|- valign="top"
 
|- valign="top"
! style="background-color:#F99;" | Typ  || [[Miniatur]]
+
! style="background-color:#F99;" | Typ  || {{typ}}
 
|- valign="top"
 
|- valign="top"
 
! style="background-color:#F99;" | Ausgabe  || {{{ausgabe}}}
 
! style="background-color:#F99;" | Ausgabe  || {{{ausgabe}}}

Version vom 22. April 2008, 14:35 Uhr

Infobox Miniatur
Typ Vorlage:Typ
Ausgabe {{{ausgabe}}}
Farbe {{{farbe}}}
Symbol Datei:Infobox Miniatur.png

Einbinden

Die Miniatur-Vorlage bindet man in den Miniaturen-Artikel wie folgt ein:

{{Infobox Miniatur
 |ausgabe=erster Geburtstag
 |farbe=grün
}}

Die Parameter

  • ausgabe (z.B. erster Geburtstag)
  • farbe (z.B. grün, lila, usw.)