Benutzer:Hraun/Sandkasten3: Unterschied zwischen den Versionen
Aus GuildWiki
Hraun (Diskussion | Beiträge) |
Hraun (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
− | + | <includeonly> | |
− | + | {{ #switch: {{lc: {{{typ|}}} }} | |
− | + | | bündel | |
− | + | | [[bündel]] = [[Kategorie:Bündel]] | |
− | + | | schatz | |
− | + | | [[schatz]] = [[Kategorie:Schatz]] | |
− | + | | statue | |
− | + | | [[statue]] = [[Kategorie:Statue]] | |
− | + | | truhe | |
− | + | | [[truhe]] = [[Kategorie:Truhe]] | |
− | + | | verliestruhe | |
− | + | | [[verliestruhe]] = [[Kategorie:Verliestruhe]] | |
− | + | | monument | |
− | + | | [[monument]] = [[Kategorie:Monument]] | |
− | + | | [[Kategorie:Interaktives Objekt]] | |
− | + | }} | |
− | + | {{ #if: {{{bild| }}} | | {{ #ifexist: Bild:{{PAGENAME}}.jpg | | [[Kategorie:Bilder-Stub]] }} }} | |
− | + | </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" | |
− | + | ! colspan="2" style="font-size:110%; text-align:center; background-color:#fadbd9;" | {{#if: {{{schlüssel|}}} | {{PAGENAME}} [[Bild:{{{schlüssel}}} icon.png|25px]] | {{PAGENAME}} }} | |
− | + | |- | |
− | + | ! colspan="2" | [[Bild:{{PAGENAME}}.jpg|center|200px]] | |
− | + | |- valign="top" | |
− | + | ! style="background-color:#fadbd9;" | Typ || {{#if: {{{typ|}}} | [[{{{typ}}}]] | [[Interaktives Objekt]]}} | |
− | + | |- valign="top" | |
− | + | ! style="background-color:#fadbd9;" | [[Kampagne]] || [[{{{kampagne}}}]] | |
− | + | |- valign="top" | |
− | + | {{#if: {{{region|}}} | ! style="background-color:#fadbd9;" {{pipe}} Region {{2pipe}} [[{{{region}}}]] | }} | |
− | + | |- valign="top" | |
− | + | {{#if: {{{schlüssel|}}} | ! style="background-color:#fadbd9;" {{pipe}} Schlüssel {{2pipe}} {{{schlüssel}}} | }} | |
− | + | |- valign="top" | |
− | + | {{#if: {{{fertigkeit|}}} | ! style="background-color:#fadbd9;" {{pipe}} Fertigkeit {{2pipe}} {{fertigkeit icon{{pipe}}{{{fertigkeit}}}}} | }} | |
− | + | |- valign="top" | |
− | + | {{#if: {{{standort|}}} | ! style="background-color:#fadbd9;" {{pipe}} Standort {{2pipe}} {{{standort}}} | |
− | + | {{!-}} colspan="2" style="font-size:110%; text-align:center; background-color:#fadbd9;" {{pipe}} Karte | |
− | ** | + | {{!-}} |
− | ** | + | {{pipe}} colspan="2" style="text-align:center;"{{pipe}} {{ #ifexist: Bild:{{PAGENAME}}_Karte.jpg {{pipe}} [[Bild:{{PAGENAME}}_Karte.jpg{{pipe}}center{{pipe}}200px]] {{pipe}} <includeonly>[[Kategorie:Karten-Stub]]</includeonly> <small>Diese Karte ist nicht vorhanden.<br />Hilf dem GuildWiki indem du sie [http://www.guildwiki.de/gwiki/index.php?title=Spezial:Hochladen&wpDestFile={{PAGENAMEE}}_Karte.jpg hier] hochlädst.}} |
− | ** | + | | }} |
+ | |}<noinclude> | ||
+ | |||
+ | [[Kategorie:Vorlage Infobox]] | ||
+ | ==Einbinden== | ||
+ | Die Vorlage für Interaktive Objekte bindet man mit folgendem Quelltext ein: | ||
+ | <pre> | ||
+ | {{Infobox Interaktives Objekt | ||
+ | | typ = Truhe | ||
+ | | kampagne = Nightfall | ||
+ | | region = Istan | ||
+ | | schlüssel = Istan-Schlüssel | ||
+ | }} | ||
+ | </pre> | ||
+ | ==Die Parameter== | ||
+ | *'''typ''' (Monument, Truhe, Verliestruhe, Bündel, ...) | ||
+ | *'''kampagne''' (Basis, Prophecies, ...) | ||
+ | *'''region''' (optional, z.B. für Truhen) | ||
+ | *'''schlüssel''' (optional, z.B. ''Ascalon-Schlüssel'') | ||
+ | *'''fertigkeit''' (optional, z.B. ''Wachfalle Wachposten'') | ||
+ | *'''standort''' (optional, z.B. ''Insel der Namenlosen'') | ||
+ | </noinclude> |
Version vom 8. August 2008, 17:17 Uhr
Hraun/Sandkasten3 | |
---|---|
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, ...)
- kampagne (Basis, Prophecies, ...)
- region (optional, z.B. für Truhen)
- schlüssel (optional, z.B. Ascalon-Schlüssel)
- fertigkeit (optional, z.B. Wachfalle Wachposten)
- standort (optional, z.B. Insel der Namenlosen)