Template:Item: Difference between revisions

From Silversword RPG Wiki
(Infobox for item pages (data from the original iOS game))
 
(Item infobox (works without ParserFunctions))
 
Line 1: Line 1:
<includeonly>{| class="wikitable" style="float:right; clear:right; margin:0 0 1em 1em; width:22em; font-size:90%;"
<includeonly>{| class="wikitable" style="float:right; clear:right; margin:0 0 1em 1em; width:22em; font-size:90%;"
|+ '''{{{name|{{PAGENAME}}}}}'''
|+ '''{{{name|{{PAGENAME}}}}}'''</includeonly><noinclude>
{{#if:{{{name_de|}}}|{{!}}-
Start of the item infobox. Usage:
! German
<pre>
{{!}} {{{name_de}}}}}
{{Item|name=Bloodwood Bow}}
{{#if:{{{name_fr|}}}|{{!}}-
{{Item row|Type|Bow}}
! French
{{Item end}}
{{!}} {{{name_fr}}}}}
</pre>
|-
Item pages are generated from the original iOS game data.
! Type
| {{{type|}}}
|-
! Classes
| {{{classes|}}}
{{#if:{{{level|}}}|{{!}}-
! Min. level
{{!}} {{{level}}}}}
{{#if:{{{price|}}}|{{!}}-
! Price
{{!}} {{{price}}} gold}}
{{#if:{{{sell|}}}|{{!}}-
! Sells for
{{!}} {{{sell}}} gold}}
{{#if:{{{damage|}}}|{{!}}-
! Damage
{{!}} {{{damage}}}}}
{{#if:{{{hit|}}}|{{!}}-
! To-hit
{{!}} {{{hit}}}}}
{{#if:{{{ac|}}}|{{!}}-
! AC
{{!}} {{{ac}}}}}
{{#if:{{{sv|}}}|{{!}}-
! Saving throw
{{!}} {{{sv}}}}}
{{#if:{{{range|}}}|{{!}}-
! Range
{{!}} {{{range}}}}}
{{#if:{{{ammo|}}}|{{!}}-
! Ammo
{{!}} {{{ammo}}}}}
{{#if:{{{special|}}}|{{!}}-
! Special
{{!}} {{{special}}}}}
{{#if:{{{charges|}}}|{{!}}-
! Charges
{{!}} {{{charges}}}}}
{{#if:{{{stackable|}}}|{{!}}-
! Stackable
{{!}} {{{stackable}}}}}
{{#if:{{{nodrop|}}}|{{!}}-
! No drop
{{!}} {{{nodrop}}}}}
{{#if:{{{material|}}}|{{!}}-
! Material
{{!}} {{{material}}}}}
{{#if:{{{rune|}}}|{{!}}-
! Rune slot
{{!}} {{{rune}}}}}
|}</includeonly><noinclude>
Infobox for item pages. Values come from the original iOS game data (generated by <code>tools/wiki_items.py</code>).
 
Parameters: name, name_de, name_fr, type, classes, level, item_level, price, sell, charges, stackable, nodrop, damage, hit, ac, sv, range, ammo, special, material, rune, id.
</noinclude>
</noinclude>

Latest revision as of 08:54, 3 December 2026

Start of the item infobox. Usage:

{{Item|name=Bloodwood Bow}}
{{Item row|Type|Bow}}
{{Item end}}

Item pages are generated from the original iOS game data.