Difference between revisions of "Template:SpellLevel"

From DDO Compendium
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Template]]{{TemplateDocumentation
<noinclude>{{TemplateDocumentation
|name = SpellLevel
|name = SpellLevel
|description = This template is used to nicely format the class and level necessary for a spell.
|description = This template is used to nicely format the class and level necessary for a spell.
|category=Spell and Feat Templates
|example1 = <nowiki>{{SpellLevel|Art|1}}</nowiki>
|example1 = <nowiki>{{SpellLevel|Art|1}}</nowiki>
|example1output = {{SpellLevel|Art|1}}
|example1output = {{SpellLevel|Art|1}}
|example2 = <nowiki>{{SpellLevel|Pal|3}}</nowiki>
|example2 = <nowiki>{{SpellLevel|Pal|3}}</nowiki>
|example2output = {{SpellLevel|Pal|3}}
|example2output = {{SpellLevel|Pal|3}}
|example3 = <nowiki>{{SpellLevel|Sor|3|Wiz|3}}</nowiki>
|example3output = {{SpellLevel|Sor|3|Wiz|3}}
|example4 = <nowiki>{{SpellLevel|Arm}}</nowiki>
|example4output = {{SpellLevel|Arm}}
|parameter1name = Class
|parameter1name = Class
|parameter1description = The spell abbreviation for the class
|parameter1description = The spell abbreviation for the class, class and level can be repeated 20 times
|parameter1values =  
|parameter1values =  
* Alc
* Art
* Art
* Brd
* Brd
* Ss
* Clr
* Clr
* Da
* Drd
* Drd
* Bc
* Fvs
* Fvs
* Pal
* Pal
* Rng
* Sf
* Sor/Wiz
* Rgr
* Dh
* Sor
* Wm
* Wiz
* Wlk
* AotS
* Arm - This spell is a Rune Arm Imbue Only - This has to be the first one and the level isn't used
* SLA - Spell Like Ability - This has to be the first one and the level isn't used
* Clk - This spell is on an item as a clickie
|parameter2name = level
|parameter2name = level
|parameter2description = The spell level for the class.
|parameter2description = The spell level for the class.
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#switch: {{lc:{{{1|}}}}}
|art = {{#dplvar:set|fullname|Artificer}}
|arm=Rune Arm Shot{{#ifeq: {{FULLPAGENAME}} |Template:SpellLevel||{{#ifeq: {{#dplvar: fromdpl}} |true||[[Category:Rune Arm Shots]]}}}}
|brd = {{#dplvar:set|fullname|Bard}}
|sla=Spell Like Ability{{#ifeq: {{FULLPAGENAME}} |Template:SpellLevel||{{#ifeq: {{#dplvar: fromdpl}} |true||[[Category:Spell Like Abilities]]}}}}
|clr = {{#dplvar:set|fullname|Cleric}}
|#default={{SingleSpellLevel|{{{1}}}|{{{2}}}}}{{#if: {{{3|}}}|{{SingleSpellLevel|{{{3}}}|{{{4}}}|True}}}}{{#if: {{{5|}}}|{{SingleSpellLevel|{{{5}}}|{{{6}}}|True}}}}{{#if: {{{7|}}}|{{SingleSpellLevel|{{{7}}}|{{{8}}}|True}}}}{{#if: {{{9|}}}|{{SingleSpellLevel|{{{9}}}|{{{10}}}|True}}}}{{#if: {{{11|}}}|{{SingleSpellLevel|{{{11}}}|{{{12}}}|True}}}}{{#if: {{{13|}}}|{{SingleSpellLevel|{{{13}}}|{{{14}}}|True}}}}{{#if: {{{15|}}}|{{SingleSpellLevel|{{{15}}}|{{{16}}}|True}}}}{{#if: {{{17|}}}|{{SingleSpellLevel|{{{17}}}|{{{18}}}|True}}}}{{#if: {{{19|}}}|{{SingleSpellLevel|{{{19}}}|{{{20}}}|True}}}}{{#if: {{{21|}}}|{{SingleSpellLevel|{{{21}}}|{{{22}}}|True}}}}{{#if: {{{23|}}}|{{SingleSpellLevel|{{{23}}}|{{{24}}}|True}}}}{{#if: {{{25|}}}|{{SingleSpellLevel|{{{25}}}|{{{26}}}|True}}}}{{#if: {{{27|}}}|{{SingleSpellLevel|{{{27}}}|{{{28}}}|True}}}}{{#if: {{{29|}}}|{{SingleSpellLevel|{{{29}}}|{{{30}}}|True}}}}{{#if: {{{31|}}}|{{SingleSpellLevel|{{{31}}}|{{{32}}}|True}}}}{{#if: {{{33|}}}|{{SingleSpellLevel|{{{33}}}|{{{34}}}|True}}}}{{#if: {{{35|}}}|{{SingleSpellLevel|{{{35}}}|{{{36}}}|True}}}}{{#if: {{{37|}}}|{{SingleSpellLevel|{{{37}}}|{{{38}}}|True}}}}{{#if: {{{39|}}}|{{SingleSpellLevel|{{{39}}}|{{{40}}}|True}}}}
|drd = {{#dplvar:set|fullname|Druid}}
}}</onlyinclude>
|fvs = {{#dplvar:set|fullname|Favored Soul}}
|pal = {{#dplvar:set|fullname|Paladin}}
|rng = {{#dplvar:set|fullname|Ranger}}
|sor/wiz = {{#dplvar:set|fullname|Sorcerer/Wizard}}
}}[[{{#dplvar:fullname}} Spells#Level {{{2}}}|{{{1}}} {{{2}}}]][[Category:{{#dplvar:fullname}} Spells]]</onlyinclude>

Latest revision as of 12:34, 6 June 2024

SpellLevel[edit]

This template is used to nicely format the class and level necessary for a spell.

Example Usage
{{SpellLevel|Art|1}}Artificer 1
{{SpellLevel|Pal|3}}Paladin 3
{{SpellLevel|Sor|3|Wiz|3}}Sorcerer 3Wizard 3
{{SpellLevel|Arm}}Rune Arm Shot

Usage[edit]

{{SpellLevel|(Class)|(level)}}

Parameter Documentation
ClassThe spell abbreviation for the class, class and level can be repeated 20 times
Possible Values:
  • Alc
  • Art
  • Brd
  • Ss
  • Clr
  • Da
  • Drd
  • Bc
  • Fvs
  • Pal
  • Sf
  • Rgr
  • Dh
  • Sor
  • Wm
  • Wiz
  • Wlk
  • AotS
  • Arm - This spell is a Rune Arm Imbue Only - This has to be the first one and the level isn't used
  • SLA - Spell Like Ability - This has to be the first one and the level isn't used
  • Clk - This spell is on an item as a clickie
levelThe spell level for the class.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


[[{{{1}}} Spells#Level {{{2}}} Spells|{{{1}}} {{{2}}}]]