Difference between revisions of "Template:SpellClassNameFromAbbr"

From DDO Compendium
Line 3: Line 3:
|description = This template converts the class abbreviation to the full name for use in spells.
|description = This template converts the class abbreviation to the full name for use in spells.
|category=Spell and Feat Templates
|category=Spell and Feat Templates
|example1 = <nowiki>{{SpellClassNameFromAbbr|Art}}</nowiki>
|example1 = <nowiki>{{SpellClassNameFromAbbr|Art|True}}</nowiki>
|example1output = {{SpellClassNameFromAbbr|Art}}
|example1output = {{SpellClassNameFromAbbr|Art|True}}
|example2 = <nowiki>{{SpellClassNameFromAbbr|Clk}}</nowiki>
|example2 = <nowiki>{{SpellClassNameFromAbbr|Clk}}</nowiki>
|example2output = {{SpellClassNameFromAbbr|Clk}}
|example2output = {{SpellClassNameFromAbbr|Clk}}
|example3 = <nowiki>{{SpellClassNameFromAbbr|R1}}</nowiki>
|example3 = <nowiki>{{SpellClassNameFromAbbr|R1|True}}</nowiki>
|example3output = {{SpellClassNameFromAbbr|R1}}
|example3output = {{SpellClassNameFromAbbr|R1|True}}
|parameter1name = Class
|parameter1name = Class
|parameter1description = The abbreviation for the class
|parameter1description = The abbreviation for the class

Revision as of 19:07, 27 June 2019

Template:SpellClassNameFromAbbr[edit]

This template converts the class abbreviation to the full name for use in spells.

Example Usage
{{SpellClassNameFromAbbr|Art|True}}Artificer
{{SpellClassNameFromAbbr|Clk}}Clickie
{{SpellClassNameFromAbbr|R1|True}}Rank 1

Usage[edit]

{{Template:SpellClassNameFromAbbr|(Include Class Link)}}

Parameter Documentation
Include Class LinkAny value will cause a class name to have a link
Possible Values:
  • Art
  • Bbn
  • Brd
  • Clr
  • Drd
  • Fvs
  • Ftr
  • Mnk
  • Pal
  • Rgr
  • Rog
  • Sor
  • Wlk
  • Wiz
  • SLA - Spell Like Ability for Levels
  • Clk - Clickie
  • R1 - Rank 1 (Used for SLA spells cost per rank)
  • R2 - Rank 2 (Used for SLA spells cost per rank)
  • R3 - Rank 3 (Used for SLA spells cost per rank)

Template

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


{{{1}}}