Benutzer:Tobias Xy/Infobox Waffe: Unterschied zwischen den Versionen

Aus GuildWiki
Wechseln zu:Navigation, Suche
 
(15 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
{| 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"
 
! colspan="3" style="font-size:110%; text-align:center; background-color:#f99;" | {{{name|{{PAGENAME}}}}}
 
|-
 
| colspan="3" align="center" | {{{bild|[[Bild:{{PAGENAME}}.jpg|{{ #switch: {{lc: {{{typ|}}} }}
 
| axt
 
| bogen
 
| dolche
 
| hammer
 
| schwert
 
| sense
 
| speer
 
| bogen
 
| stab
 
| zauberstab = 300x300px
 
| fokus
 
| fokus-gegenstand
 
| schild = 200x400px
 
| #default = 300x300px
 
}}]]}}}
 
|- valign="top"
 
! style="background-color:#f99;" | Waffenart
 
| <!--{{{typ|}}}-->{{#switch: {{{typ|}}}
 
| axt = [[Axt]]
 
| dolche = [[Dolch]]
 
| dolch = [[Dolch]]
 
| hammer = [[Hammer]]
 
| schwert = [[Schwert]]
 
| sense = [[Sense]]
 
| speer = [[Speer]]
 
| bogen = [[Bogen]]
 
| stab = [[Stab]]
 
| zauberstab = [[Zauberstab]]
 
| fokus = [[Fokus-Gegenstand]]
 
| fokus-gegenstand = [[Fokus-Gegenstand]]
 
| schild = [[Schild]]
 
| Axt = [[Axt]]
 
| Bogen = [[Bogen]]
 
| Dolche = [[Dolch]]
 
| Dolch = [[Dolch]]
 
| Hammer = [[Hammer]]
 
| Schwert = [[Schwert]]
 
| Sense = [[Sense]]
 
| Speer = [[Speer]]
 
| Stab = [[Stab]]
 
| Zauberstab = [[Zauberstab]]
 
| Fokus = [[Fokus-Gegenstand]]
 
| Fokus-Gegenstand = [[Fokus-Gegenstand]]
 
| Schild = [[Schild]]
 
| #default = [[Waffe]]
 
}}
 
| rowspan="5" valign="middle" style="text-align:center; padding: 0 0 0 0.3em;"| {{{icon|{{ifexist|Bild:{{PAGENAME}}_icon.png|[[Bild:{{PAGENAME}}_icon.png{{pipe}}Inventaricon]]|}}}}}
 
{{pipe}}- valign="top"
 
! style="background-color:#f99;" | Erfordert
 
| {{#if: {{{attribut|}}}|{{{attribut}}}|Anforderungslos}}
 
{{pipe}}- valign="top"
 
{{ #switch: {{lc: {{{typ|}}} }}
 
| axt
 
| bogen
 
| dolche
 
| hammer
 
| schwert
 
| sense
 
| speer
 
| bogen
 
| stab
 
| zauberstab = ! style="background-color:#f99;" {{pipe}} [[Schaden|Schadenstyp]]
 
{{pipe}} {{#if: {{{schadenstyp|}}}|{{{schadenstyp}}}|Typenlos}}
 
}}
 
|- valign="top"
 
{{ #if: {{{bogenklasse|}}} |
 
    ! style="background-color:#f99;" {{pipe}} Bogenklasse
 
    {{pipe}} {{{bogenklasse|}}}
 
}}
 
|- valign="top"
 
! style="background-color:#f99;" | [[Kampagne]]
 
| {{{kampagne|[[Basis]]}}}
 
{{#if:{{{pvp-gruppe|}}}|
 
{{!-}} valign="top"
 
! style="background-color:#f99;" {{pipe}} PvP-Gruppe
 
{{pipe}} [[PvP-Belohnung|{{{pvp-gruppe}}}]]
 
{{!-}} valign="top"
 
! style="background-color:#f99;" {{pipe}} PvP-Preis
 
{{pipe}} {{#ifeq: {{{pvp-kosten}}}| 0 | Unbekannt | {{ #ifeq: {{{pvp-gruppe}}} | Normal | Standard-Skin | {{ #ifeq: {{{pvp-gruppe}}} | Einfach | 6 | {{ #ifeq: {{{pvp-gruppe}}} | Ausgefallen| 12 | {{{pvp-kosten}}} }} }} [[Turnierbelohnungspunkt{{pipe}}Turnierpunkte]] }} }}{{ #ifeq: {{{pvp-gruppe}}} | Normal | | <br />oder {{ #ifeq: {{{pvp-gruppe}}} | Einfach | 12 [[Silberne Zaishen-Münze]]n | {{ #ifeq: {{{pvp-gruppe}}} | Ausgefallen | 24 [[Silberne Zaishen-Münze]]n | {{ #ifexpr: {{{pvp-kosten}}} < 30 | {{ #expr: {{{pvp-kosten}}} * 2 }} [[Silberne Zaishen-Münze]]n | {{ #expr: {{{pvp-kosten}}} / 5 }} [[Goldene Zaishen-Münze]]n }} }} }} }} }}
 
|- valign="top"
 
! style="background-color:#f99;" {{pipe}} [[Gebräuchliches Handwerksmaterial|Normal]]
 
    {{pipe}} {{{normal|}}}
 
|- valign="top"
 
! style="background-color:#f99;" {{pipe}} [[Seltenes Handwerksmaterial|Selten]]
 
    {{pipe}} {{{selten|}}}
 
|}
 
 
<includeonly><div style="display:none;">
 
<includeonly><div style="display:none;">
 
<!-- Start:Autokategorisierung -->
 
<!-- Start:Autokategorisierung -->
 
{{ #switch: {{lc: {{{typ|}}} }}
 
{{ #switch: {{lc: {{{typ|}}} }}
| [[axt]] = [[Kategorie:Axt]]
 
| [[dolche]] = [[Kategorie:Dolche]]
 
| [[hammer]] = [[Kategorie:Hammer]]
 
| [[schwert]] = [[Kategorie:Schwert]]
 
| [[sense]] = [[Kategorie:Sense]]
 
| [[speer]] = [[Kategorie:Speer]]
 
| [[bogen]] = [[Kategorie:Bogen]]
 
| [[stab]] = [[Kategorie:Stab]]
 
| [[zauberstab]] = [[Kategorie:Zauberstab]]
 
| [[schild]] = [[Kategorie:Schild]]
 
| [[fokus]] = [[Kategorie:Fokus-Gegenstand]]
 
| [[fokus-gegenstand]] = [[Kategorie:Fokus-Gegenstand]]
 
| axt = [[Kategorie:Axt]]
 
| dolche = [[Kategorie:Dolche]]
 
| hammer = [[Kategorie:Hammer]]
 
| schwert = [[Kategorie:Schwert]]
 
| sense = [[Kategorie:Sense]]
 
| speer = [[Kategorie:Speer]]
 
| bogen = [[Kategorie:Bogen]]
 
| stab = [[Kategorie:Stab]]
 
| zauberstab = [[Kategorie:Zauberstab]]
 
| schild = [[Kategorie:Schild]]
 
 
| fokus = [[Kategorie:Fokus-Gegenstand]]
 
| fokus = [[Kategorie:Fokus-Gegenstand]]
| fokus-gegenstand = [[Kategorie:Fokus-Gegenstand]]
+
|#default = [[Kategorie:{{{typ}}}]]
 
}}
 
}}
 
<!--
 
<!--
Zeile 173: Zeile 61:
 
{{ #if: {{ #pos: {{{selten|}}} | Vergütete Glasfläschchen }} | [[Kategorie:Enthält Vergütete Glasfläschchen]] }}
 
{{ #if: {{ #pos: {{{selten|}}} | Vergütete Glasfläschchen }} | [[Kategorie:Enthält Vergütete Glasfläschchen]] }}
 
{{#if: {{{pvp-gruppe}}} | {{ #switch: {{lc: {{{typ|}}} }}
 
{{#if: {{{pvp-gruppe}}} | {{ #switch: {{lc: {{{typ|}}} }}
| [[axt]] = [[Kategorie:{{{pvp-gruppe}}}e Axt]]
 
| [[dolche]] = [[Kategorie:{{{pvp-gruppe}}}e Dolche]]
 
| [[hammer]] = [[Kategorie:{{{pvp-gruppe}}}er Hammer]]
 
| [[schwert]] = [[Kategorie:{{{pvp-gruppe}}}es Schwert]]
 
| [[sense]] = [[Kategorie:{{{pvp-gruppe}}}e Sense]]
 
| [[speer]] = [[Kategorie:{{{pvp-gruppe}}}er Speer]]
 
| [[bogen]] = [[Kategorie:{{{pvp-gruppe}}}er Bogen]]
 
| [[stab]] = [[Kategorie:{{{pvp-gruppe}}}er Stab]]
 
| [[zauberstab]] = [[Kategorie:{{{pvp-gruppe}}}er Zauberstab]]
 
| [[schild]] = [[Kategorie:{{{pvp-gruppe}}}er Schild]]
 
| [[fokus]] = [[Kategorie:{{{pvp-gruppe}}}er Fokus-Gegenstand]]
 
| [[fokus-gegenstand]] = [[Kategorie:{{{pvp-gruppe}}}er Fokus-Gegenstand]]
 
 
| axt = [[Kategorie:{{{pvp-gruppe}}}e Axt]]
 
| axt = [[Kategorie:{{{pvp-gruppe}}}e Axt]]
 
| dolche = [[Kategorie:{{{pvp-gruppe}}}e Dolche]]
 
| dolche = [[Kategorie:{{{pvp-gruppe}}}e Dolche]]
Zeile 199: Zeile 75:
 
}} }}
 
}} }}
  
<!--Ende der Kategoriesierung -->
+
<!--Ende der Kategorisierung -->
 
</div></includeonly>
 
</div></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"
 +
! colspan="3" style="font-size:110%; text-align:center; background-color:#f99;" | {{{name|{{PAGENAME}}}}}
 +
|-
 +
| colspan="3" align="center" | {{{bild|[[Bild:{{PAGENAME}}.jpg|{{ #switch: {{lc: {{{typ|}}} }}
 +
| fokus
 +
| fokus-gegenstand
 +
| schild = 200x400px
 +
| #default = 300x300px
 +
}}]]}}}
 +
|- valign="top"
 +
! style="background-color:#f99;" | Waffenart
 +
| [[{{#switch: {{{typ|Waffe}}}
 +
  | fokus = Fokus-Gegenstand
 +
  | #default = {{{typ|Waffe}}}
 +
  }}]]
 +
| rowspan="5" valign="middle" style="text-align:center; padding: 0 0 0 0.3em;"| {{{icon|{{ifexist|Bild:{{PAGENAME}}_icon.png|[[Bild:{{PAGENAME}}_icon.png{{pipe}}Inventaricon]]|}}}}}
 +
|- valign="top"
 +
! style="background-color:#f99;" | Erfordert
 +
| {{#forargs: attribut | key | value | [[{{#var:value}}]]<br /> {{#vardefine:attr_tmp}} }}{{#ifeq: {{#varexists:attr_tmp}} |1||Anforderungslos}}
 +
|- valign="top"
 +
{{ #switch: {{lc: {{{typ|}}} }}
 +
| axt
 +
| bogen
 +
| dolche
 +
| hammer
 +
| schwert
 +
| sense
 +
| speer
 +
| bogen
 +
| stab
 +
| zauberstab = ! style="background-color:#f99;" {{pipe}} [[Schaden|Schadenstyp]]
 +
{{pipe}} {{#if: {{{schadenstyp|}}}|{{{schadenstyp}}}|Typenlos}}
 +
}}
 +
|- valign="top"
 +
{{ #if: {{{bogenklasse|}}} |
 +
    ! style="background-color:#f99;" {{pipe}} Bogenklasse
 +
    {{pipe}} {{{bogenklasse|}}}
 +
}}
 +
|- valign="top"
 +
! style="background-color:#f99;" | [[Kampagne]]
 +
| {{#forargs: kampagne | key | value | [[{{#var:value}}]]<br /> {{#vardefine:kamp_tmp}} }}{{#ifeq: {{#varexists:kamp_tmp}} |1||[[Basis]]}}
 +
{{#if:{{{pvp-gruppe|}}}|
 +
{{!-}} valign="top"
 +
! style="background-color:#f99;" {{pipe}} PvP-Gruppe
 +
{{pipe}} [[PvP-Belohnung|{{{pvp-gruppe}}}]]
 +
{{!-}} valign="top"
 +
! style="background-color:#f99;" {{pipe}} PvP-Preis
 +
{{pipe}} {{#ifeq: {{{pvp-kosten}}}| 0 | Unbekannt | {{ #ifeq: {{{pvp-gruppe}}} | Normal | Standard-Skin | {{ #ifeq: {{{pvp-gruppe}}} | Einfach | 6 | {{ #ifeq: {{{pvp-gruppe}}} | Ausgefallen| 12 | {{{pvp-kosten}}} }} }} [[Turnierbelohnungspunkt{{pipe}}Turnierpunkte]] }} }}{{ #ifeq: {{{pvp-gruppe}}} | Normal | | <br />oder {{ #ifeq: {{{pvp-gruppe}}} | Einfach | 12 [[Silberne Zaishen-Münze]]n | {{ #ifeq: {{{pvp-gruppe}}} | Ausgefallen | 24 [[Silberne Zaishen-Münze]]n | {{ #ifexpr: {{{pvp-kosten}}} < 30 | {{ #expr: {{{pvp-kosten}}} * 2 }} [[Silberne Zaishen-Münze]]n | {{ #expr: {{{pvp-kosten}}} / 5 }} [[Goldene Zaishen-Münze]]n }} }} }} }} }}
 +
|- valign="top"
 +
! style="background-color:#f99;" {{pipe}} [[Gebräuchliches Handwerksmaterial|Normal]]
 +
    {{pipe}} {{{normal|}}}
 +
|- valign="top"
 +
! style="background-color:#f99;" {{pipe}} [[Seltenes Handwerksmaterial|Selten]]
 +
    {{pipe}} {{{selten|}}}
 +
{{#if: {{{unhandelbar|}}} ||
 +
{{!-}} valign="top"
 +
{{pipe}} colspan="3" style="text-align:center;" {{pipe}} <span class="plainlinks">[http://gwah.onlinewelten.com/?module=buy&search=1&searchquery={{#urlencode:{{PAGENAME}}}} GWAH-Link]</span>
 +
}}
 +
|}
 
<noinclude>
 
<noinclude>
 
[[Kategorie:Vorlage Infobox]]
 
[[Kategorie:Vorlage Infobox]]
{{clear}}
+
 
 
==Benutzung==
 
==Benutzung==
 
für alle Waffen einschliesslich Schilde und Fokusse
 
für alle Waffen einschliesslich Schilde und Fokusse
Zeile 223: Zeile 158:
 
: Kann man auch benutzen um mehrere Bilder einzubinden.
 
: Kann man auch benutzen um mehrere Bilder einzubinden.
 
; typ : Muss immer angegeben werden, da hierüber die Kategorie eingetragen wird.
 
; typ : Muss immer angegeben werden, da hierüber die Kategorie eingetragen wird.
; attribut : welches Attribut erfordert die Waffe?
+
; attribut1 ... attribut''n'' : Für welche Attribute gibt es diese Waffe
 
; schadenstyp : welche Art Schaden verursacht die Waffe?  
 
; schadenstyp : welche Art Schaden verursacht die Waffe?  
; kampagne: Standard ist [[Basis]]
+
; kampagne1 ... kampagne''n'': Standard ist [[Basis]]
 
; bogenklasse : Nur für Bögen
 
; bogenklasse : Nur für Bögen
 
; normal: Optional. Welches Gebräuchliche Handwerksmaterial kann man wiederverwerten ?
 
; normal: Optional. Welches Gebräuchliche Handwerksmaterial kann man wiederverwerten ?
 
; selten: Optional. Welches Seltene Handwerksmaterial kann man wiederverwerten ?
 
; selten: Optional. Welches Seltene Handwerksmaterial kann man wiederverwerten ?
; pvp-kosten: Kosten in Turnierbelohnungspunkten (nur bei exotischen Waffen).
+
; unhandelbar: ja, wenn man die Waffe nicht verkaufen kann.
; pvp-gruppe : <code><nowiki>Normal</nowiki></code>, <code><nowiki>Einfach</nowiki></code>, <code><nowiki>Ausgefallen</nowiki></code> oder <code><nowiki>Exotisch</nowiki></code>
 
 
</noinclude>
 
</noinclude>

Aktuelle Version vom 26. Mai 2010, 20:41 Uhr

Tobias Xy/Infobox Waffe
300x300px
Waffenart Waffe
Erfordert Anforderungslos
Kampagne Basis
Normal
Selten
Xy/Infobox Waffe}} GWAH-Link

Benutzung

für alle Waffen einschliesslich Schilde und Fokusse

Parameter

{{Infobox Waffe
 | typ = 
 | attribut = 
 | schadenstyp = (bei Schild oder Fokus weglassen)
 | bogenklasse = (nur bei Bogen)
 | kampagne = 
 | normal =
 | selten =
}}
name 
Optional. Standard ist: {{PAGENAME}}
bild 
Optional. Standard ist: {{PAGENAME}}.jpg
Kann man auch benutzen um mehrere Bilder einzubinden.
typ 
Muss immer angegeben werden, da hierüber die Kategorie eingetragen wird.
attribut1 ... attributn 
Für welche Attribute gibt es diese Waffe
schadenstyp 
welche Art Schaden verursacht die Waffe?
kampagne1 ... kampagnen
Standard ist Basis
bogenklasse 
Nur für Bögen
normal
Optional. Welches Gebräuchliche Handwerksmaterial kann man wiederverwerten ?
selten
Optional. Welches Seltene Handwerksmaterial kann man wiederverwerten ?
unhandelbar
ja, wenn man die Waffe nicht verkaufen kann.