Difference between revisions of "Template:MobDrop"
From DDO Compendium
MNDeveloper (talk | contribs) (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...") |
MNDeveloper (talk | contribs) |
||
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 | ||
Line 10: | Line 10: | ||
}} | }} | ||
</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 {{{3}}} 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>On Death</td><td></td><td></td><td></td></tr> | ||
|#default=Dropped by {{RenderLink|{{{1}}}}} upon Death | |#default=Dropped by {{RenderLink|{{{1}}}}} upon Death | ||
}} </onlyinclude> | }} </onlyinclude> |
Revision as of 00:44, 28 March 2022
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 | |
Name | Which Mob |
Count | {{{parameter2description}}} |
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