Template:Disassembly

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Template documentation
This documentation is transcluded from Template:Disassembly/doc. [edit] [purge]
Template:Disassembly invokes Module:Disassemble using Lua.

Used for information on breaking down items. For 'default' and other categories, see #category

Usage

Category and level (preferred format)
{{Disassembly
|category = The category the item falls under
|level = The level of the item (details below)
|special = any special components received, including amount; otherwise, remove
|specialchance = whether or not special components are guaranteed
|returnsitems = items that are returned after disassembly, if any (omit if none)
}}
If no category exists
{{Disassembly
|xp = experience given
|junk = junk chance
|itemqty = the number of items needed to disassemble; default 1, 50 for most ammo, etc
|compqty = the total number of components received each disassemble, NOT INCLUDING special
|special = comma separated, list of 'special' rarity components
|specialchance = whether or not special components are guaranteed
|often = comma separated, list of 'often' rarity components
|sometimes = comma separated, list of 'sometimes' rarity components
|rarely = comma separated, list of 'rarely' rarity components
}}

category

Most items fall under a category of disassembly, sharing the list of components with many other items. The category parameter can be used to prefill certain parameters. To see what categories exist and what they fill, see Template:Disassembly/categories.

junk and xp versus level

Every item's junk and experience are a function of the item's level. In general, level is determined by, for example:

  • Equipment: the level to equip the item
    • Bolts and arrows are half of the level required; e.g. ascension bolts behave as level 45
  • Summoning pouches and scrolls: the level required to create the item
  • Potions: the level required to create the item
  • Divination items: the level required to create the item

It is preferable to use the level parameter along with the category parameter to fill out this template. Additional categories for this template can be suggested on Template talk:Disassembly.

Materials lists

If not using a predefined category, every material should be listed in a comma separated list. The list is case insensitive and ignores 'parts' and 'components'.

Special components

Special components have two associated parameters: special and specialchance.

special

special is an expanded version of the materials list format used by often etc. It uses the format special = name[number] to specify the name of the material and the number obtained per disassembly. If more than one possible special material is returned, it accepts this comma-separated: special = name[number],name[number].

If the chance of receiving the material is known (and not 100%), the chance can be provided in the following format: special = name[number]{chance}. This can be comma-separated like before. Both version can use spaces instead of brackets as separators, if desired: eg special = name number chance,name number chance.

specialchance

specialchance defines whether special materials are guaranteed. If the item is guaranteed to give a special material, set specialchance = true. If the special material is not guaranteed, set specialchance = false. (yes, no, 1, 0 also accepted.)

Returned items

Some items return an item when disassembled. This is specified with the returnsitems parameter. This should be the exact page name of the returned item. It also accepts a semicolon-separated list of items, should many be returned.

Calculators

Several calculators - including the on-page calculator, Calculator:Disassembly by category, and Calculator:Disassembly by material - use the calcvalue parameter to override the price of the item for use. It will also make untradeable items appear there.

This parameter is only to be used to override the price, not to define the price. Almost always should be used for untradeable items only. Generally only use it for items that are worthwhile to disassemble that aren't just derivatives of other, identical items.

For example, noxious staff (blood), abyssal whip (blue), and rune heraldic helm (Guthix) should not use the parameter as these are just versions of a tradeable item (with identical disassembly) that cost more/are awkward to obtain. If you were to disassemble these items, you should instead disassemble the normal version. On the other hand, rings of slaying have a distinct value (a gold bar plus one coin) and aren't a version of something else (primarily because enchanted gems are a different category).

Varying material quantity

For potions, the amount of components varies by dose. In this case, the calcvalue parameter should be set to the price of making one of the potion (usually 3 dose vials or 6 dose crystal flasks); additionally use the calccomp parameter to specify how many components this gives (usually equal to the number of doses).

Augmented items

By setting augmented to a true value, the calculators will know that the item is augmented and adjust the prices and chances accordingly (as levelled augmented items have no junk and have multipliers for the number of materials given). The default for calculators is to use a level 9 item (no junk and 4x materials, the maximum), but giving options for all levels may also be done.

Tracking categories

Standard
Special
Calculators
Tracking
Semantic MediaWiki

Currently, only Property:Junk chance is set by this template.

Example

Using category

If it's in a category:

{{Disassembly
|category = magic legs
|level = 90
|special = Rumbling components[5]
|specialchance = yes
}}
Returning items
{{Disassembly
|category = magic legs
|level = 85
|special = Shadow components[1]
|specialchance = yes
|returnsitems = Anima Core legs of Sliske;Abyssal whip
}}
No category definition
{{Disassembly
|level = 15
|category=no
|itemqty = 100
|compqty = 9
|special = Silent components[3], Zamorak components[1]
|specialchance = yes
|often = Simple parts, Blade parts
|sometimes = Strong components
|rarely = Variable components, Precise components
}}

Blank template

{{Disassembly
|level = 
|category = 
|special = 
|specialchance = 
}}

Data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

For adding disassembly information to an item page

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Levellevel

The level to equip (equipment) or create (pouches/scrolls/potions/divination) the item. For arrows/bolts, enter half of the level required to equip them.

Default
empty
Example
45
Auto value
empty
Numbersuggested
Categorycategory

The category that the item falls under ("none" for none). See Template:Disassembly/categories for what categories exist.

Default
none
Example
empty
Auto value
empty
Stringsuggested
Itemqtyitemqty

Total number of items needed to disassemble. Usually 1, but for bolts/arrows it could be 50 etc.

Default
empty
Example
empty
Auto value
empty
Numberoptional
Compqtycompqty

Total number of components received per disassembly excluding special components.

Default
empty
Example
empty
Auto value
empty
Numberoptional
Specialspecial

Any special components received, in format: name[amount]{chance}. Chance can be omitted.

Default
empty
Example
Ascended components[5]
Auto value
empty
Stringsuggested
Specialchancespecialchance

Whether or not special components are guaranteed (yes/no)

Default
empty
Example
empty
Auto value
empty
Stringsuggested
Returnsitemsreturnsitems

Items that are returned after disassembly. Should be exact page names separated by semi-colons.

Default
empty
Example
empty
Auto value
empty
Stringoptional
Oftenoften

Comma-separated list of 'Often' rarity components.

Default
empty
Example
empty
Auto value
empty
Stringoptional
Sometimessometimes

Comma-separated list of 'Sometimes' rarity components.

Default
empty
Example
empty
Auto value
empty
Stringoptional
Rarelyrarely

Comma-separated list of 'Rarely' rarity components.

Default
empty
Example
empty
Auto value
empty
Stringoptional