Difference between revisions of "Template:ClassLevelShort"
From DDO Compendium
m (formatting) |
MNDeveloper (talk | contribs) |
||
Line 3: | Line 3: | ||
|description = This template is used in other templates to nicely format class short names and their level. | |description = This template is used in other templates to nicely format class short names and their level. | ||
|category = Player Character Templates | |category = Player Character Templates | ||
|example1 = <nowiki>{{ClassLevelShort|Clr|3|FvS|4|Wlk|1|Ftr|1| | |example1 = <nowiki>{{ClassLevelShort|Clr|3|FvS|4|Wlk|1|Ftr|1|sor|7}}</nowiki> | ||
|example1output = {{ClassLevelShort| | |example1output = {{ClassLevelShort|clr|3|FvS|4|Wlk|1|Ftr|1|sor|7}} | ||
|example2 = <nowiki>{{ClassLevelShort|dl||aots|}}</nowiki> | |||
|example2output = {{ClassLevelShort|dl||aots|}} | |||
|parameter1name = Class short name | |parameter1name = Class short name | ||
|parameter1description = The short abbreviation of the class name. | |parameter1description = The short abbreviation of the class name. | ||
|parameter1values = | |parameter1values = | ||
* Alc | |||
* Art | |||
* Bbn | |||
* Brd | |||
* ss | |||
* Clr | |||
* da | |||
* Drd | |||
* Bc | |||
* Fvs | |||
* Ftr | |||
* DL | |||
* Mnk | |||
* Pal | |||
* sf | |||
* Rgr | |||
* Dh | |||
* Rog | |||
* Sor | |||
* Wm | |||
* Wlk | |||
* AotS | |||
* Wiz | |||
|parameter2name = Level | |parameter2name = Level | ||
|parameter2description = The level in question | |parameter2description = The level in question | ||
|parameter2values = | |parameter2values = | ||
}}</noinclude> | }}</noinclude> | ||
<onlyinclude>{{#if:{{{1|}}}| | <onlyinclude>{{#if:{{{1|}}}|{{PageLink|{{ClassAbbrFromAbbr|{{{1}}}}}|{{ClassNameFromAbbr|{{{1}}}}}}} {{{2}}}}}{{#if:{{{3|}}}|, {{PageLink|{{ClassAbbrFromAbbr|{{{3}}}}}|{{ClassNameFromAbbr|{{{3}}}}}}} {{{4}}}}}{{#if:{{{5|}}}|, {{PageLink|{{ClassAbbrFromAbbr|{{{5}}}}}|{{ClassNameFromAbbr|{{{5}}}}}}} {{{6}}}}}{{#if:{{{7|}}}|, {{PageLink|{{ClassAbbrFromAbbr|{{{7}}}}}|{{ClassNameFromAbbr|{{{7}}}}}}} {{{8}}}}}{{#if:{{{9|}}}|, {{PageLink|{{ClassAbbrFromAbbr|{{{9}}}}}|{{ClassNameFromAbbr|{{{9}}}}}}} {{{10}}}}}{{#if:{{{11|}}}|, {{PageLink|{{ClassAbbrFromAbbr|{{{11}}}}}|{{ClassNameFromAbbr|{{{11}}}}}}} {{{12}}}}}{{#if:{{{13|}}}|, {{PageLink|{{ClassAbbrFromAbbr|{{{13}}}}}|{{ClassNameFromAbbr|{{{13}}}}}}} {{{14}}}}} | ||
{{#if:{{{21|}}}|, | {{#if:{{{15|}}}|, {{PageLink|{{ClassAbbrFromAbbr|{{{15}}}}}|{{ClassNameFromAbbr|{{{15}}}}}}} {{{16}}}}}{{#if:{{{17|}}}|, {{PageLink|{{ClassAbbrFromAbbr|{{{17}}}}}|{{ClassNameFromAbbr|{{{17}}}}}}} {{{18}}}}}{{#if:{{{19|}}}|, {{PageLink|{{ClassAbbrFromAbbr|{{{19}}}}}|{{ClassNameFromAbbr|{{{19}}}}}}} {{{20}}}}}{{#if:{{{21|}}}|, {{PageLink|{{ClassAbbrFromAbbr|{{{21}}}}}|{{ClassNameFromAbbr|{{{21}}}}}}} {{{22}}}}}{{#if:{{{23|}}}|, {{PageLink|{{ClassAbbrFromAbbr|{{{23}}}}}|{{ClassNameFromAbbr|{{{23}}}}}}} {{{24}}}}}{{#if:{{{25|}}}|, {{PageLink|{{ClassAbbrFromAbbr|{{{25}}}}}|{{ClassNameFromAbbr|{{{25}}}}}}} {{{26}}}}}{{#if:{{{27|}}}|, {{PageLink|{{ClassAbbrFromAbbr|{{{27}}}}}|{{ClassNameFromAbbr|{{{27}}}}}}} {{{28}}}}}{{#if:{{{29|}}}|, {{PageLink|{{ClassAbbrFromAbbr|{{{29}}}}}|{{ClassNameFromAbbr|{{{29}}}}}}} {{{30}}}}}</onlyinclude> |
Revision as of 13:20, 12 July 2024
ClassLevelShort[edit]
This template is used in other templates to nicely format class short names and their level.
Example Usage | |
{{ClassLevelShort|Clr|3|FvS|4|Wlk|1|Ftr|1|sor|7}} | Clr 3, FvS 4, Wlk 1, Ftr 1, Sor 7 |
{{ClassLevelShort|dl||aots|}} | Dl, AotS |
Usage[edit]
{{ClassLevelShort|(Class short name)|(Level)}}
Parameter Documentation | |
Class short name | The short abbreviation of the class name. Possible Values:
|
Level | The level in question |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.