Difference between revisions of "Template:DropLocation"

From DDO Compendium
Line 1: Line 1:
=== Drop Location ===
<noinclude>[[Category:Template]]{{TemplateDocumentation
<noinclude>
|name = DropLocation
[[Category:Template]]
|description = This template is used on equipment to correctly format where that equipment drops in the game.
This template is used to add a drop location to an item/weapon/armor etc.<br>
|example1 = <nowiki>{{DropLocation|The Deal and the Demon|End Chest}}</nowiki>
To use this use <nowiki>{{DropLocation|quest|chest}}</nowiki><br>
|example1output = {{DropLocation|The Deal and the Demon|End Chest}}
Put a asterisk(*) before each entry in the template.<br>
|parameter1name = Quest/Wilderness/Chain
<br>
|parameter1description = This is the quest or wilderness or chain or other named location that this item drops.
It should look like:<br>
|parameter1values =
{{DropLocation|The Deal and the Demon|End Chest}}
|parameter2name = Which Chest/Person
|parameter2description = This is the name of the chest, or person, or generic "end rewards" that this drops in.
|parameter2values =
}}
</noinclude>
</noinclude>
== TEMPLATE ==
<onlyinclude>{{#if: {{{1|}}} |[[Category:{{{1}}} loot]][[{{{1}}}]]}}{{#if: {{{2|}}} | {{#if: {{{1|}}} |,}} {{{2}}}}}</onlyinclude>
<onlyinclude>{{#if: {{{1|}}} |[[Category:{{{1}}} loot]][[{{{1}}}]]}}{{#if: {{{2|}}} | {{#if: {{{1|}}} |,}} {{{2}}}}}</onlyinclude>

Revision as of 03:26, 5 May 2018

DropLocation[edit]

This template is used on equipment to correctly format where that equipment drops in the game.

Example Usage
{{DropLocation|The Deal and the Demon|End Chest}}The Deal and the Demon, End Chest

Usage[edit]

{{DropLocation|(Quest/Wilderness/Chain)|(Which Chest/Person)}}

Parameter Documentation
Quest/Wilderness/ChainThis is the quest or wilderness or chain or other named location that this item drops.
Which Chest/PersonThis is the name of the chest, or person, or generic "end rewards" that this drops in.

Template

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