Vorlage:Infobox Interaktives Objekt: Unterschied zwischen den Versionen

Aus GuildWiki
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: <includeonly> {{ #switch: {{lc: {{{typ|}}} }} | schatz | schatz = Kategorie:Schatz | statue | statue = Kategorie:Statue | truhe | truhe = [[Kategori...)
 
Zeile 15: Zeile 15:
 
</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:#d0e68f;" | {{#if: {{{schlüssel|}}} | {{PAGENAME}}  [[Bild:{{{schlüssel}}}.png|25px]] | {{PAGENAME}} }}
+
! colspan="2" style="font-size:110%; text-align:center; background-color:#fadbd9;" | {{#if: {{{schlüssel|}}} | {{PAGENAME}}  [[Bild:{{{schlüssel}}}.png|25px]] | {{PAGENAME}} }}
 
|-
 
|-
 
! colspan="2" | [[Bild:{{PAGENAME}}.jpg|center|200px]]
 
! colspan="2" | [[Bild:{{PAGENAME}}.jpg|center|200px]]
 
|- valign="top"
 
|- valign="top"
! style="background-color:#d0e68f;" | Typ  || [[{{{typ}}}]]
+
! style="background-color:#fadbd9;" | Typ  || [[{{{typ}}}]]
 
|- valign="top"
 
|- valign="top"
! style="background-color:#d0e68f;" | [[Kampagne]]  || [[{{{kampagne}}}]]
+
! style="background-color:#fadbd9;" | [[Kampagne]]  || [[{{{kampagne}}}]]
 
|- valign="top"
 
|- valign="top"
 
{{#if: {{{region|}}} | ! style="background-color:#d0e68f;" {{pipe}} Region {{2pipe}} [[{{{region}}}]] | }}
 
{{#if: {{{region|}}} | ! style="background-color:#d0e68f;" {{pipe}} Region {{2pipe}} [[{{{region}}}]] | }}
Zeile 29: Zeile 29:
 
{{#if: {{{fertigkeit|}}} | ! style="background-color:#d0e68f;" {{pipe}} Fertigkeit {{2pipe}} {{fertigkeit icon{{pipe}}{{{fertigkeit}}}}} | }}
 
{{#if: {{{fertigkeit|}}} | ! style="background-color:#d0e68f;" {{pipe}} Fertigkeit {{2pipe}} {{fertigkeit icon{{pipe}}{{{fertigkeit}}}}} | }}
 
|}<noinclude>
 
|}<noinclude>
 +
 +
[[Kategorie:Vorlage Infobox]]
 +
==Einbinden==
 +
Die Questvorlage bindet man in einem Questartikel mit folgendem Quelltext ein:
 +
<pre>
 +
{{Infobox Interaktives Objekt
 +
| typ = Truhe
 +
| kampagne = Nightfall
 +
| region = Istan
 +
| schlüssel = Istan-Schlüssel
 +
}}
 +
</pre>
 
==Die Parameter==
 
==Die Parameter==
 
*'''typ''' (Monument, Truhe, Verliestruhe, Bündel, ...)
 
*'''typ''' (Monument, Truhe, Verliestruhe, Bündel, ...)
Zeile 35: Zeile 47:
 
*'''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'')
[[Kategorie:Vorlage Infobox]]</noinclude>
+
</noinclude>

Version vom 12. Juni 2008, 09:00 Uhr

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

Einbinden

Die Questvorlage bindet man in einem Questartikel 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)