Ad placeholder

Template:Spell list table row: Difference between revisions

Jump to navigation Jump to search
Use the icon from the cargo table instead of via SAI
(Changed Attack to look for '1' rather then 'yes')
(Use the icon from the cargo table instead of via SAI)
Line 1: Line 1:
  <includeonly>
  <includeonly>
<tr>
<tr>
   <td>{{#if: {{{image|}}}
   <td>{{IconLink|{{{icon}}}|{{{spell}}}|{{{name}}}}}{{#if:{{{conc|}}}|{{Nbts}}{{Icon|Concentration Icon.png|20px|link=Concentration|caption=}}|}}{{#if:{{{ritual|}}}|{{Nbts}}{{Icon|Ritual_Spell_Icon.png|16px|link=Ritual Spells|caption=}}|}}</td>
  | {{IconLink|{{{image}}}|{{{spell}}}|{{{name}}}}}
  | {{SAI|{{{spell}}}|{{{name}}}|w=40|c={{#if:{{{conc|}}}| 20 | }}|r={{#if:{{{ritual|}}}|16}}}}
  }}</td>
   <td style="text-align:right;">{{#switch:{{{level|}}}
   <td style="text-align:right;">{{#switch:{{{level|}}}
   | 0 = <span class="bg3wiki-help-tooltip" aria-label="Cantrip">C</span>
   | 0 = <span class="bg3wiki-help-tooltip" aria-label="Cantrip">C</span>
Line 82: Line 79:
{{Spell list table row/header}}
{{Spell list table row/header}}
{{Spell list table row
{{Spell list table row
| image=Flame Blade Spell Icon.webp
| icon=Flame Blade Spell Icon.webp
| level=Cantrip
| level=Cantrip
| spell=Flame Blade (Spell)
| spell=Flame Blade (Spell)
Line 92: Line 89:
{{Spell list table row
{{Spell list table row
| spell=Blade Ward
| spell=Blade Ward
| icon=Blade Ward Icon.webp
| name=Blade Ward
| name=Blade Ward
| level=0
| level=0
Line 102: Line 100:
{{Spell list table row
{{Spell list table row
| spell=Firebolt?
| spell=Firebolt?
| icon=Fire Bolt Icon.webp
| name=Firebolt?
| name=Firebolt?
| level=0
| level=0
Line 113: Line 112:
{{Spell list table row
{{Spell list table row
| spell=Ensnaring Strike (Ranged)
| spell=Ensnaring Strike (Ranged)
| icon=Ensnaring Strike Ranged Icon.webp
| name=Ensnaring Strike
| name=Ensnaring Strike
| level=1
| level=1
Line 127: Line 127:
{
{
"params": {
"params": {
"image": {
"icon": {
"description": "File name, auto-generated as \"{{spell}} Icon.png\" if not provided.",
"description": "File name of the spell's icon.",
"type": "string"
"type": "string"
},
},
Line 255: Line 255:
"level",
"level",
"upcastable",
"upcastable",
"image",
"icon",
"conc",
"conc",
"ritual",
"ritual",

Navigation menu