Template:AbilityInfobox: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><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>}}
Line 11: Line 11:
     <th>Heal</th>
     <th>Heal</th>
     <td>{{{Heal}}}</td>
     <td>{{{Heal}}}</td>
</tr>}}{{#if:{{{Gain|}}}|<tr>
    <th>Gain</th>
    <td>{{{Gain}}}</td>
</tr>}}{{#if:{{{Range|}}}|<tr>
</tr>}}{{#if:{{{Range|}}}|<tr>
     <th>Range</th>
     <th>Range</th>
     <td>{{{Range}}}</td>
     <td>{{{Range}}}</td>
</tr>}}{{#if:{{{Explode Radius|}}}|<tr>
    <th>Explode Radius</th>
    <td>{{{Explode Radius}}}</td>
</tr>}}{{#if:{{{Area of Effect|}}}|<tr>
    <th>Area of Effect</th>
    <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>
</tr>}}{{#if:{{{Concentration|}}}|<tr>
     <th>Concentration</th>
     <th>Concentration</th>
Line 26: Line 44:
     <th>Recharge</th>
     <th>Recharge</th>
     <td>{{{Recharge}}}</td>
     <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></includeonly><noinclude>
</div></includeonly><noinclude>
Line 33: Line 60:
<pre>
<pre>
{{AbilityInfobox
{{AbilityInfobox
| title =
| title = text
| Damage =
| Damage = text
| Damage Types =
| Damage Types = text
| Heal =
| Heal = text
| Range =
| Gain = text
| Concentration =
| Range = text
| Condition =
| Explode Radius = text
| Duration =
| Area of Effect = text
| Recharge =
| Weapon Types = text
| School = text
| Saving Throw = text
| Concentration = text
| Condition = text
| Duration = text
| Recharge = text
| Class = text
| Weight = text
| Price = text
}}
}}
</pre>
</pre>
</noinclude>
</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
}}