Template:AbilityInfobox: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{Damage|}}}|<tr>
<table>{{#if:{{{Race|}}}|<tr>
     <th>Damage</th>
     <th>Race</th>
     <td>{{{Damage}}}</td>
     <td>{{{Race}}}</td>
</tr>}}{{#if:{{{Damage Types|}}}|<tr>
</tr>}}{{#if:{{{Class|}}}|<tr>
     <th>Damage Types</th>
     <th>Class</th>
     <td>{{{Damage Types}}}</td>
     <td>{{{Class}}}</td>
</tr>}}{{#if:{{{Heal|}}}|<tr>
</tr>}}{{#if:{{{Sub-class|}}}|<tr>
     <th>Heal</th>
     <th>Sub-class</th>
     <td>{{{Heal}}}</td>
     <td>{{{Sub-class}}}</td>
</tr>{{#if:{{{Range|}}}|<tr>
</tr>}}{{#if:{{{Alignment|}}}|<tr>
    <th>Range</th>
     <th>Alignment</th>
    <td>{{{Range}}}</td>
     <td>{{{Alignment}}}</td>
</tr>}}{{#if:{{{Concentration|}}}|<tr>
</tr>}}{{#if:{{{Family|}}}|<tr>
    <th>Concentration</th>
     <th>Family</th>
    <td>{{{Concentration}}}</td>
     <td>{{{Family}}}</td>
</tr>}}{{#if:{{{Saving Throw|}}}|<tr>
</tr>}}{{#if:{{{Type|}}}|<tr>
    <th>Saving Throw</th>
     <th>Type</th>
    <td>{{{Saving Throw}}}</td>
     <td>{{{Type}}}</td>
</tr>}}{{#if:{{{Condition|}}}|<tr>
     <th>Condition</th>
     <td>{{{Condition}}}</td>
</tr>}}{{#if:{{{Duration|}}}|<tr>
     <th>Duration</th>
     <td>{{{Duration}}}</td>
</tr>}}{{#if:{{{Recharge|}}}|<tr>
     <th>Recharge</th>
     <td>{{{Recharge}}}</td>
</tr>}}</table>
</tr>}}</table>
</div>
</div>

Revision as of 16:48, 27 April 2022

AbilityInfobox