Vorlage:Infobox Waffe: Unterschied zwischen den Versionen

Aus GuildWiki
Wechseln zu:Navigation, Suche
(+bild +typo)
 
(26 dazwischenliegende Versionen von 8 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<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"
{{ #switch: {{{typ}}}
+
! colspan="3" style="font-size:110%; text-align:center; background-color:#f99;" | {{{name|{{PAGENAME}}}}}
|Axt=[[Kategorie:Axt]]
+
|-
|Dolche=[[Kategorie:Dolche]]
+
| colspan="3" align="center" | {{{bild|[[Bild:{{PAGENAME}}.jpg|{{ #switch: {{lc: {{{typ|}}} }}
|Hammer=[[Kategorie:Hammer]]
+
| axt
|Schwert=[[Kategorie:Schwert]]
+
| bogen
|Sense=[[Kategorie:Sense]]
+
| dolche
|Speer=[[Kategorie:Speer]]
+
| hammer
|Bogen=[[Kategorie:Bogen]]
+
| schwert
|Stab=[[Kategorie:Stab]]
+
| sense
|Zauberstab=[[Kategorie:Zauberstab]]
+
| speer
}}</includeonly>
+
| bogen
{| style="margin-left:10px; border:1px solid #000; background: #fff; border-collapse:collapse; float:right; clear:right;"
+
| stab
|- style="text-align:center;"
+
| zauberstab = 300x300px
| style="background: #F99;" colspan="3" | '''{{PAGENAME}}'''
+
| fokus
|-
+
| fokus-gegenstand
| colspan="3" style="text-align:center;"| {{{bild|[[Bild:{{PAGENAME}}.jpg|300px]]}}}
+
| schild = 200x400px
|- style="text-align:center; border-bottom: 1px solid #000;"
+
| #default = 300x300px
| style="background: #F99;" colspan="3" | '''Waffen Details'''
+
}}]]}}}
|-
+
|- valign="top"
| style="padding-left:10px;" |Erfordert:
+
! style="background-color:#f99;" | Waffenart
 +
| <!--{{{typ|}}}-->{{#switch: {{{typ|}}}
 +
| axt = [[Axt]]
 +
| dolche = [[Dolche]]
 +
| dolch = [[Dolche]]
 +
| 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}}
 
| {{#if: {{{attribut|}}}|{{{attribut}}}|Anforderungslos}}
| rowspan="3" style="text-align:center; padding: 0 0 0 0.3em;"| {{#ifexist:Bild:{{PAGENAME}}_icon.png|[[Bild:{{PAGENAME}}_icon.png]]|}}
+
{{pipe}}- valign="top"
|-  
+
{{ #switch: {{lc: {{{typ|}}} }}
| style="padding-left:10px;"|[[Schaden|Schadenstyp]]:
+
| axt
| {{#if: {{{schadenstyp|}}}|{{{schadenstyp}}}|Typenlos}}
+
| bogen
|-  
+
| dolche
| style="padding-left:10px;"|[[Waffe|Waffenart]]:
+
| hammer
| [[{{{typ}}}]]
+
| schwert
|- style="text-align:center; border: 1px solid #000;"
+
| sense
! style="background: #F99;" colspan="3" | '''[[Wiederverwertung]]'''
+
| speer
|-
+
| bogen
| style="padding-left:10px;" | '''Normal'''
+
| stab
| colspan="2" | {{#if: {{{normal|}}}|{{{normal}}}|Nicht bekannt}}
+
| zauberstab = ! style="background-color:#f99;" {{pipe}} [[Schaden|Schadenstyp]]
|-  
+
{{pipe}} {{#if: {{{schadenstyp|}}}|{{{schadenstyp}}}|Typenlos}}
| style="padding-left:10px;"| '''Profi'''
+
}}
| colspan="2" | {{#if: {{{profi|}}}|{{{profi}}}|Nicht bekannt}}
+
|- valign="top"
|}<noinclude>
+
{{ #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 | 4 [[Silberne Zaishen-Münze]]n | {{ #ifeq: {{{pvp-gruppe}}} | Ausgefallen | 8 [[Silberne Zaishen-Münze]]n | {{ #ifexpr: {{{pvp-kosten}}} = 18 | 20 [[Silberne Zaishen-Münze]]n | {{ #ifexpr: {{{pvp-kosten}}} = 30 | 5 [[Goldene Zaishen-Münze]]n | {{ #ifexpr: {{{pvp-kosten}}} = 180 | 30 [[Goldene Zaishen-Münze]]n | {{ #ifexpr: {{{pvp-kosten}}} = 250 | 50 [[Goldene Zaishen-Münze]]n | {{ #ifexpr: {{{pvp-kosten}}} = 45 | 8 [[Goldene Zaishen-Münze]]n | [[Kategorie:Interner Fehler]] }} }} }} }} }} }} }} }} }}
 +
|- 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;">
 +
<!-- Start:Autokategorisierung -->
 +
{{ #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-gegenstand = [[Kategorie:Fokus-Gegenstand]]
 +
}}
 +
<!--
 +
{{ #switch: {{lc: {{{bogenklasse|}}} }}
 +
| langbogen = [[Kategorie:Langbogen]]
 +
| flachbogen = [[Kategorie:Flachbogen]]
 +
| hornbogen = [[Kategorie:Hornbogen]]
 +
| recurvebogen = [[Kategorie:Recurvebogen]]
 +
| kurzbogen = [[Kategorie:Kurzbogen]]
 +
| [[langbogen]] = [[Kategorie:Langbogen]]
 +
| [[flachbogen]] = [[Kategorie:Flachbogen]]
 +
| [[hornbogen]] = [[Kategorie:Hornbogen]]
 +
| [[recurvebogen]] = [[Kategorie:Recurvebogen]]
 +
| [[kurzbogen]] = [[Kategorie:Kurzbogen]]
 +
}}
 +
-->
 +
{{ #if: {{{bild| }}} |  | {{ ifexist | Bild:{{PAGENAME}}.jpg |  | [[Kategorie:Bilder-Stub]] }} }}
 +
{{ #if: {{{icon| }}} |  | {{ ifexist | Bild:{{PAGENAME}}_icon.png |  | [[Kategorie:Icon-Stub (Waffe)]] }} }}
 +
 
 +
{{ #if: {{ #pos: {{{normal|}}} | Chitin-Fragment }} | [[Kategorie:Enthält Chitin-Fragmente]] }}
 +
{{ #if: {{ #pos: {{{normal|}}} | Eisenbarren }} | [[Kategorie:Enthält Eisenbarren]] }}
 +
{{ #if: {{ #pos: {{{normal|}}} | Feder }} | [[Kategorie:Enthält Federn]] }}
 +
{{ #if: {{ #pos: {{{normal|}}} | Gerbfellquadrat }} | [[Kategorie:Enthält Gerbfellquadrate]] }}
 +
{{ #if: {{ #pos: {{{normal|}}} | Glitzerstaubhaufen }} | [[Kategorie:Enthält Glitzerstaubhaufen]] }}
 +
{{ #if: {{ #pos: {{{normal|}}} | Granitplatte }} | [[Kategorie:Enthält Granitplatten]] }}
 +
{{ #if: {{ #pos: {{{normal|}}} | Holzbrett }} | [[Kategorie:Enthält Holzbretter]] }}
 +
{{ #if: {{ #pos: {{{normal|}}} | Knochen }} | [[Kategorie:Enthält Knochen]] }}
 +
{{ #if: {{ #pos: {{{normal|}}} | Pflanzenfaser }} | [[Kategorie:Enthält Pflanzenfasern]] }}
 +
{{ #if: {{ #pos: {{{normal|}}} | Schuppe }} | [[Kategorie:Enthält Schuppen]] }}
 +
{{ #if: {{ #pos: {{{normal|}}} | Tuchballen }} | [[Kategorie:Enthält Tuchballen]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Bernstein-Klumpen }} | [[Kategorie:Enthält Bernstein-Klumpen]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Damastballen }} | [[Kategorie:Enthält Damastballen]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Deldrimor-Stahlbarren }} | [[Kategorie:Enthält Deldrimor-Stahlbarren]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Diamant }} | [[Kategorie:Enthält Diamanten]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Ektoplasmakugel }} | [[Kategorie:Enthält Ektoplasmakugeln]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Elona-Lederquadrat }} | [[Kategorie:Enthält Elona-Lederquadrate]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Geisterholzbrett }} | [[Kategorie:Enthält Geisterholzbretter]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Holzkohleklumpen }} | [[Kategorie:Enthält Holzkohleklumpen]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Jadeit-Scherbe }} | [[Kategorie:Enthält Jadeit-Scherben]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Lederquadrat }} | [[Kategorie:Enthält Lederquadrate]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Leinentuchballen }} | [[Kategorie:Enthält Leinentuchballen]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Monsterauge }} | [[Kategorie:Enthält Monsteraugen]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Monsterfangzahn }} | [[Kategorie:Enthält Monsterfangzähne]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Monsterfangzähne }} | [[Kategorie:Enthält Monsterfangzähne]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Monsterklaue }} | [[Kategorie:Enthält Monsterklauen]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Obsidian-Scherbe }} | [[Kategorie:Enthält Obsidian-Scherben]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Onyx }} | [[Kategorie:Enthält Onyxe]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Pelzquadrat }} | [[Kategorie:Enthält Pelzquadrate]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Pergamentrolle }} | [[Kategorie:Enthält Pergamentrollen]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Rubin }} | [[Kategorie:Enthält Rubine]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Saphir }} | [[Kategorie:Enthält Saphire]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Seidentuchballen }} | [[Kategorie:Enthält Seidentuchballen]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Stahlbarren }} | [[Kategorie:Enthält Stahlbarren]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Tintenfläschchen }} | [[Kategorie:Enthält Tintenfläschchen]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Vellinrolle }} | [[Kategorie:Enthält Vellinrollen]] }}
 +
{{ #if: {{ #pos: {{{selten|}}} | Vergütetes 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|}}} }}
 +
| [[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]]
 +
| 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]]
 +
}} }}
 +
 
 +
<!--Ende der Kategoriesierung -->
 +
</div></includeonly>
 +
<noinclude>
 
[[Kategorie:Vorlage Infobox]]
 
[[Kategorie:Vorlage Infobox]]
==Einbinden==
+
{{clear}}
Die Waffenvorlage bindet man in einen Waffenartikel mit folgendem Quelltext ein:
+
==Benutzung==
 +
für alle Waffen einschliesslich Schilde und Fokusse
 +
 
 +
==Parameter==
 
<pre>
 
<pre>
 
{{Infobox Waffe
 
{{Infobox Waffe
  | typ = Hammer
+
  | typ =  
  | attribut = [[Hammerbeherrschung]]
+
  | attribut =  
  | schadenstyp = [[Stumpf-Schaden]]
+
  | schadenstyp = (bei Schild oder Fokus weglassen)
  | normal = [[Eisenbarren]]
+
| bogenklasse = (nur bei Bogen)
  | profi = [[Stahlbarren]]
+
| kampagne =
 +
  | normal =
 +
  | selten =
 
}}
 
}}
 
</pre>
 
</pre>
==Die Parameter==
+
; name : Optional. Standard ist: <code><nowiki>{{PAGENAME}}</nowiki></code>
*'''typ''' um welchen Waffentyp handelt es sich? (Hammer, Axt, Schwert, Stab usw.)
+
; bild : Optional. Standard ist: <code><nowiki>{{PAGENAME}}.jpg</nowiki></code>
*'''attribut''' welches Attribut steigert den Schadenswert der Waffe?
+
: Kann man auch benutzen um mehrere Bilder einzubinden.
*'''schadenstyp''' welche Art Schaden verursacht die Waffe?
+
; typ : Muss immer angegeben werden, da hierüber die Kategorie eingetragen wird.
*'''normal''' welches Handwerksmaterial bekommt man mit einem normalen [[Wiederverwertungswerkzeug]]?
+
; attribut : welches Attribut erfordert die Waffe?
*'''profi''' welches Handwerksmaterial bekommt man mit einem [[Profi-Wiederverwertungswerkzeug]]?
+
; schadenstyp : welche Art Schaden verursacht die Waffe?  
*'''bild''' optional, bei Waffen, für die man Bilder dringend benötigt ([[Qual-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 ?
 
</noinclude>
 
</noinclude>

Aktuelle Version vom 3. Juni 2011, 18:10 Uhr

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

Benutzung[Bearbeiten]

für alle Waffen einschliesslich Schilde und Fokusse

Parameter[Bearbeiten]

{{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.
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 ?