Template:Spell list table row: Difference between revisions

Jump to navigation Jump to search
Rearrange documentation
(Updated to use SAI template)
(Rearrange documentation)
Line 36: Line 36:
   <td>{{#if: {{{damage|}}} | {{DamageType|{{{damage}}} }} | - }}</td>
   <td>{{#if: {{{damage|}}} | {{DamageType|{{{damage}}} }} | - }}</td>
</tr>
</tr>
</includeonly>
</includeonly><noinclude>
Example:
<pre>
{| class=wikitable style="width: 100%;"
! | Name
! | Casting Time
! | Duration
! | Range / Area
! | Attack / Save
! | Damage / Effect
|-
{{SpellListTableRow
| image=Acid Splash Icon.png
| spell=Acid Splash
| area=2/7
| save=DEX
| damage=Acid
}}
{{SpellListTableRow
| spell=Blade Ward
| casttime={{action}}
| duration=2
| range=self
| conc=required
| attack=no
}}
|}
</pre>
 
Result:


<noinclude>
{{Spell list table row/header}}
{{Spell list table row
| image=Acid Splash Icon.png
| spell=Acid Splash
| area=2/7
| save=DEX
| damage=Acid
}}
{{Spell list table row
| spell=Blade Ward
| casttime={{action}}
| duration=2
| range=self
| conc=required
| attack=no
}}
{{Spell list table row/footer}}


== template data ==
<templatedata>
<templatedata>
{
{
Line 162: Line 208:
}
}
</templatedata>
</templatedata>
Example:
<pre>
{| class=wikitable style="width: 100%;"
! | Name
! | Casting Time
! | Duration
! | Range / Area
! | Attack / Save
! | Damage / Effect
|-
{{SpellListTableRow
| image=Acid Splash Icon.png
| spell=Acid Splash
| area=2/7
| save=DEX
| damage=Acid
}}
{{SpellListTableRow
| spell=Blade Ward
| casttime={{action}}
| duration=2
| range=self
| conc=required
| attack=no
}}
|}
</pre>
Result:
{| class=wikitable style="width: 100%;"
! | Name
! | Casting Time
! | Duration
! | Range / Area
! | Attack / Save
! | Damage / Effect
|-
{{SpellListTableRow
| image=Acid Splash Icon.png
| spell=Acid Splash
| area=2/7
| save=DEX
| damage=Acid
}}
{{SpellListTableRow
| spell=Blade Ward
| casttime={{action}}
| duration=2
| range=self
| conc=required
| attack=no
}}
|}
</noinclude>
</noinclude>

Navigation menu