Difference between revisions of "Template:RandomDrop"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
|parameter2name = Level Range | |parameter2name = Level Range | ||
|parameter2description = The loot level range of the chests | |parameter2description = The loot level range of the chests | ||
|parameter3name = Random Only Type | |||
|parameter3description = Set to a value if this can only come from random drops, the value is used in the nonpurchaseable category. | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:RandomDrop||[[Category:Randomly Dropped Loot]][[Category:Loot]]}}[[Random]]{{#if: {{{1|}}}|, Highest drop rate from {{RenderLink|{{{1|}}}}}}}{{#if: {{{2|}}}|, Any Chest with Loot Levels {{{2}}}}}</onlyinclude> | <onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:RandomDrop||[[Category:Randomly Dropped Loot]][[Category:Loot]]{{#if: {{{3|}}}|[[Category: Random Drop Only {{{3|}}}]]}}}}{{#switch: {{lc:{{#dplvar:vendorformat}}}} | ||
| table=<tr><td colspan="5">[[Random]]{{#if: {{{2|}}}|, Any Chest with Loot Levels {{{2}}}|, any chest, quest reward, etc.}}{{#if: {{{1|}}}|, Highest drop rate from {{RenderLink|{{{1|}}}}}}}</td></tr> | |||
|#default=[[Random]]{{#if: {{{2|}}}|, Any Chest with Loot Levels {{{2}}}|, any chest, quest reward, etc.}}{{#if: {{{1|}}}|, Highest drop rate from {{RenderLink|{{{1|}}}}}}} | |||
}}</onlyinclude> |
Latest revision as of 16:10, 12 July 2022
RandomDrop[edit]
This template that can randomly drop.
Example Usage | |
{{RandomDrop|{{PageLink|The Dreaming Dark |The Dreaming Dark (Quest)}}}} | Random, any chest, quest reward, etc., Highest drop rate from The Dreaming Dark |
{{RandomDrop}} | Random, any chest, quest reward, etc. |
Usage[edit]
{{RandomDrop|(Highest Chance)|(Level Range)|(Random Only Type)}}
Parameter Documentation | |
Highest Chance | Quest, Wilderness that has the highest chance. Leave blank if there isn't one. |
Level Range | The loot level range of the chests |
Random Only Type | Set to a value if this can only come from random drops, the value is used in the nonpurchaseable category. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Random, any chest, quest reward, etc.