Vorlage:Infobox Interaktives Objekt: Unterschied zwischen den Versionen
Aus GuildWiki
(nocat) |
|||
Zeile 33: | Zeile 33: | ||
|- valign="top" | |- valign="top" | ||
{{#if: {{{fertigkeit|}}} | ! style="background-color:#fadbd9;" {{pipe}} Fertigkeit {{2pipe}} {{fertigkeit icon|{{{fertigkeit}}}}} | }} | {{#if: {{{fertigkeit|}}} | ! style="background-color:#fadbd9;" {{pipe}} Fertigkeit {{2pipe}} {{fertigkeit icon|{{{fertigkeit}}}}} | }} | ||
+ | |- valign="top" | ||
+ | {{#if: {{{wert|}}} | ! style="background-color:#fadbd9;" {{pipe}} Wert {{2pipe}} {{ #switch: {{{wert|}}} | 0 = Nicht verkäuflich | #default = {{Kosten|{{{wert}}}}} }} }} | ||
|- valign="top" | |- valign="top" | ||
{{#if: {{{standort|}}} | ! style="background-color:#fadbd9;" {{pipe}} Standort {{2pipe}} {{{standort}}} | }} | {{#if: {{{standort|}}} | ! style="background-color:#fadbd9;" {{pipe}} Standort {{2pipe}} {{{standort}}} | }} | ||
+ | |- valign="top" | ||
+ | {{#if: {{{icon|}}} | ! style="background-color:#fadbd9;" {{pipe}} Inventaricon {{2pipe}} {{{icon}}} }} | ||
|}<noinclude> | |}<noinclude> | ||
Zeile 55: | Zeile 59: | ||
*'''fertigkeit''' (optional, z.B. ''Wachfalle Wachposten'') | *'''fertigkeit''' (optional, z.B. ''Wachfalle Wachposten'') | ||
*'''nocat''' (optional, um automatische Kategorisierung auszuschalten) | *'''nocat''' (optional, um automatische Kategorisierung auszuschalten) | ||
+ | *'''wert''' (optional) | ||
+ | *'''icon''' (optional) | ||
</noinclude> | </noinclude> |
Version vom 15. Februar 2011, 17:34 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)
- wert (optional)
- icon (optional)