Difference between revisions of "Template:DropLocation"

From DDO Compendium
Line 9: Line 9:
|example3 = <nowiki>{{DropLocation|Spinner of Shadows (Quest)|End chest|Spinner of Shadows}}</nowiki>
|example3 = <nowiki>{{DropLocation|Spinner of Shadows (Quest)|End chest|Spinner of Shadows}}</nowiki>
|example3output = {{DropLocation|Spinner of Shadows (Quest)|End chest|Spinner of Shadows}}
|example3output = {{DropLocation|Spinner of Shadows (Quest)|End chest|Spinner of Shadows}}
|example4 = <nowiki>{{DropLocation|Strike Back|End Chest||Heroic}}</nowiki>
|example4output = {{DropLocation|Strike Back|End Chest||Heroic}}
|parameter1name = Quest/Wilderness/Chain
|parameter1name = Quest/Wilderness/Chain
|parameter1description = This is the quest or wilderness or chain or other named location that this item drops. If this is given automatically, then leave this part blank.
|parameter1description = This is the quest or wilderness or chain or other named location that this item drops. If this is given automatically, then leave this part blank.
|parameter1values =
|parameter2name = Which Chest/Person
|parameter2name = Which Chest/Person
|parameter2description = This is the name of the chest, or person, or generic "end rewards" that this drops in.
|parameter2description = This is the name of the chest, or person, or generic "end rewards" that this drops in.
|parameter2values =
|parameter3name = Title for Link
|parameter3name = Title for Link
|parameter3description = This is the title for the link to the location.  Used specifically if the location would take you to a disambiguation page.
|parameter3description = This is the title for the link to the location.  Used specifically if the location would take you to a disambiguation page.
|parameter3values =  
|parameter4name = Difficulty
|parameter4description = This is the difficulty that this drops at, if there are more than one version based on difficulty.
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#if: {{{1|}}} | [[Category:{{#if: {{{3|}}}|{{{3}}}|{{{1}}}}} loot]]{{#if: {{{3|}}}|[[{{{1}}}|{{{3}}}]]|[[{{{1}}}]]}}}}{{#if: {{{2|}}} | {{#if: {{{1|}}} |,}} {{{2}}}}}</onlyinclude>
<onlyinclude>{{#if: {{{1|}}} | [[Category:{{#if: {{{3|}}}|{{{3}}}|{{{1}}}}} loot]]{{#if: {{{3|}}}|[[{{{1}}}|{{{3}}}]]|[[{{{1}}}]]}}}}{{#if: {{{4|}}}|&nbsp;({{{4}}})}}{{#if: {{{2|}}} | {{#if: {{{1|}}} |,}} {{{2}}}}}</onlyinclude>

Revision as of 20:25, 17 November 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
{{DropLocation||Reward for Bladeforged Leveling to 15}}Reward for Bladeforged Leveling to 15
{{DropLocation|Spinner of Shadows (Quest)|End chest|Spinner of Shadows}}Spinner of Shadows, End chest
{{DropLocation|Strike Back|End Chest||Heroic}}Strike Back (Heroic), End Chest

Usage[edit]

{{DropLocation|(Quest/Wilderness/Chain)|(Which Chest/Person)|(Title for Link)|(Difficulty)}}

Parameter Documentation
Quest/Wilderness/ChainThis is the quest or wilderness or chain or other named location that this item drops. If this is given automatically, then leave this part blank.
Which Chest/PersonThis is the name of the chest, or person, or generic "end rewards" that this drops in.
Title for LinkThis is the title for the link to the location. Used specifically if the location would take you to a disambiguation page.
DifficultyThis is the difficulty that this drops at, if there are more than one version based on difficulty.

Template

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