Difference between revisions of "Template:DamageType"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 1: | Line 1: | ||
<noinclude>This template is used for | <noinclude>[[Category:DamageType]]{{TemplateDocumentation | ||
|name = DamageType | |||
|description = This template is used to define which damage types are default for a weapon. It correctly formats them for display within the weapon template. You can separate up to 10 types using the same call, all separated by pipe. | |||
|example1 = <nowiki>{{DamageType|Pierce|Silver|Magic}}</nowiki> | |||
|example1output = {{DamageType|Pierce|Silver|Magic}} | |||
|parameter1name = Damage Type | |||
|parameter1description = This is the first damage type for the weapon. Add up to 10 of these. | |||
|parameter1values = | |||
}} | |||
</noinclude> | </noinclude> | ||
<onlyinclude>[[Damage Type#{{{1}}}|{{{1}}}]]{{#if: {{{2|}}}|, [[Damage Type#{{{2}}}|{{{2}}}]]}}{{#if: {{{3|}}}|, [[Damage Type#{{{3}}}|{{{3}}}]]}}{{#if: {{{4|}}}|, [[Damage Type#{{{4}}}|{{{4}}}]]}}{{#if: {{{5|}}}|, [[Damage Type#{{{5}}}|{{{5}}}]]}}{{#if: {{{6|}}}|, [[Damage Type#{{{6}}}|{{{6}}}]]}}{{#if: {{{7|}}}|, [[Damage Type#{{{7}}}|{{{7}}}]]}}{{#if: {{{8|}}}|, [[Damage Type#{{{8}}}|{{{8}}}]]}}{{#if: {{{9|}}}|, [[Damage Type#{{{9}}}|{{{9}}}]]}}{{#if: {{{10|}}}|, [[Damage Type#{{{10}}}|{{{10}}}]]}}</onlyinclude> | <onlyinclude>[[Damage Type#{{{1}}}|{{{1}}}]]{{#if: {{{2|}}}|, [[Damage Type#{{{2}}}|{{{2}}}]]}}{{#if: {{{3|}}}|, [[Damage Type#{{{3}}}|{{{3}}}]]}}{{#if: {{{4|}}}|, [[Damage Type#{{{4}}}|{{{4}}}]]}}{{#if: {{{5|}}}|, [[Damage Type#{{{5}}}|{{{5}}}]]}}{{#if: {{{6|}}}|, [[Damage Type#{{{6}}}|{{{6}}}]]}}{{#if: {{{7|}}}|, [[Damage Type#{{{7}}}|{{{7}}}]]}}{{#if: {{{8|}}}|, [[Damage Type#{{{8}}}|{{{8}}}]]}}{{#if: {{{9|}}}|, [[Damage Type#{{{9}}}|{{{9}}}]]}}{{#if: {{{10|}}}|, [[Damage Type#{{{10}}}|{{{10}}}]]}}</onlyinclude> | ||
Revision as of 02:26, 5 May 2018
DamageType[edit]
This template is used to define which damage types are default for a weapon. It correctly formats them for display within the weapon template. You can separate up to 10 types using the same call, all separated by pipe.
Example Usage | |
{{DamageType|Pierce|Silver|Magic}} | Pierce, Silver, Magic |
Usage[edit]
{{DamageType|(Damage Type)}}
Parameter Documentation | |
Damage Type | This is the first damage type for the weapon. Add up to 10 of these. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[Damage Type#{{{1}}}|{{{1}}}]]