Vorlage:Infobox Waffe: Unterschied zwischen den Versionen

Aus GuildWiki
Wechseln zu:Navigation, Suche
Zeile 1: Zeile 1:
 
<includeonly>[[Kategorie:{{{typ}}}]]</includeonly>
 
<includeonly>[[Kategorie:{{{typ}}}]]</includeonly>
{| style="margin: 0 0 0.5em 1em; border-collapse:collapse; float:right; clear:right;" border="1" cellpadding="0"
+
{| style="border:1px solid #000; border-collapse:collapse; float:right; clear:right;"
 
|- style="text-align:center;"
 
|- style="text-align:center;"
! style="background: #F99;" | '''{{PAGENAME}}'''
+
| style="background: #F99;" colspan="2" | '''{{PAGENAME}}'''
 +
|-
 +
| colspan="2" | [[Bild:{{PAGENAME}}.jpg|300px]]
 +
|- style="text-align:center; border-bottom: 1px solid #000;"
 +
| style="background: #F99;" colspan="2" | '''[[Waffen Details]]'''
 +
|-
 +
| [[Attribut]]: || [[{{{attribut}}}]]
 +
|-
 +
| [[Schadenstyp]]: || [[{{{schadenstyp}}}]]
 +
|-
 +
| [[Typ]]: || [[{{{typ}}}]]
 +
|- style="text-align:center; border: 1px solid #000;"
 +
! style="background: #F99;" colspan="2" | '''[[Wiederverwertung]]'''
 
|-
 
|-
| style="text-align:center; padding: 1px;" | [[Bild:{{PAGENAME}}.jpg|200px]]
+
|  '''Normal''' || [[{{{normal}}}]]
|- style="text-align:center;"
+
|-  
! style="background: #F99;" | '''[[Waffendetails]]'''
+
|  '''Profi''' || [[{{{profi}}}]]
|- style="text-align:center;"
+
|}<noinclude>
|
 
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
 
|- valign=top
 
|  || [[Attribut]]:|| [[{{{attribut}}}]]
 
|- valign=top
 
|| [[Schadenstyp]]:|| [[{{{schadenstyp}}}]]
 
|- valign=top
 
|  || Minimum Schaden:|| {{{minimum}}}
 
|- valign=top
 
|  || Maximum Schaden:|| {{{maximum}}}
 
|- valign=top
 
 
 
<!-- das iss hier dein einzige Unterschied zur Bogenbox, wenn jemand einen weg kennt beide Vorlagen zu verbinden und die 3 Werte per {{{typ}}} ein/auszublenden kann es gerne machen
 
|  || Reichweite:|| [[{{{reichweite}}}]]
 
|- valign=top
 
|  || Angriffszeit:|| {{{angriffszeit}}}
 
|- valign=top
 
|  || Flugzeit:|| {{{flugzeit}}}
 
 
 
ab hier gehts normal weiter -->
 
 
 
|}
 
|- style="text-align:center;"
 
! style="background: #F99;" | '''[[Wiederverwertung]]'''
 
|- style="text-align:center;"
 
|
 
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
 
|- valign=top
 
|  || '''Normal'''|| [[{{{normal}}}]]
 
|- valign=top
 
|| '''Profi'''|| [[{{{profi}}}]]
 
|}
 
|}
 
<noinclude>
 
 
[[Kategorie:Vorlage Infobox]]
 
[[Kategorie:Vorlage Infobox]]
 
==Einbinden==
 
==Einbinden==

Version vom 11. Oktober 2006, 19:17 Uhr

Infobox Waffe
300px
Waffen Details
Attribut: [[{{{attribut}}}]]
Schadenstyp: [[{{{schadenstyp}}}]]
Typ: [[{{{typ}}}]]
Wiederverwertung
Normal [[{{{normal}}}]]
Profi [[{{{profi}}}]]

Einbinden

Die Waffenvorlage bindet man in einen Waffenartikel mit folgendem Quelltext ein:

{{Waffenbox
|typ=Hammer
|attribut=Hammerbeherrschung
|schadenstyp=Stumpfschaden
|minimum=
|maximum=19-35
|normal= Eisenbarren
|profi=Stahlbarren
}}

Die Parameter

  • typ um welchen Waffentyp handelt es sich ? (Hammer, Axt, Schwert, Stab usw.)
  • attribut welches Attribut steigert den Schadenswert der Waffe ?
  • schadenstyp welche Art Schaden verursacht die Waffe ?
  • minimum
  • maximum
  • normal welches Handwerksmaterial bekommt man mit einem normalen Wiederverwertungswerkzeug ?
  • profi welches Handwerksmaterial bekommt man mit einem Profi-Wiederverwertungswerkzeug ?