Template:Uses tool list/doc

From RuneRealm Wiki

This is an old revision of this page, as edited by Alex (talk | contribs) at 00:54, 17 October 2024 (Created page with "{{Documentation}} 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. <!--These mw.pages don't use it for various reasons: Eodan, Tanner, Catalytic tiara, Bucket of sap, Fancy Clothes Store, Strange Machine, Anvil--> ==Usage== <pre> {{Uses tool list |comma separated list of tool names = <!-- (Option..."). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:Uses tool list.
It contains usage information, categories, and other content that is not part of the original template page.
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

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