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 }}")
 
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:{{{Level|}}}|<tr>
 +
    <th>Level</th>
 +
    <td>{{{Level}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{Other|}}}|<tr>
 +
    <th>Other</th>
 +
    <td>{{{Other}}}</td>
 +
</tr>}}
 +
 
 +
 
 +
 
 +
</table>
 +
</div>

Revision as of 04:23, 30 December 2018

WeaponInfo

Info

Requirements