Vorlage:Item: Unterschied zwischen den Versionen

Aus GreenWay2 WIKI
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „ <includeonly> {{Infobox |titel={{{name|{{PAGENAME}}}}} |bild=[[Datei:{{{bild|Item_default.png}}}|center|64px]] |inhalt= {{#if:{{{vnum|}}}|<tr><th>VNUM</th><td>{{{vnum}}}</td></tr>|}}<nowiki/> {{#if:{{{typ|}}}|<tr><th>Typ</th><td>{{{typ}}}</td></tr>|}}<nowiki/> {{#if:{{{subtyp|}}}|<tr><th>Subtyp</th><td>{{{subtyp}}}</td></tr>|}}<nowiki/> {{#if:{{{level|}}}|<tr><th>Level<…“)
 
(Bild via JavaScript laden (data-vnum))
Zeile 1: Zeile 1:
  <includeonly>                                                                    
<includeonly>{| class="infobox" style="float:right; width:250px; margin-left:10px; border:1px solid #444; background:#1a1a2e; padding:10px;"
  {{Infobox
|-
  |titel={{{name|{{PAGENAME}}}}}
! colspan="2" style="background:#16213e; color:#fff; font-size:1.2em; padding:8px;" | {{{name|{{PAGENAME}}}}}
  |bild=[[Datei:{{{bild|Item_default.png}}}|center|64px]]
|-
  |inhalt=
| colspan="2" style="text-align:center; padding:10px;" | <div class="item-image" data-vnum="{{{vnum|0}}}"></div>
  {{#if:{{{vnum|}}}|<tr><th>VNUM</th><td>{{{vnum}}}</td></tr>|}}<nowiki/>
|-
  {{#if:{{{typ|}}}|<tr><th>Typ</th><td>{{{typ}}}</td></tr>|}}<nowiki/>
{{#if:{{{vnum|}}}|{{!}} '''VNUM''' {{!!}} {{{vnum}}}
  {{#if:{{{subtyp|}}}|<tr><th>Subtyp</th><td>{{{subtyp}}}</td></tr>|}}<nowiki/>
{{!}}-|}}
  {{#if:{{{level|}}}|<tr><th>Level</th><td>{{{level}}}</td></tr>|}}<nowiki/>
{{#if:{{{typ|}}}|{{!}} '''Typ''' {{!!}} {{{typ}}}
  {{#if:{{{angriff|}}}|<tr><th>Angriff</th><td>{{{angriff}}}</td></tr>|}}<nowiki/>
{{!}}-|}}
  {{#if:{{{verteidigung|}}}|<tr><th>Verteidigung</th><td>{{{verteidigung}}}</td></tr>|}}<nowiki/>
{{#if:{{{subtyp|}}}|{{!}} '''Subtyp''' {{!!}} {{{subtyp}}}
  {{#if:{{{wert|}}}|<tr><th>Wert</th><td>{{{wert}}} Yang</td></tr>|}}
{{!}}-|}}
  }}
{{#if:{{{level|}}}|{{!}} '''Level''' {{!!}} {{{level}}}
  [[Kategorie:Items]]
{{!}}-|}}
  </includeonly><noinclude>
{{#if:{{{angriff|}}}|{{!}} '''Angriff''' {{!!}} {{{angriff}}}
  == Verwendung ==
{{!}}-|}}
  <pre>
{{#if:{{{verteidigung|}}}|{{!}} '''Verteidigung''' {{!!}} {{{verteidigung}}}
  {{Item
{{!}}-|}}
  |name=Schwert+0
{{#if:{{{wert|}}}|{{!}} '''Wert''' {{!!}} {{{wert}}} Yang
  |vnum=19
{{!}}-|}}
  |typ=Waffe
|}
  |subtyp=Schwert
[[Kategorie:Items]]</includeonly><noinclude>
  |level=1
== Verwendung ==
  |angriff=10-15
<pre>
  |wert=100
{{Item
  }}
|name=Schwert+0
  </pre>
|vnum=19
  [[Kategorie:Vorlagen]]
|typ=Waffe
  </noinclude>
|subtyp=Schwert
|level=1
|angriff=10-15
|wert=100
}}
</pre>
 
== Hinweis ==
Bilder werden automatisch via JavaScript von https://greenway2.de/wiki/images/items/VNUM.png geladen.
 
[[Kategorie:Vorlagen]]
</noinclude>

Version vom 20. Februar 2026, 23:25 Uhr

Verwendung

{{Item
|name=Schwert+0
|vnum=19
|typ=Waffe
|subtyp=Schwert
|level=1
|angriff=10-15
|wert=100
}}

Hinweis

Bilder werden automatisch via JavaScript von https://greenway2.de/wiki/images/items/VNUM.png geladen.