Difference between revisions of "Template:SpellLevel"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
|example4output = {{SpellLevel|Arm}} | |example4output = {{SpellLevel|Arm}} | ||
|parameter1name = Class | |parameter1name = Class | ||
|parameter1description = The spell abbreviation for the class, class and level can be repeated | |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 | ||
* dd | |||
* Pal | * Pal | ||
* Sf | |||
* Rgr | * Rgr | ||
* Dh | |||
* Sor | * Sor | ||
* Wm | |||
* Wiz | * 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 | * 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 | * SLA - Spell Like Ability - This has to be the first one and the level isn't used | ||
Line 33: | Line 43: | ||
|arm=Rune Arm Shot{{#ifeq: {{FULLPAGENAME}} |Template:SpellLevel||{{#ifeq: {{#dplvar: fromdpl}} |true||[[Category:Rune Arm Shots]]}}}} | |arm=Rune Arm Shot{{#ifeq: {{FULLPAGENAME}} |Template:SpellLevel||{{#ifeq: {{#dplvar: fromdpl}} |true||[[Category:Rune Arm Shots]]}}}} | ||
|sla=Spell Like Ability{{#ifeq: {{FULLPAGENAME}} |Template:SpellLevel||{{#ifeq: {{#dplvar: fromdpl}} |true||[[Category:Spell Like Abilities]]}}}} | |sla=Spell Like Ability{{#ifeq: {{FULLPAGENAME}} |Template:SpellLevel||{{#ifeq: {{#dplvar: fromdpl}} |true||[[Category:Spell Like Abilities]]}}}} | ||
|#default= | |#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}}}} | ||
}}</onlyinclude> |
Latest revision as of 02:14, 13 February 2025
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 3, Wizard 3 |
{{SpellLevel|Arm}} | Rune Arm Shot |
Usage[edit]
{{SpellLevel|(Class)|(level)}}
Parameter Documentation | |
Class | The spell abbreviation for the class, class and level can be repeated 20 times Possible Values:
|
level | The 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}}}]]