Template:Uses tool list

From RuneRealm Wiki
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:Uses tool list/doc. [edit] [history] [purge]
Template:Uses tool list invokes function main in Module:Uses tool list using Lua.

This template is used to generate a list of items or objects that use a specific tool. This accepts a comma separated list of names and will seek out to find the list of products available.


Usage

{{Uses tool list
|comma separated list of tool names      = <!-- (Optional) String list of names; Defaults to page name -->
|limit                                   = <!-- (Optional) Limit of items rendered; Defaults to 500 -->
|offset                                  = <!-- (Optional) Offset SMW search; Defaults to 0 -->
}}

Examples

One tool

{{Uses tool list|Axe}}

Failed to find products using that tool - ensure it is spelled correctly. (ERR: no results from SMW)

More than one item

{{Uses tool list|Knife, Axe}}

Failed to find products using that tool - ensure it is spelled correctly. (ERR: no results from SMW)

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.

This template is used to generate a list of items or objects that use a specific tool.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Tool1

no description

Example
Hammer
Linesuggested
Limit2

Limits the number of list items.

Default
500
Numberoptional
Offset3

Offsets the SMW search.

Default
0
Numberoptional
Template:Uses tool list invokes Module:Uses tool list using Lua.