Vorlage:Infobox Interaktives Objekt: Unterschied zwischen den Versionen

Aus GuildWiki
Wechseln zu:Navigation, Suche
 
Zeile 1: Zeile 1:
 
<includeonly>
 
<includeonly>
 
{{#if: {{{nocat|}}} ||
 
{{#if: {{{nocat|}}} ||
{{ #switch: {{lc: {{{typ|}}} }}
+
{{#ifeq: {{NAMESPACE}} | {{ns:0}} |
 +
{{#switch: {{lc: {{{typ|}}} }}
 
| bündel
 
| bündel
 
| [[bündel]] = [[Kategorie:Bündel]]
 
| [[bündel]] = [[Kategorie:Bündel]]
Zeile 16: Zeile 17:
 
| [[Kategorie:Interaktives Objekt]]
 
| [[Kategorie:Interaktives Objekt]]
 
}}
 
}}
{{ #if: {{{bild| }}} |  | {{ ifexist| Bild:{{PAGENAME}}.jpg |  | [[Kategorie:Bilder-Stub]] }} }}
+
{{#if: {{{bild| }}} |  | {{ ifexist| Bild:{{PAGENAME}}.jpg |  | [[Kategorie:Bilder-Stub]] }} }}
 +
}}
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Aktuelle Version vom 23. April 2011, 21:30 Uhr

Infobox Interaktives Objekt
Typ Interaktives Objekt
Kampagne [[{{{kampagne}}}]]

Einbinden[Bearbeiten]

Die Vorlage für Interaktive Objekte bindet man mit folgendem Quelltext ein:

{{Infobox Interaktives Objekt
 | typ = Truhe
 | kampagne = Nightfall
 | region = Istan
 | schlüssel = Istan-Schlüssel
}}

Die Parameter[Bearbeiten]

  • typ (Monument, Truhe, Verliestruhe, Bündel, Schatz, Statue)
  • kampagne (Basis, Prophecies, ...)
  • region (optional, z.B. für Truhen)
  • schlüssel (optional, z.B. Ascalon-Schlüssel)
  • fertigkeit (optional, z.B. Wachfalle Wachposten)
  • nocat (optional, um automatische Kategorisierung auszuschalten)
  • wert (optional)
  • icon (optional)