Difference between revisions of "Template:SpellSchool"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 50: | Line 50: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>[[{{{1}}} Spell School|{{{1}}}]] {{#if: {{{2|}}} | ([[{{{2|Untyped}}} Spells|{{{2|Untyped}}}]])|}}{{#if: {{{3|}}}|([[{{{3}}} Spells|{{{3}}}]])}}{{#if: {{{4|}}}|([[{{{3}}} Spells|{{{4}}}]])}}{{#if: {{{5|}}}|([[{{{3}}} Spells|{{{5}}}]])}}{{#if: {{{6|}}}|([[{{{3}}} Spells|{{{6}}}]])}}{{#ifeq: {{FULLPAGENAME}} |Template:SpellSchool||{{#ifeq: {{#dplvar: fromdpl}} |true||[[Category:All Spells]][[Category:Spells in the {{{1}}} Spell School]][[Category:Spells having the {{{2|Untyped}}} Spell Descriptor]]{{#if: {{{3|}}}|[[Category:Spells having the {{{3}}} Spell Descriptor]]}}{{#if: {{{4|}}}|[[Category:Spells having the {{{4}}} Spell Descriptor]]}}{{#if: {{{5|}}}|[[Category:Spells having the {{{5}}} Spell Descriptor]]}}{{#if: {{{6|}}}|[[Category:Spells having the {{{6}}} Spell Descriptor]]}}}}}}</onlyinclude> | <onlyinclude>[[{{{1}}} Spell School|{{{1}}}]] {{#if: {{{2|}}} | ([[{{{2|Untyped}}} Spells|{{{2|Untyped}}}]])|}}{{#if: {{{3|}}}|([[{{{3}}} Spells|{{{3}}}]])}}{{#if: {{{4|}}}|([[{{{3}}} Spells|{{{4}}}]])}}{{#if: {{{5|}}}|([[{{{3}}} Spells|{{{5}}}]])}}{{#if: {{{6|}}}|([[{{{3}}} Spells|{{{6}}}]])}}{{#ifeq: {{FULLPAGENAME}} |Template:SpellSchool||{{#ifeq: {{#dplvar: fromdpl}} |true||{{#if: {{#dplvar: spellischild|}}||[[Category:All Spells]][[Category:Spells in the {{{1}}} Spell School]][[Category:Spells having the {{{2|Untyped}}} Spell Descriptor]]{{#if: {{{3|}}}|[[Category:Spells having the {{{3}}} Spell Descriptor]]}}{{#if: {{{4|}}}|[[Category:Spells having the {{{4}}} Spell Descriptor]]}}{{#if: {{{5|}}}|[[Category:Spells having the {{{5}}} Spell Descriptor]]}}{{#if: {{{6|}}}|[[Category:Spells having the {{{6}}} Spell Descriptor]]}}}}}}}}</onlyinclude> |
Revision as of 23:46, 17 July 2019
SpellSchool[edit]
This template is used to nicely format the output for the schools that spells are in.
Example Usage | |
{{SpellSchool|Abjuration|Earth}} | Abjuration (Earth) |
Usage[edit]
{{SpellSchool|(School)|(Descriptor)}}
Parameter Documentation | |
School | This is the school the spell is in Possible Values:
|
Descriptor | This is the descriptor of the spell. This can be repeated up to 5 times. Defaults to Untyped if this is not sent in. Possible Values:
|
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[{{{1}}} Spell School|{{{1}}}]]