Difference between revisions of "Template:MonsterDR"

From DDO Compendium
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:Template]]{{TemplateDocumentation
<noinclude>{{TemplateDocumentation
|name = MonsterDR
|name = MonsterDR
|description = This template is used to generate a DR signature.  
|description = This template is used to generate a DR signature.  
|category=NPC and Monster Templates
|example1 = <nowiki>{{MonsterDR|Good|||||10|}}</nowiki>
|example1 = <nowiki>{{MonsterDR|Good|||||10|}}</nowiki>
|example1output = {{MonsterDR|Good|||||10|}}
|example1output = {{MonsterDR|Good|||||10|20}}
|parameter1name = Vulnerability
|parameter1name = Vulnerability
|parameter1description = This defines what the monster is vulnerable to.
|parameter1description = This defines what the monster is vulnerable to.
Line 17: Line 18:
|parameter4values =  
|parameter4values =  
|parameter5name = EN Reduction
|parameter5name = EN Reduction
|parameter5description = This is the amount in Heroic Normal that is reduced unless using the vulnerable type.
|parameter5description = This is the amount in Epic Normal that is reduced unless using the vulnerable type.
|parameter5values =  
|parameter5values =  
|parameter6name = EH Reduction
|parameter6name = EH Reduction
|parameter6description = This is the amount in Heroic Hard that is reduced unless using the vulnerable type.
|parameter6description = This is the amount in Epic Hard that is reduced unless using the vulnerable type.
|parameter6values =  
|parameter6values =  
|parameter7name = EE Reduction
|parameter7name = EE Reduction
|parameter7description = This is the amount in Heroic Elite that is reduced unless using the vulnerable type.
|parameter7description = This is the amount in Epic Elite that is reduced unless using the vulnerable type.
|parameter7values =  
|parameter7values =  
}}
}}
</noinclude>
</noinclude>
<onlyinclude>[[Category:Monsters with {{{1}}} Damage Reduction]]
<onlyinclude>{{#switch: {{lc:{{#dplvar:displaystyle}}}}
{{#if: {{{2|}}} | * '''Heroic Normal:''' {{{2}}}/[[{{{1}}}]]}}
| table = HN-{{#if: {{{2|}}} | {{{2}}}|N/A}} HH-{{#if: {{{3|}}} | {{{3}}}|N/A}} HE-{{#if: {{{4|}}} | {{{4}}}|N/A}} EN-{{#if: {{{5|}}} | {{{5}}}|N/A}} EH-{{#if: {{{6|}}} | {{{6}}}|N/A}} EE-{{#if: {{{7|}}} | {{{7}}}|N/A}} / {{#if: {{{1|}}}|[[{{{1}}}]]|-}}
{{#if: {{{3|}}} | * '''Heroic Hard:''' {{{3}}}/[[{{{1}}}]]}}
| #default = {{#ifeq: {{FULLPAGENAME}} |Template:MonsterDR||[[Category:Monsters with {{{1|All}}} Damage Reduction]]}}{{#if: {{{2|}}} | * '''Heroic Normal:''' {{{2}}}/{{#if: {{{1|}}}|[[{{{1}}}]]|-}}}}{{#if: {{{3|}}} | * '''Heroic Hard:''' {{{3}}}/{{#if: {{{1|}}}|[[{{{1}}}]]|-}}}}{{#if: {{{4|}}} | * '''Heroic Elite:''' {{{4}}}/{{#if: {{{1|}}}|[[{{{1}}}]]|-}}}}{{#if: {{{5|}}} | * '''Epic Normal:''' {{{5}}}/{{#if: {{{1|}}}|[[{{{1}}}]]|-}}}}{{#if: {{{6|}}} | * '''Epic Hard:''' {{{6}}}/{{#if: {{{1|}}}|[[{{{1}}}]]|-}}}}{{#if: {{{7|}}} | * '''Epic Elite:''' {{{7}}}/{{#if: {{{1|}}}|[[{{{1}}}]]|-}}}}}}
{{#if: {{{4|}}} | * '''Heroic Elite:''' {{{4}}}/[[{{{1}}}]]}}
{{#if: {{{5|}}} | * '''Epic Normal:''' {{{5}}}/[[{{{1}}}]]}}
{{#if: {{{6|}}} | * '''Epic Hard:''' {{{6}}}/[[{{{1}}}]]}}
{{#if: {{{7|}}} | * '''Epic Elite:''' {{{7}}}/[[{{{1}}}]]}}
</onlyinclude>
</onlyinclude>

Latest revision as of 01:26, 9 February 2019

MonsterDR[edit]

This template is used to generate a DR signature.

Example Usage
{{MonsterDR|Good|||||10|}}* Epic Hard: 10/Good

Usage[edit]

{{MonsterDR|(Vulnerability)|(HN Reduction)|(HH Reduction)|(HE Reduction)|(EN Reduction)|(EH Reduction)|(EE Reduction)}}

Parameter Documentation
VulnerabilityThis defines what the monster is vulnerable to.
HN ReductionThis is the amount in Heroic Normal that is reduced unless using the vulnerable type.
HH ReductionThis is the amount in Heroic Hard that is reduced unless using the vulnerable type.
HE ReductionThis is the amount in Heroic Elite that is reduced unless using the vulnerable type.
EN ReductionThis is the amount in Epic Normal that is reduced unless using the vulnerable type.
EH ReductionThis is the amount in Epic Hard that is reduced unless using the vulnerable type.
EE ReductionThis is the amount in Epic Elite that is reduced unless using the vulnerable type.

Template

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