Difference between revisions of "Template:ClassProficiencies"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{TemplateDocumentation | ||
|name = ClassProficiencies | |name = ClassProficiencies | ||
|description = This template is used on a class to specify which weapon and armor it has proficiency with by default. | |description = This template is used on a class to specify which weapon and armor it has proficiency with by default. | ||
|category = Player Character Templates | |||
|example1 = <nowiki>{{ClassProficiencies|Weapon|Simple||Martial|Light Hammer, Warhammer|Exotic|Great Crossbow, Repeating Light Crossbow and Repeating Heavy Crossbow}}</nowiki> | |example1 = <nowiki>{{ClassProficiencies|Weapon|Simple||Martial|Light Hammer, Warhammer|Exotic|Great Crossbow, Repeating Light Crossbow and Repeating Heavy Crossbow}}</nowiki> | ||
|example1output = {{ClassProficiencies|Weapon|Simple||Martial|Light Hammer, Warhammer|Exotic|Great Crossbow, Repeating Light Crossbow and Repeating Heavy Crossbow}} | |example1output = {{ClassProficiencies|Weapon|Simple||Martial|Light Hammer, Warhammer|Exotic|Great Crossbow, Repeating Light Crossbow and Repeating Heavy Crossbow}} | ||
Line 11: | Line 12: | ||
* Weapon | * Weapon | ||
* Armor | * Armor | ||
* Other | |||
|parameter2name = Proficiency | |parameter2name = Proficiency | ||
|parameter2description = The name of the proficiency (This can be repeated up to 5 times, along with Special text) | |parameter2description = The name of the proficiency (This can be repeated up to 5 times, along with Special text) | ||
Line 20: | Line 22: | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{{1}}}}} | <onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
|weapon={{{2}}} Weapons{{#if: {{{3|}}}| ({{{3}}})}}<br>{{#if: {{{4|}}}|{{{4}}} Weapons{{#if: {{{5|}}}| ({{{5}}})}}<br>}}{{#if: {{{6|}}}|{{{6}}} Weapons{{#if: {{{7|}}}| ({{{7}}})}}<br>}}{{#if: {{{8|}}}|{{{8}}} Weapons{{#if: {{{9|}}}| ({{{9}}})}}<br>}}{{#if: {{{10|}}}|{{{10}}} Weapons{{#if: {{{11|}}}| ({{{11}}})}}<br>}} | |weapon='''{{{2}}} Weapons''' {{#if: {{{3|}}}| ''({{{3}}})''}}<br>{{#if: {{{4|}}}|'''{{{4}}} Weapons''' {{#if: {{{5|}}}| ''({{{5}}})''}}<br>}}{{#if: {{{6|}}}|'''{{{6}}} Weapons''' {{#if: {{{7|}}}| ''({{{7}}})''}}<br>}}{{#if: {{{8|}}}|'''{{{8}}} Weapons''' {{#if: {{{9|}}}| ''({{{9}}})''}}<br>}}{{#if: {{{10|}}}|'''{{{10}}} Weapons''' {{#if: {{{11|}}}| ''({{{11}}})''}}<br>}} | ||
|armor={{{2}}} Armor{{#if: {{{3|}}}| ({{{3}}})}}<br>{{#if: {{{4|}}}|{{{4}}} Armor{{#if: {{{5|}}}| ({{{5}}})}}<br>}}{{#if: {{{6|}}}|{{{6}}} Armor{{#if: {{{7|}}}| ({{{7}}})}}<br>}}{{#if: {{{8|}}}|{{{8}}} Armor{{#if: {{{9|}}}| ({{{9}}})}}<br>}}{{#if: {{{10|}}}|{{{10}}} Armor{{#if: {{{11|}}}| ({{{11}}})}}<br>}} | |armor='''{{{2}}} Armor''' {{#if: {{{3|}}}| ''({{{3}}})''}}<br>{{#if: {{{4|}}}|'''{{{4}}} Armor''' {{#if: {{{5|}}}| ''({{{5}}})''}}<br>}}{{#if: {{{6|}}}|'''{{{6}}} Armor''' {{#if: {{{7|}}}| ''({{{7}}})''}}<br>}}{{#if: {{{8|}}}|'''{{{8}}} Armor''' {{#if: {{{9|}}}| ''({{{9}}})''}}<br>}}{{#if: {{{10|}}}|'''{{{10}}} Armor''' {{#if: {{{11|}}}| ''({{{11}}})''}}<br>}} | ||
|#default='''{{{2}}}''' {{#if: {{{3|}}}| ''({{{3}}})''}}<br>{{#if: {{{4|}}}|'''{{{4}}}''' {{#if: {{{5|}}}| ''({{{5}}})''}}<br>}}{{#if: {{{6|}}}|'''{{{6}}}''' {{#if: {{{7|}}}| ''({{{7}}})''}}<br>}}{{#if: {{{8|}}}|'''{{{8}}}''' {{#if: {{{9|}}}| ''({{{9}}})''}}<br>}}{{#if: {{{10|}}}|'''{{{10}}}''' {{#if: {{{11|}}}| ''({{{11}}})''}}<br>}} | |||
}}</onlyinclude> | }}</onlyinclude> |
Latest revision as of 19:32, 4 September 2018
ClassProficiencies[edit]
This template is used on a class to specify which weapon and armor it has proficiency with by default.
Example Usage | |
{{ClassProficiencies|Weapon|Simple||Martial|Light Hammer, Warhammer|Exotic|Great Crossbow, Repeating Light Crossbow and Repeating Heavy Crossbow}} | Simple Weapons Martial Weapons (Light Hammer, Warhammer) Exotic Weapons (Great Crossbow, Repeating Light Crossbow and Repeating Heavy Crossbow) |
{{ClassProficiencies|Armor|Light||Medium||Shields|except [[Tower Shields|tower shields]]}} | Light Armor Medium Armor Shields Armor (except tower shields) |
Usage[edit]
{{ClassProficiencies|(Group)|(Proficiency)|(Special text)}}
Parameter Documentation | |
Group | What proficiency group is this Possible Values:
|
Proficiency | The name of the proficiency (This can be repeated up to 5 times, along with Special text) |
Special text | This is any special text related to this. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
{{{2}}}