Bearbeiten von „Vorlage:Infobox Interaktives Objekt“
Aus GuildWiki
Du bearbeitest diese Seite unangemeldet. Wenn du speicherst, wird deine aktuelle IP-Adresse in der Versionsgeschichte aufgezeichnet und ist damit unwiderruflich öffentlich einsehbar. Wenn du das nicht möchtest, registriere dich. Das ist kostenlos und ohne Angabe einer E-Mail-Adresse möglich.
Die Bearbeitung kann rückgängig gemacht werden.
Bitte prüfe den Vergleich unten, um sicherzustellen, dass du dies tun möchtest, und speichere dann unten deine Änderungen, um die Bearbeitung rückgängig zu machen.
Aktuelle Version | Dein Text | ||
Zeile 1: | Zeile 1: | ||
<includeonly> | <includeonly> | ||
− | + | {{ #switch: {{lc: {{{typ|}}} }} | |
− | |||
− | {{#switch: {{lc: {{{typ|}}} }} | ||
− | |||
− | |||
| schatz | | schatz | ||
| [[schatz]] = [[Kategorie:Schatz]] | | [[schatz]] = [[Kategorie:Schatz]] | ||
| statue | | statue | ||
− | | [[statue]] = [[Kategorie: | + | | [[statue]] = [[Kategorie:Statue]] |
| truhe | | truhe | ||
| [[truhe]] = [[Kategorie:Truhe]] | | [[truhe]] = [[Kategorie:Truhe]] | ||
Zeile 15: | Zeile 11: | ||
| monument | | monument | ||
| [[monument]] = [[Kategorie:Monument]] | | [[monument]] = [[Kategorie:Monument]] | ||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
+ | {{ #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" | ||
− | ! colspan="2" style="font-size:110%; text-align:center; background-color:#fadbd9;" | {{#if: {{{schlüssel|}}} | {{PAGENAME}} [[Bild:{{{schlüssel}}} | + | ! colspan="2" style="font-size:110%; text-align:center; background-color:#fadbd9;" | {{#if: {{{schlüssel|}}} | {{PAGENAME}} [[Bild:{{{schlüssel}}}.png|25px]] | {{PAGENAME}} }} |
|- | |- | ||
− | ! colspan="2" | + | ! colspan="2" | [[Bild:{{PAGENAME}}.jpg|center|200px]] |
|- valign="top" | |- valign="top" | ||
− | ! style="background-color:#fadbd9;" | Typ | | + | ! style="background-color:#fadbd9;" | Typ || [[{{{typ}}}]] |
|- valign="top" | |- valign="top" | ||
! style="background-color:#fadbd9;" | [[Kampagne]] || [[{{{kampagne}}}]] | ! style="background-color:#fadbd9;" | [[Kampagne]] || [[{{{kampagne}}}]] | ||
|- valign="top" | |- valign="top" | ||
− | {{#if: {{{region|}}} | ! style="background-color:# | + | {{#if: {{{region|}}} | ! style="background-color:#d0e68f;" {{pipe}} Region {{2pipe}} [[{{{region}}}]] | }} |
|- valign="top" | |- valign="top" | ||
− | {{#if: {{{schlüssel|}}} | ! style="background-color:# | + | {{#if: {{{schlüssel|}}} | ! style="background-color:#d0e68f;" {{pipe}} Schlüssel {{2pipe}} {{{schlüssel}}} | }} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- valign="top" | |- valign="top" | ||
− | {{#if: {{{ | + | {{#if: {{{fertigkeit|}}} | ! style="background-color:#d0e68f;" {{pipe}} Fertigkeit {{2pipe}} {{fertigkeit icon{{pipe}}{{{fertigkeit}}}}} | }} |
|}<noinclude> | |}<noinclude> | ||
[[Kategorie:Vorlage Infobox]] | [[Kategorie:Vorlage Infobox]] | ||
==Einbinden== | ==Einbinden== | ||
− | Die | + | Die Questvorlage bindet man in einem Questartikel mit folgendem Quelltext ein: |
<pre> | <pre> | ||
{{Infobox Interaktives Objekt | {{Infobox Interaktives Objekt | ||
Zeile 55: | Zeile 42: | ||
</pre> | </pre> | ||
==Die Parameter== | ==Die Parameter== | ||
− | *'''typ''' (Monument, Truhe, Verliestruhe, Bündel, | + | *'''typ''' (Monument, Truhe, Verliestruhe, Bündel, ...) |
*'''kampagne''' (Basis, Prophecies, ...) | *'''kampagne''' (Basis, Prophecies, ...) | ||
*'''region''' (optional, z.B. für Truhen) | *'''region''' (optional, z.B. für Truhen) | ||
*'''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'') | ||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |