Vorlage:Infobox Interaktives Objekt: Unterschied zwischen den Versionen
Aus GuildWiki
Zur Navigation springenZur Suche springen
(Änderung 374977 von GamePlayer (Diskussion) wurde rückgängig gemacht.) |
(nocat) |
||
| Zeile 1: | Zeile 1: | ||
<includeonly> | <includeonly> | ||
{{#if: {{{nocat|}}} || | |||
{{ #switch: {{lc: {{{typ|}}} }} | {{ #switch: {{lc: {{{typ|}}} }} | ||
| bündel | | bündel | ||
| Zeile 16: | Zeile 17: | ||
}} | }} | ||
{{ #if: {{{bild| }}} | | {{ ifexist| Bild:{{PAGENAME}}.jpg | | [[Kategorie:Bilder-Stub]] }} }} | {{ #if: {{{bild| }}} | | {{ ifexist| Bild:{{PAGENAME}}.jpg | | [[Kategorie:Bilder-Stub]] }} }} | ||
}} | |||
</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" | ||
| Zeile 52: | Zeile 54: | ||
*'''schlüssel''' (optional, z.B. ''Ascalon-Schlüssel'') | *'''schlüssel''' (optional, z.B. ''Ascalon-Schlüssel'') | ||
*'''fertigkeit''' (optional, z.B. ''Wachfalle Wachposten'') | *'''fertigkeit''' (optional, z.B. ''Wachfalle Wachposten'') | ||
*'''nocat''' (optional, um automatische Kategorisierung auszuschalten) | |||
</noinclude> | </noinclude> | ||
Version vom 27. Januar 2010, 15:44 Uhr
| Infobox Interaktives Objekt | |
|---|---|
| Typ | Interaktives Objekt |
| Kampagne | [[{{{kampagne}}}]] |
Einbinden
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
- 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)