Difference between revisions of "Template:MonsterDR"

From DDO Compendium
 
(2 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|20}}
|example1output = {{MonsterDR|Good|||||10|20}}
Line 29: Line 30:
<onlyinclude>{{#switch: {{lc:{{#dplvar:displaystyle}}}}
<onlyinclude>{{#switch: {{lc:{{#dplvar:displaystyle}}}}
| 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}}}]]|-}}
| 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}}}]]|-}}
| #default = [[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}}}]]|-}}}}}}
| #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}}}]]|-}}}}}}
</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.