Template:SpellTableAidTest: Difference between revisions

From Epic Path
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
|-
{{#vardefine:spellpage|{{#switch: {{{2}}}
| {{#switch: {{{2}}}
| Alc = [[{{{1}}} (Alchemist Extract)|{{{1}}}]]
| Alc = [[{{{1}}} (Alchemist Extract)|{{{1}}}]]
| Bar = [[{{{1}}} (Bard Spell)|{{{1}}}]]
| Bar = [[{{{1}}} (Bard Spell)|{{{1}}}]]
Line 9: Line 8:
| True = [[{{{1}}} (True Dweomer)|{{{1}}}]]
| True = [[{{{1}}} (True Dweomer)|{{{1}}}]]
| Wiz = [[{{{1}}} (Sorcerer/Wizard Spell)|{{{1}}}]]
| Wiz = [[{{{1}}} (Sorcerer/Wizard Spell)|{{{1}}}]]
| #default = [[{{{1}}} (Spell)|{{{1}}}]]
| #default = {{{1}}} (Spell)|{{{1}}}
}}
}}
| {{{{{subst|}}}:{{#switch: {{{2}}}
 
| Alc = {{{1}}} (Alchemist Extract)
{{subst:t|{{!}}-
| Bar = {{{1}}} (Bard Spell)
{{!}} [[{{#var:spellpage}}]]
| Cle = {{{1}}} (Cleric Spell)
{{!}} {{#var:spellpage|transcludesection=School}}
| Dru = {{{1}}} (Druid Spell)
{{!}} {{#ifeq:{{#var:spellpage|transcludesection=CastTime}}|Standard||{{#var:spellpage|transcludesection=CastTime}}}}
| Pal = {{{1}}} (Paladin Spell)
{{!}} {{#var:spellpage|transcludesection=ShortDesc}}
| Ran = {{{1}}} (Ranger Poultice)
| True = {{{1}}} (True Dweomer)
| Wiz = {{{1}}} (Sorcerer/Wizard Spell)
| #default = {{{1}}} (Spell)
}}|transcludesection=School
}}
}}
<!--
| align="center" {{#if:{{:{{{1}}} (Spell)|transcludesection={{#switch: {{{2}}}
| Alc = Alchemist
| Bar = Bard
| Cle = Cleric
| Dru = Druid
| Pal = Paladin
| Ran = Ranger
| Wiz = Sorcerer/Wizard
}}|}}||style="background-color:red; color:#fff; font-weight:bold"}} | {{:{{{1}}} (Spell)|transcludesection={{#switch: {{{2}}}
| Alc = Alchemist
| Bar = Bard
| Cle = Cleric
| Dru = Druid
| Pal = Paladin
| Ran = Ranger
| Wiz = Sorcerer/Wizard
}}}}
| {{:{{{1}}} (Spell)|transcludesection=Components
}}
| {{#switch: {{{2}}}
| Alc = {{:{{{1}}} (Alchemist Extract)|transcludesection=ShortDesc}}
| Bar = {{:{{{1}}} (Bard Spell)|transcludesection=ShortDesc}}
| Cle = {{:{{{1}}} (Cleric Spell)|transcludesection=ShortDesc}}
| Dru = {{:{{{1}}} (Druid Spell)|transcludesection=ShortDesc}}
| Pal = {{:{{{1}}} (Paladin Spell)|transcludesection=ShortDesc}}
| Ran = {{:{{{1}}} (Ranger Poultice)|transcludesection=ShortDesc}}
| True = {{:{{{1}}} (True Dweomer)|transcludesection=ShortDesc}}
| Wiz = {{:{{{1}}} (Sorcerer/Wizard Spell)|transcludesection=ShortDesc}}
| #default = {{:{{{1}}} (Spell)|transcludesection=ShortDesc}}
}}
-->

Revision as of 12:09, 5 November 2022

{{#vardefine:spellpage|{{{1}}}

{{subst:t||- | [[]] | transcludesection=School | transcludesection=CastTime | transcludesection=ShortDesc }}