RuneScape Wiki
RuneScape Wiki
m (Reverted edits by Geel9 (Talk); changed back to last version by Evil1888)
Line 3: Line 3:
{{!}}align=left{{!}}{{#if:{{{Namenotes|}}}|[[{{{Name}}}]] {{{Namenotes}}}|[[{{{Name|RuneScape:No page{{!}}Unknown}}}]]}}
{{!}}align=left{{!}}{{#if:{{{Namenotes|}}}|[[{{{Name}}}]] {{{Namenotes}}}|[[{{{Name|RuneScape:No page{{!}}Unknown}}}]]}}
{{!}}style=background:#{{#switch:{{lc:{{{Rarity|unknown}}}}}|always=AFEEEE|common=98FB98|uncommon=F0E68C|rare=F4A460|very rare=F08080|unknown|#default=FFFFFF}}; color:#000000;"{{!}}<span style="display:none;">{{#switch:{{lc:{{{Rarity|unknown}}}}}|always=1|common=2|uncommon=3|rare=4|very rare=5|unknown|#default=6}}</span> {{{Rarity|Unknown}}} {{{Raritynotes|}}}
{{!}}style=background:#{{#switch:{{lc:{{{Rarity|unknown}}}}}|always=AFEEEE|common=98FB98|uncommon=F0E68C|rare=F4A460|very rare=F08080|unknown|random=EE82EE|#default=FFFFFF}}; color:#000000;"{{!}}<span style="display:none;">{{#switch:{{lc:{{{Rarity|unknown}}}}}|always=1|common=2|uncommon=3|rare=4|very rare=5|unknown|random=6|#default=7}}</span> {{{Rarity|Unknown}}} {{{Raritynotes|}}}
{{!}}{{#if:{{{Name|}}}|{{#ifeq:{{lc:{{{gemw}}}}}|no|Not sold|{{GEPrice|{{{Name}}}}}}}|&nbsp;}}{{#if:{{{Rarity|}}}||[[Category:Needs drop rarity added]]}}{{#if:{{{Quantity|}}}||[[Category:Needs drop quantity added]]}}
{{!}}{{#if:{{{Name|}}}|{{#ifeq:{{lc:{{{gemw}}}}}|no|Not sold|{{GEPrice|{{{Name}}}}}}}|&nbsp;}}{{#if:{{{Rarity|}}}||[[Category:Needs drop rarity added]]}}{{#if:{{{Quantity|}}}||[[Category:Needs drop quantity added]]}}

Revision as of 16:59, 19 December 2010

Documentation icon.png Template documentation[edit] [purge]
This documentation is transcluded from Template:DropsLine/doc.
Template:DropsLine invokes Module:DropsLine using Lua.

The DropsLine templates are used to list a monster's drops. Three templates are used to form the drop logs:


|Name        = <!-- Name of item -->
|Namenotes   = <!-- (Optional) Notes added to the item name without disrupting GE price.-->
|Quantity    = <!-- Quantity(s) dropped by monster. Separate with commas. -->
|Rarity      = <!-- How rare the item is: Always, Common, Uncommon, Rare, Very rare, Varies -->
|Raritynotes = <!-- (Optional) Extra things added into the Rarity column, to not disrupt the colouring-->
|gemw        = <!-- "no" if item is not sold on the GE -->
|AltValue    = <!-- The value to display when gemw=no -->
|Image       = <!-- Manual addition of image if item is not sold on GE. Don't add [[File:_]] -->
|Sort        = <!-- Manual sort category override -->}}

The template should be used in one line, like the example below.

Unfilled drops line for quick copy-paste

GE item: {{DropsLine|Name=|Quantity=|Rarity=}}
Non-GE item: {{DropsLine|Name=|Quantity=|Rarity=|gemw=no|Image=}}

Parameter details


Name of the item/drop, should link directly to the article.

Namenotes (optional)

If extra notes need adding to the item name, such as for noted items, use the "Name notes" parameter. This will allow the Image and gemw parameters to still work.


Quantity of the item dropped by the monster. If multiple quantities are randomly dropped, list them all and separate with commas. Do not use commas as thousand separators, and do not use abbreviations like k and m - input 9000, not 9,000 or 9k.

The price column automatically detects several types of ranges:

  • Several individual values separated with commas, e.g. 1,4,7
    • Uses the first and the last values (not max and min; numbers in the middle ignored), so make sure to order them in ascending order.
  • A range in the form min-max, e.g. 1-10
    • Uses the number on the left of the - as min, and the right as max
  • A combination of the above two, e.g. 1-3,5,7-9,11
    • First separates by commas, then if the first is a range, uses the left of the - as min; if the last is a range, uses the right of the - as max; otherwise if either is not a range uses the number that is there as min or max, respectively. In the example, the min number would be 1 and the max 11. Make sure they're ordered in ascending order.

The word (noted) is removed before parsing it, but other variations are not. All other characters and text are parsed as is, so make sure the Quantity field only contains numbers, commas, hyphens and (noted), nothing else.


Rarity of the item. Only 6 available options:

Rarity Explanation
Always Always dropped by the monster
Common The most common of items. Renowned for being common. Nearly always dropped.
Uncommon Dropped sometimes, but not necessarily renowned for being common
Rare Rarely dropped. Will take quite a few drops to obtain.
Very rare Renowned for being rare among players. Hardly ever dropped. Items like the divine sigil, some dragon items, etc.
Varies/Random Dropped with a mechanic more complex than a simple drop rate. Use the raritynotes parameter to indicate how the drop probability varies with boss level.

Leaving the rarity blank or entering a rarity other than always/common/uncommon/rare/very rare/varies defaults to a white color.

Raritynotes (optional)

If extra notes on the items rarity need to be entered into the column, such as a citation, or some other requirement to be dropped (e.g. the specific bones for Rag and Bone Man are only dropped during that quest, Dragon eggs are only dropped when the player has level 99 Summoning, etc), use the "Raritynotes" parameter. This will allow the colouring of the standard rarities to still work.


Whether the item is listed on the Grand Exchange Market Watch. If yes, leave blank, and the price will be pulled automatically. If no, enter "no", which puts "Not sold" in the table cell. Entering "no" will remove the image, requiring manual configuring of the item's image using the "Image=" field.


A manual configuration of the item's image. Only use this parameter when the image name (minus extension) does not exactly match the item name. Casing is important, so be sure the "Name" parameter also leads directly to the item's page. In normal circumstances, the item image can automatically be pulled from its GEMW page. Do not add square brackets and the file prefix. Just use "Name.png".

AltValue (only if gemw parameter is no)

The price to display when the item cannot be traded between players. Used only when "gemw=no". A reference will be added to clarify this. The value will be formatted with thousands separators, so commas should not be entered.


Drops automatically have a sortkey calculated for the name column, which is the default sort for a drops table. The sortkey is always category raritynum lowercasename, with the category calculated from the item name - e.g. weapons 5 abyssal whip. The calculated category is one of: runes talismans armour weapons ammunition logs herbs seeds ores bars gems raw potions zzz !!! !other, where zzz is the rare drop table (sorts to end), !!! is coins (sorts to front), and !other is everything that isn't recognised as one of the other categories.

If the automatically calculated sort category is poor, then it can be defined with the Sort parameter to correct it. While any value can be entered, it should be one of the above to fit correctly with the other items (though if everything is changed...). The rarity sort number cannot be changed.