Template:LegendaryWeapon: Difference between revisions
From Age of Dungeons Wiki
(Fix soulbound template being messed up) |
(Add element, manaMod, and spellPower properties for staffs. Make image property default to Image_missing.png when undefined.) |
||
Line 1: | Line 1: | ||
<div class="infobox"> | <div class="infobox"> | ||
<div class="infobox-title">{{{title}}}</div> | <div class="infobox-title">{{{title}}}</div> | ||
<div class="infobox-image">[[File:{{{image}}}|160px]]</div> | <div class="infobox-image">[[File:{{{image|Image_missing.png}}}|160px]]</div> | ||
<table class="infobox-table">{{#if:{{{type|}}}|<tr> | <table class="infobox-table">{{#if:{{{type|}}}|<tr> | ||
<th>Weapon Type</th> | <th>Weapon Type</th> | ||
Line 11: | Line 11: | ||
<th>Base Damage</th> | <th>Base Damage</th> | ||
<td>{{{damage}}}</td> | <td>{{{damage}}}</td> | ||
</tr>}}{{#if:{{{element|}}}|<tr> | |||
<th>Element</th> | |||
<td>{{{element}}}</td> | |||
</tr>}}{{#if:{{{manaMod|}}}|<tr> | |||
<th>Mana Modifier</th> | |||
<td>{{{manaMod}}}</td> | |||
</tr>}}{{#if:{{{spellPower|}}}|<tr> | |||
<th>Spell Power Mod.</th> | |||
<td>{{{spellPower}}}</td> | |||
</tr>}}{{#if:{{{soulbound|}}}|<tr> | </tr>}}{{#if:{{{soulbound|}}}|<tr> | ||
<th>Soulbound?</th> | <th>Soulbound?</th> |