Vorlage:Infobox Waffe: Unterschied zwischen den Versionen

Aus GuildWiki
Wechseln zu:Navigation, Suche
(profi abgeschafft)
Zeile 21: Zeile 21:
 
! style="background-color:#f99;" | Waffenart
 
! style="background-color:#f99;" | Waffenart
 
| [[{{{typ|Waffe}}}]]
 
| [[{{{typ|Waffe}}}]]
| rowspan="5" valign="middle" style="text-align:center; padding: 0 0 0 0.3em;"| {{#ifexist:Bild:{{PAGENAME}}_icon.png|[[Bild:{{PAGENAME}}_icon.png|Inventaricon]]|}}
+
| 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"
 
{{pipe}}- valign="top"
 
! style="background-color:#f99;" | Erfordert
 
! style="background-color:#f99;" | Erfordert
Zeile 96: Zeile 96:
 
}}
 
}}
 
-->
 
-->
{{ #if: {{{bild| }}} |  | {{ #ifexist: Bild:{{PAGENAME}}.jpg |  | [[Kategorie:Bilder-Stub]] }} }}
+
{{ #if: {{{bild| }}} |  | {{ ifexist | Bild:{{PAGENAME}}.jpg |  | [[Kategorie:Bilder-Stub]] }} }}
{{ #ifexist: Bild:{{PAGENAME}}_icon.png |  | [[Kategorie:Icon-Stub (Waffe)]] }}
+
{{ #if: {{{icon| }}} |  | {{ ifexist | Bild:{{PAGENAME}}_icon.png |  | [[Kategorie:Icon-Stub (Waffe)]] }} }}
  
 
{{ #if: {{ #pos: {{{normal|}}} | Chitin-Fragment }} | [[Kategorie:Enthält Chitin-Fragmente]] }}
 
{{ #if: {{ #pos: {{{normal|}}} | Chitin-Fragment }} | [[Kategorie:Enthält Chitin-Fragmente]] }}

Version vom 12. März 2009, 12:32 Uhr

Infobox Waffe
300x300px
Waffenart Waffe
Erfordert Anforderungslos
Kampagne Basis
Normal
Selten

Benutzung

für alle Waffen einschliesslich Schilde und Fokusse

Parameter

{{Infobox Waffe
 | typ = 
 | attribut = 
 | schadenstyp = (bei Schild,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.
attribut 
welches Attribut erfordert die Waffe?
schadenstyp 
welche Art Schaden verursacht die Waffe?
kampagne
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 ?