Template:LegendaryWeapon: Difference between revisions

From Age of Dungeons Wiki
(Create legendary weapon infobox template (experimental))
 
(Legendary infobox class)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<div class="infobox legendary">
<div class="infobox-title">{{{title}}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{{title}}}</div>
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{{image|Image_missing.png}}}|160px]]</div>
<table class="infobox-table">{{#if:{{{acquisition|}}}|<tr>
<table class="infobox-table">{{#if:{{{type|}}}|<tr>
    <th>Weapon Type</th>
    <td>{{{type}}}</td>
</tr>}}{{#if:{{{acquisition|}}}|<tr>
     <th>Acquisition Method</th>
     <th>Acquisition Method</th>
     <td>{{{acquisition}}}</td>
     <td>{{{acquisition}}}</td>
Line 8: 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>
    <th>Soulbound?</th>
    <td>{{{soulbound}}}</td>
</tr>}}{{#if:{{{usesSpecial|}}}|<tr>
</tr>}}{{#if:{{{usesSpecial|}}}|<tr>
     <th>Uses Special Resource?</th>
     <th>Special Resource?</th>
     <td>{{{usesSpecial}}}</td>
     <td>{{{usesSpecial}}}</td>
</tr>}}{{#if:{{{value|}}}|<tr>
</tr>}}{{#if:{{{value|}}}|<tr>
     <th>Gold Value</th>
     <th>Gold Value</th>
     <td>{{{value}}}</td>
     <td>{{{value}}}</td>
</tr>}}{{#if:{{{notes|}}}|<tr>
</tr>}}{{#if:{{{note|}}}|<tr>
     <th>Notes</th>
     <th>Note</th>
     <td>{{{notes}}}</td>
     <td>{{{note}}}</td>
</tr>}}</table>
</tr>}}</table>
</div>
</div>

Latest revision as of 19:34, 6 June 2025

{{{title}}}
Image missing.png