Template:Profitable alchemy list/doc

From RuneRealm Wiki
Jump to navigation Jump to search
This is a documentation subpage for Template:Profitable alchemy list.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Profitable alchemy list invokes function main in Module:Profitable alchemy list using Lua.

About

This template is used to generate a descending list of the most profitable high alchemy items within the bounds provided of minimum buy limit and minimum volume allowing for free-to-play only or all items. It returns a plain text list delimited by commas for use with the MediaWiki explode command.

Usage

{{Profitable alchemy list
|num      = <!-- The number of items to return, 15 will return 15 item names. Defaults to 1 --> 
|buylimit = <!-- The minimum GE buy limit, anything below will be excluded from the list. Defaults to 0 -->
|volume   = <!-- The minimum GE volume, anything below will be excluded from the list. Defaults to 0 -->
|f2p      = <!-- Limits the items returned to those only available in free-to-play. Otherwise both members and free-to-play items are listed. Defaults to false -->
}}

Examples

{{Profitable alchemy list|num=17|buylimit=30|volume=180|f2p=yes}}

,Rune platelegs,Rune 2h sword,Rune battleaxe,Rune sq shield,Rune plateskirt,Adamant platebody,Rune kiteshield,Rune platebody,Rune warhammer,Rune full helm,Rune longsword,Rune chainbody,Rune med helm,Rune axe,Green d'hide body,Rune mace,Rune pickaxe

Quick copy

{{Profitable alchemy list|num=|buylimit=|volume=|f2p=}}

Template 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.

Generates a descending list of the most profitable high alchemy items within the bounds provided as a plain text list delimited by commas for use with the MediaWiki explode command.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Number of itemsnum

The number of items to return, 15 will return 15 item names.

Example
1
Numberrequired
Buy limit minimumbuylimit

The minimum GE buy limit, anything below will be excluded from the list.

Example
0
Numberrequired
Volume minimumvolume

The minimum GE volume, anything below will be excluded from the list.

Example
0
Numberrequired
F2P onlyf2p

Limits the items returned to those only available in free-to-play. Otherwise both members and free-to-play items are listed.

Example
no
Booleanoptional