Difference between revisions of "Template:SpellLevel"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(27 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
|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 | ||
* Clr | * Ss | ||
* | * Clr | ||
* Da | |||
* Drd | * Drd | ||
* Bc | |||
* Fvs | |||
* dd | |||
* Pal | * Pal | ||
* | * Sf | ||
* Sor | * 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|}}}}} | ||
| | |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]]}}}} | ||
| | |#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}}}]]