Template:AbilityInfobox: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="infobox">
<noinclude>{{deprecated|See list [[Help:List of templates#Page creation|here]].}}</noinclude><includeonly><div class="infobox">
<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:{{{Race|}}}|<tr>
<table>{{#if:{{{Damage|}}}|<tr>
     <th>Race</th>
     <th>Damage</th>
     <td>{{{Race}}}</td>
     <td>{{{Damage}}}</td>
</tr>}}{{#if:{{{Damage Types|}}}|<tr>
    <th>Damage Types</th>
    <td>{{{Damage Types}}}</td>
</tr>}}{{#if:{{{Heal|}}}|<tr>
</tr>}}{{#if:{{{Heal|}}}|<tr>
     <th>Heal</th>
     <th>Heal</th>
     <td>{{{Heal}}}</td>
     <td>{{{Heal}}}</td>
</tr>}}{{#if:{{{Sub-class|}}}|<tr>
</tr>}}{{#if:{{{Gain|}}}|<tr>
     <th>Sub-class</th>
     <th>Gain</th>
     <td>{{{Sub-class}}}</td>
     <td>{{{Gain}}}</td>
</tr>}}{{#if:{{{Alignment|}}}|<tr>
</tr>}}{{#if:{{{Range|}}}|<tr>
     <th>Alignment</th>
     <th>Range</th>
     <td>{{{Alignment}}}</td>
     <td>{{{Range}}}</td>
</tr>}}{{#if:{{{Family|}}}|<tr>
</tr>}}{{#if:{{{Explode Radius|}}}|<tr>
     <th>Family</th>
     <th>Explode Radius</th>
     <td>{{{Family}}}</td>
     <td>{{{Explode Radius}}}</td>
</tr>}}{{#if:{{{Type|}}}|<tr>
</tr>}}{{#if:{{{Area of Effect|}}}|<tr>
     <th>Type</th>
     <th>Area of Effect</th>
     <td>{{{Type}}}</td>
     <td>{{{Area of Effect}}}</td>
</tr>}}{{#if:{{{Weapon Types|}}}|<tr>
    <th>Weapon Types</th>
    <td>{{{Weapon Types}}}</td>
</tr>}}{{#if:{{{School|}}}|<tr>
    <th>School</th>
    <td>{{{School}}}</td>
</tr>}}{{#if:{{{Saving Throw|}}}|<tr>
    <th>Saving Throw</th>
    <td>{{{Saving Throw}}}</td>
</tr>}}{{#if:{{{Concentration|}}}|<tr>
    <th>Concentration</th>
    <td>{{{Concentration}}}</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>}}{{#if:{{{Class|}}}|<tr>
    <th>Class</th>
    <td>{{{Class}}}</td>
</tr>}}{{#if:{{{Weight|}}}|<tr>
    <th>Weight</th>
    <td>{{{Weight}}}</td>
</tr>}}{{#if:{{{Price|}}}|<tr>
    <th>Price</th>
    <td>{{{Price}}}</td>
</tr>}}</table>
</tr>}}</table>
</div>
</div></includeonly><noinclude>
Template used for describing Abilities, Spells, Weapons.
 
Example use:
<pre>
{{AbilityInfobox
| title = text
| Damage = text
| Damage Types = text
| Heal = text
| Gain = text
| Range = text
| Explode Radius = text
| Area of Effect = text
| Weapon Types = text
| School = text
| Saving Throw = text
| Concentration = text
| Condition = text
| Duration = text
| Recharge = text
| Class = text
| Weight = text
| Price = text
}}
</pre>
</noinclude>

Latest revision as of 20:03, 5 December 2023

Template used for describing Abilities, Spells, Weapons.

Example use:

{{AbilityInfobox
| title = text
| Damage = text
| Damage Types = text
| Heal = text
| Gain = text
| Range = text
| Explode Radius = text
| Area of Effect = text
| Weapon Types = text
| School = text
| Saving Throw = text
| Concentration = text
| Condition = text
| Duration = text
| Recharge = text
| Class = text
| Weight = text
| Price = text
}}