Vorlage:Infobox Waffe: Unterschied zwischen den Versionen
Aus GuildWiki
Flece (Diskussion | Beiträge) |
|||
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" |
+ | ! 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 | ||
+ | }}]]}}} | ||
+ | |- valign="top" | ||
+ | ! style="background-color:#f99;" | Waffenart | ||
+ | | [[{{{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]]|}} | ||
+ | {{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]]}}} | ||
+ | |- 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|}}} {{{profi|}}} | ||
+ | |} | ||
+ | <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: {{{bild| }}} | | {{ #ifexist: Bild:{{PAGENAME}}.jpg | | [[Kategorie:Bilder-Stub]] }} }} | ||
− | + | <!--Ende der Kategoriesierung --> | |
− | + | </div></includeonly> | |
− | + | <noinclude> | |
− | + | {{clear}} | |
− | + | ==Benutzung== | |
− | + | für alle Waffen einschliesslich Schilde und Fokusse | |
− | + | ||
− | + | ==Parameter== | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<pre> | <pre> | ||
{{Infobox Waffe | {{Infobox Waffe | ||
− | | typ = | + | | typ = |
− | | attribut = | + | | attribut = |
− | | schadenstyp = | + | | schadenstyp = (bei Schild,Fokus weglassen) |
− | | normal = | + | | bogenklasse = (nur bei Bogen) |
− | | | + | | kampagne = |
+ | | normal = | ||
+ | | selten = | ||
}} | }} | ||
</pre> | </pre> | ||
− | + | ; name : Optional. Standard ist: <code><nowiki>{{PAGENAME}}</nowiki></code> | |
− | + | ; bild : Optional. Standard ist: <code><nowiki>{{PAGENAME}}.jpg</nowiki></code> | |
− | + | : 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 ? | ||
</noinclude> | </noinclude> |
Version vom 24. September 2007, 00:27 Uhr
Infobox Waffe | ||
---|---|---|
[[Bild:Infobox Waffe.jpg|]] | ||
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 ?