Difference between revisions of "Template:WeaponInfo"

From Tradelands Wiki
Jump to navigation Jump to search
(Created page with "Category:Weapons and Tools {{WeaponInfo |title = |image = |Damage = |Range = |Swing Speed = |Stamina Usage = |Metal = |Wood = |Crafting Level = n/a }}")
 
(Custom Weapons new)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:Weapons and Tools]]
+
<div class="infobox">
 +
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
 +
<div class="infobox-image">[[File:{{{image}}}|150px]]</div>}}
  
 +
<center><h2><span>Info</span></h2></center>
  
{{WeaponInfo
+
<table>
|title =
 
|image =
 
|Damage =
 
|Range =
 
|Swing Speed =
 
|Stamina Usage =
 
  
|Metal =
+
{{#if:{{{Damage|}}}|<tr>
|Wood =
+
    <th>Damage</th>
|Crafting Level = n/a
+
    <td>{{{Damage}}}</td>
}}
+
</tr>}}
 +
 
 +
{{#if:{{{Range|}}}|<tr>
 +
    <th>Range</th>
 +
    <td>{{{Range}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{Swing Speed|}}}|<tr>
 +
    <th>Swing Speed</th>
 +
    <td>{{{Swing Speed}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{Stamina Usage|}}}|<tr>
 +
    <th>Stamina Usage</th>
 +
    <td>{{{Stamina Usage}}}</td>
 +
</tr>}}
 +
 
 +
</table>
 +
 
 +
<center><h2><span>Requirements</span></h2></center>
 +
 
 +
<table>
 +
 
 +
{{#if:{{{Metal|}}}|<tr>
 +
    <th>Metal</th>
 +
    <td>{{{Metal}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{Wood|}}}|<tr>
 +
    <th>Wood</th>
 +
    <td>{{{Wood}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{Crafting Level|}}}|<tr>
 +
    <th>Crafting Level</th>
 +
    <td>{{{Crafting Level}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{Blacksmithing Level|}}}|<tr>
 +
    <th>Blacksmithing Level</th>
 +
    <td>{{{Blacksmithing Level}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{Other|}}}|<tr>
 +
    <th>Other</th>
 +
    <td>{{{Other}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{Blade|}}}|<tr>
 +
    <th>Blade</th>
 +
    <td>{{{Blade}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{Guard|}}}|<tr>
 +
    <th>Guard</th>
 +
    <td>{{{Guard}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{Hilt|}}}|<tr>
 +
    <th>Hilt</th>
 +
    <td>{{{Hilt}}}</td>
 +
</tr>}}
 +
 
 +
 
 +
 
 +
</table>
 +
</div>

Latest revision as of 21:16, 4 July 2023

WeaponInfo

Info

Requirements