Template:AbilityInfobox: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<noinclude>This is an Infobox template used for describing Weapons, Spells, Abilities: <pre> {{AbilityInfobox | Damage = | Damage Types= | Heal = | Range = | Concentration = | Saving Throw = | Condition = | Duration = | Recharge = }} </pre> </noinclude> <includeonly> <div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|400px]]</div>}} <table>}}{{#if:{{{Damage|}}}|<tr> <th>Dam...")
 
No edit summary
 
(20 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>This is an Infobox template used for describing Weapons, Spells, Abilities:
<noinclude>{{deprecated|See list [[Help:List of templates#Page creation|here]].}}</noinclude><includeonly><div class="infobox">
<pre>
{{AbilityInfobox
| Damage =
| Damage Types=
| Heal =
| Range =
| Concentration =
| Saving Throw =
| Condition =
| Duration =
| Recharge =
}}
</pre>
</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}}}|400px]]</div>}}
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>}}{{#if:{{{Damage|}}}|<tr>
<table>{{#if:{{{Damage|}}}|<tr>
     <th>Damage</th>
     <th>Damage</th>
     <td>{{{Damage}}}</td>
     <td>{{{Damage}}}</td>
Line 28: Line 11:
     <th>Heal</th>
     <th>Heal</th>
     <td>{{{Heal}}}</td>
     <td>{{{Heal}}}</td>
</tr>{{#if:{{{Range|}}}|<tr>
</tr>}}{{#if:{{{Gain|}}}|<tr>
    <th>Gain</th>
    <td>{{{Gain}}}</td>
</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>
     <td>{{{Concentration}}}</td>
     <td>{{{Concentration}}}</td>
</tr>}}{{#if:{{{Saving Throw|}}}|<tr>
    <th>Saving Throw</th>
    <td>{{{Saving Throw}}}</td>
</tr>}}{{#if:{{{Condition|}}}|<tr>
</tr>}}{{#if:{{{Condition|}}}|<tr>
     <th>Condition</th>
     <th>Condition</th>
Line 46: 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>
</div></includeonly><noinclude>
</includeonly>
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
}}