Difference between revisions of "Template:MobDrop"

From DDO Compendium
(Created page with "<noinclude>{{TemplateDocumentation |name = MobDrop |description = This template is dropped when a mob is killed |category = DropLocation Templates |example1 = <nowiki>{{MobDrop|Duergar}}</nowiki> |example1output = {{MobDrop|Duergar}} |parameter1name = Name |parameter1description = Which Mob |parameter2name = Count }} </noinclude> <onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:MobDrop||[[Category:Items Dropped by {{{3}}} on Death]}}{{#switch: {{lc:{{#dplvar:vendorformat...")
 
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
|description = This template is dropped when a mob is killed
|description = This template is dropped when a mob is killed
|category = DropLocation Templates
|category = DropLocation Templates
|example1 = <nowiki>{{MobDrop|Duergar}}</nowiki>
|example1 = <nowiki>{{MobDrop|{{PageLink|Duergar|Duergar Sub Race}}}}</nowiki>
|example1output = {{MobDrop|Duergar}}
|example1output = {{MobDrop|{{PageLink|Duergar|Duergar Sub Race}}}}
|parameter1name = Name
|parameter1name = Name
|parameter1description = Which Mob
|parameter1description = Which Mob
|parameter2name = Count
|parameter2name = Count
|parameter2description=How many drop
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:MobDrop||[[Category:Items Dropped by {{{3}}} on Death]}}{{#switch: {{lc:{{#dplvar:vendorformat}}}}
<onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:MobDrop||[[Category:Items Dropped by Enemies on Death]]}}{{#switch: {{lc:{{#dplvar:vendorformat}}}}
| table=<tr><td>{{RenderLink|{{{1}}}}}</td><td>On Death</td><td></td><td></td><td></td></tr>
| table=<tr><td>{{RenderLink|{{{1}}}}}</td><td>Any Location</td><td></td><td>On Death</td><td></td></tr>
|#default=Dropped by {{RenderLink|{{{1}}}}} upon Death
|#default=Dropped by {{RenderLink|{{{1}}}}} upon Death
}} </onlyinclude>
}} {{#dplvar:set|seodroplocation|{{#dplvar:seodroplocation}}
* Dropped by specific mobs upon death.}}</onlyinclude>

Latest revision as of 03:46, 23 December 2024

MobDrop[edit]

This template is dropped when a mob is killed

Example Usage
{{MobDrop|{{PageLink|Duergar|Duergar Sub Race}}}}Dropped by Duergar upon Death

Usage[edit]

{{MobDrop|(Name)|(Count)}}

Parameter Documentation
NameWhich Mob
CountHow many drop

Template

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


Dropped by [[{{{1}}}]] upon Death