Template:DropsLineSkill

From MineScape Wiki

Template:Documentation The DropsLineSkill templates are used to list drops from various skills. Drops tables should use the following 3 templates:

  • Template:T - Contains table headers for the top of the drop table
  • Template:T - Template for all of the individual drop lines
  • Template:T - Contains table footers for the bottom of the drop table

See related templates:

Usage

{{DropsTableHead}}
{{DropsLineSkill
|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. If unknown, leave blank or use "Unknown." -->
|quantitynotes = <!-- (Optional) Extra things added into the Quantity column, to not disrupt the colouring-->
|rarity        = <!-- How rare the item is, specify as a fraction (eg. "1/128") or use: Always, Common, Uncommon, Rare, Very rare, Varies, Unknown -->
|raritynotes   = <!-- (Optional) Extra things added into the Rarity column, to not disrupt the colouring-->
|skill         = <!-- The skill associated with the drop (i.e. Gathering skills) -->
|members       = <!-- (Optional) "yes" if item is members-only -->
|gemw          = <!-- (Optional) "no" if item is not sold on the GE -->
|image         = <!-- (Optional) Manual addition or override of the image icon. Don't add [[File:_]] -->
|alch          = <!-- (Optional) "no" if item cannot be alchemised -->
|sort          = <!-- (Optional) Manual sort category override -->
|smw           = <!-- (Optional) Set to "No" to suppress SMW output -->
}}
{{DropsTableBottom}}

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

Unfilled drop lines for quick copy-paste

GE Item

{{DropsLineSkill|name = |quantity = |rarity = |skill = }}

Non-GE item (can be alchemised)

{{DropsLineSkill|name = |quantity = |rarity = |skill = |gemw = no}}

Non-GE item (cannot be alchemised)

{{DropsLineSkill|name = |quantity = |rarity = |skill = |gemw = no|alch = no}}

All parameters
{{DropsLineSkill|name = |namenotes = |quantity = |quantitynotes = |rarity = |raritynotes = |skill = |members = |gemw = |image = |alch = |sort = |smw = }}

Parameter details

name

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

namenotes (optional)

If extra notes need adding to the item name, use the "namenotes" parameter. This will allow the Image, gemw and other parameters to still work. If a reference needs to be added to the name this should be done here using a ref tag <ref name="refname">Reference text</ref>

quantity

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. If a range is dropped specify this with a dash as in 1-3 and if items are dropped noted add this to the quantity column as (noted) with a space between the quantity and noted.

The quantity 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.

quantitynotes (optional)

If extra notes need adding to the item quantity, use the "quantitynotes" parameter. This will allow sorting by quantity to still work. Do not use to specify noted, do this using (noted) after the number/range under "quantity". If a reference needs to be added to the quantity this should be done here using a ref tag <ref name="refname">Reference text</ref>. If a reference is being used it should use the reference group "d". For example |quantitynotes = <ref name="drop-notes" group="d">Only inside [[Armadyl's Eyrie]]</ref>

rarity

Rarity of the item. Rarity can either be a number or a category, a number is preferred.

The source for the drop chance should be provided via a reference in the raritynotes parameter. Generally it should use the reference group "drops", unless it is a citation (see RuneScape:Style guide/References and citations for more info.

number

Whether sourced from a Jagex moderator statement, or other, drop chances can be given as a rarity. They should generally be added as a fraction, e.g. 1/128, 10/512, 1/5000 etc. The module will automatically provide colours and similar. Numbers will automatically be converted to the users preference of fraction, 1 over fraction or percent.

category

Categories should be used if there's no good way to find an accurate drop chance. There are 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 or a number defaults to a white colour.

raritynotes (optional)

Used when 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 I are only dropped during that quest, items only dropped in the God wars dungeon etc). This will allow the colouring of the standard rarities to still work.

Generally these are added using a ref tag <ref name="refname" group="d">Reference text</ref>. If a reference is being used in raritynotes, generally it should use the reference group "d". For example: |raritynotes = <ref name="drop-notes" group="d">Players who previously bought this in the [[Battle of Lumbridge]] will have a greater chance of receiving this as a drop.</ref>

skill

The skill associated with the item source. Gathering skills is typical for this parameter.

members (optional)

Whether or not it is a members item. This data is pulled automatically by the module, however for abilities or other non-item drops this must be set manually. If a drop is members-only set to "yes".

gemw (optional)

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, or the alchemy/AltValue if one is specified. Possible values are "no" and "yes".

image (optional)

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. Should be formatted as Name.png with no square brackets or file prefix.

alch (optional)

Whether of not an item can be alchemised, use "no" if it cannot be alchemised. Possible values are "no" and "yes".

smw (optional)

If this is set to "No", Semantic MediaWiki output will be suppressed. This will prevent the item from being added to drop source lists generated by Template:T. Useful on historical articles, or where the monster is not reachable anymore. Template:TemplateData