Difference between revisions of "Template:VeteranReceived"

From DDO Compendium
Line 3: Line 3:
|description = This template is used on equipment to correctly format where that equipment is received leveling using veteran status.
|description = This template is used on equipment to correctly format where that equipment is received leveling using veteran status.
|category = DropLocation Templates
|category = DropLocation Templates
|example1 = <nowiki>{{VeteranReceived|Alchemist|II}}</nowiki>
|example1 = <nowiki>{{VeteranReceived|II|Alchemist}}</nowiki>
|example1output = {{VeteranReceived|Alchemist|II}}
|example1output = {{VeteranReceived|II|Alchemist}}
|parameter1name = Class
|example2 = <nowiki>{{VeteranReceived|II|All}}</nowiki>
|parameter1description = This is the class that recieves it when done leveling
|example2output = {{VeteranReceived|II|All}}
|parameter2name = Veteran Status
|example3 = <nowiki>{{VeteranReceived|II|Alchemist|Cleric|Druid}}</nowiki>
|parameter2description = Which veteran status gives these (I, II, III)
|example3output = {{VeteranReceived|II|Alchemist|Cleric|Druid}}
|parameter1name = Veteran Status
|parameter1description = Which veteran status gives these (I, II, III)
|parameter2name = Class
|parameter2description = This is the class that recieves it when done leveling, can be repeated 20 times
|parameter2values=
* All
* Alc
* Art
* Bbn
* Brd
* Clr
* Drd
* Fvs
* Ftr
* Mnk
* Pal
* Rgr
* Rog
* Sor
* Wlk
* Wiz
* All
}}
}}
</noinclude><onlyinclude>{{#switch: {{lc:{{#dplvar:vendorformat}}}}
</noinclude><onlyinclude>{{#dplvar: set|classes|{{ClassNameFromAbbr|{{{2}}}}}{{#if: {{{3|}}}|, {{ClassNameFromAbbr|{{{3}}}}}}}{{#if: {{{4|}}}|, {{ClassNameFromAbbr|{{{4}}}}}}}{{#if: {{{5|}}}|, {{ClassNameFromAbbr|{{{5}}}}}}}{{#if: {{{6|}}}|, {{ClassNameFromAbbr|{{{6}}}}}}}{{#if: {{{7|}}}|, {{ClassNameFromAbbr|{{{7}}}}}}}{{#if: {{{8|}}}|, {{ClassNameFromAbbr|{{{8}}}}}}}{{#if: {{{9|}}}|, {{ClassNameFromAbbr|{{{9}}}}}}}{{#if: {{{10|}}}|, {{ClassNameFromAbbr|{{{1}}}}}}}{{#if: {{{11|}}}|, {{ClassNameFromAbbr|{{{11}}}}}}}{{#if: {{{12|}}}|, {{ClassNameFromAbbr|{{{12}}}}}}}{{#if: {{{13|}}}|, {{ClassNameFromAbbr|{{{13}}}}}}}{{#if: {{{14|}}}|, {{ClassNameFromAbbr|{{{14}}}}}}}{{#if: {{{15|}}}|, {{ClassNameFromAbbr|{{{15}}}}}}}{{#if: {{{16|}}}|, {{ClassNameFromAbbr|{{{16}}}}}}}{{#if: {{{17|}}}|, {{ClassNameFromAbbr|{{{17}}}}}}}{{#if: {{{18|}}}|, {{ClassNameFromAbbr|{{{18}}}}}}}{{#if: {{{19|}}}|, {{ClassNameFromAbbr|{{{19}}}}}}}{{#if: {{{20|}}}|, {{ClassNameFromAbbr|{{{20}}}}}}}{{#if: {{{21|}}}|, {{ClassNameFromAbbr|{{{21}}}}}}}}}{{#dplvar: set|level|{{#switch: {{lc:{{{1}}}}}
|table=<tr><td>Veteran Status II ({{{1}}})</td><td>[[The Airship "Heart of Wind"]]</td><td>1</td><td>Level {{#switch: {{lc:{{{2}}}}}
|i=4
|i=4
|ii=7
|ii=7
|iii=10}}</td><td></td></tr>
|iii=10}}}}
|#default=Veteran Status II ({{{1}}}): Receive after leveling to {{#switch: {{lc:{{{2}}}}}
 
|i=4
{{#switch: {{lc:{{#dplvar:vendorformat}}}}
|ii=7
|table=<tr><td>Veteran Status {{{1}}} ({{#dplvar:classes}})</td><td>[[The Airship "Heart of Wind"]]</td><td>1</td><td>Level {{#dplvar: level}}</td><td></td></tr>
|iii=10}}.
|#default=Veteran Status {{{1}}} ({{#dplvar: classes}}): Receive after leveling to {{#dplvar: level}}.
}}{{#ifeq: {{FULLPAGENAME}} |Template:VeteranReceived||[[Category:Veteran Status {{{2}}} Items]]}}</onlyinclude>
}}{{#ifeq: {{FULLPAGENAME}} |Template:VeteranReceived||[[Category:Veteran Status {{{1}}} Items]]}}</onlyinclude>

Revision as of 01:31, 18 November 2023

VeteranReceived[edit]

This template is used on equipment to correctly format where that equipment is received leveling using veteran status.

Example Usage
{{VeteranReceived|II|Alchemist}}Veteran Status II (Alchemist): Receive after leveling to 7.
{{VeteranReceived|II|All}}Veteran Status II (All Classes): Receive after leveling to 7.
{{VeteranReceived|II|Alchemist|Cleric|Druid}}Veteran Status II (Alchemist, Cleric, Druid): Receive after leveling to 7.

Usage[edit]

{{VeteranReceived|(Veteran Status)|(Class)}}

Parameter Documentation
Veteran StatusWhich veteran status gives these (I, II, III)
ClassThis is the class that recieves it when done leveling, can be repeated 20 times
Possible Values:
  • All
  • Alc
  • Art
  • Bbn
  • Brd
  • Clr
  • Drd
  • Fvs
  • Ftr
  • Mnk
  • Pal
  • Rgr
  • Rog
  • Sor
  • Wlk
  • Wiz
  • All

Template

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



Veteran Status {{{1}}} ({{{2}}}): Receive after leveling to .