Vorlage:Infobox Polymock: Unterschied zwischen den Versionen

Aus GuildWiki
Wechseln zu:Navigation, Suche
 
(3 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 
<includeonly>
 
<includeonly>
{{ #if: {{{bild| }}} |  | {{ #ifexist: Bild:{{PAGENAME}}.jpg |  | [[Kategorie:Bilder-Stub]] }} }}
+
{{#if: {{{nocat|}}} | |
{{ #ifexist: Bild:{{PAGENAME}} icon.png |  | [[Kategorie:Icon-Stub]] }} }}
+
{{#ifeq: {{{spielbar|}}} | nein | |
 +
{{ #if: {{{bild| }}} |  | {{ifexist| Bild:{{PAGENAME}}.jpg |  | [[Kategorie:Bilder-Stub]] }} }}
 +
{{ifexist| Bild:{{PAGENAME}} icon.png |  | [[Kategorie:Icon-Stub]] }} }}
 
{{ #if:  {{{farbe|}}} | [[Kategorie:Polymockfigur ({{{farbe}}})]] | [[Kategorie:Polymockfigur]]
 
{{ #if:  {{{farbe|}}} | [[Kategorie:Polymockfigur ({{{farbe}}})]] | [[Kategorie:Polymockfigur]]
}}
+
}} }}
 
</includeonly>
 
</includeonly>
 
{| style="background-color:#FFF; margin: 0 0 0.5em 1em; border:1px solid silver; float:right; font-size:90%; text-align:left;" cellpadding="5" cellspacing="3" align="right"
 
{| style="background-color:#FFF; margin: 0 0 0.5em 1em; border:1px solid silver; float:right; font-size:90%; text-align:left;" cellpadding="5" cellspacing="3" align="right"
 
! colspan="2" style="font-size:110%; text-align:center; background-color:lightblue;" | {{PAGENAME}}
 
! colspan="2" style="font-size:110%; text-align:center; background-color:lightblue;" | {{PAGENAME}}
|-
+
{{#ifeq: {{{spielbar|}}} | nein | |
! colspan="2" | [[Bild:{{PAGENAME}}.jpg|center|160px]]
+
{{pipe}}-
 +
! colspan="2" {{pipe}} [[Bild:{{PAGENAME}}.jpg|center|160px]]
 +
}}
 
|- valign="top"
 
|- valign="top"
 
! style="background-color:lightblue;" | Typ  || [[Polymock]]
 
! style="background-color:lightblue;" | Typ  || [[Polymock]]
 
|- valign="top"
 
|- valign="top"
! style="background-color:lightblue;" | Ausgabe  || {{{ausgabe}}}
+
! style="background-color:lightblue;" | Ausgabe  || {{#ifeq: {{{spielbar|}}} | nein | nur Gegner | {{{ausgabe}}} }}
 
|- valign="top"
 
|- valign="top"
 
! style="background-color:lightblue;" | Farbe  || {{{farbe}}}  
 
! style="background-color:lightblue;" | Farbe  || {{{farbe}}}  
|- valign="top"
+
{{#ifeq: {{{spielbar|}}} | nein | |
! style="background-color:lightblue;" | Inventaricon  || [[Bild:{{PAGENAME}} icon.png]]
+
{{pipe}}- valign="top"
|}
+
! style="background-color:lightblue;" {{pipe}} Inventaricon  {{2pipe}} [[Bild:{{PAGENAME}} icon.png]]
<noinclude>
+
}}
[[Kategorie:Vorlage Infobox]]
+
|}<noinclude>
 +
 
 
==Einbinden==
 
==Einbinden==
 
Die Polymock-Vorlage bindet man in den Artikel der Polymockfigur wie folgt ein:
 
Die Polymock-Vorlage bindet man in den Artikel der Polymockfigur wie folgt ein:
Zeile 29: Zeile 34:
 
</pre>
 
</pre>
 
==Die Parameter==
 
==Die Parameter==
*'''ausgabe''' (z.B. ''Polymock'')
+
;ausgabe
*'''farbe''' (z.B. ''gold'', ''lila'', ''weiß'')
+
:z.B. ''Polymock''
 +
;farbe  
 +
:z.B. ''gold'', ''lila'', ''weiß''
 +
;spielbar=nein
 +
:bei NSC-Figuren, sonst weglassen
 +
;nocat
 +
:Schaltet Kategorisierung aus. Für Testzwecke und Ähnliches.
  
 +
[[Kategorie:Vorlage Infobox]]
 
</noinclude>
 
</noinclude>

Aktuelle Version vom 31. August 2009, 13:35 Uhr

Infobox Polymock
Typ Polymock
Ausgabe {{{ausgabe}}}
Farbe {{{farbe}}}
Inventaricon Datei:Infobox Polymock icon.png

Einbinden[Bearbeiten]

Die Polymock-Vorlage bindet man in den Artikel der Polymockfigur wie folgt ein:

{{Infobox Polymock
 |ausgabe=Verliestruhe
 |farbe=gold
}}

Die Parameter[Bearbeiten]

ausgabe
z.B. Polymock
farbe
z.B. gold, lila, weiß
spielbar=nein
bei NSC-Figuren, sonst weglassen
nocat
Schaltet Kategorisierung aus. Für Testzwecke und Ähnliches.