Template:Uses tool list/doc: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
(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...")
 
No edit summary
 
Line 3: Line 3:
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.
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]]-->
<!--These pages don't use it for various reasons: [[Eodan]], [[Tanner]], [[Catalytic tiara]], [[Bucket of sap]], [[Fancy Clothes Store]], [[Strange Machine]], [[Anvil]]-->


==Usage==
==Usage==

Latest revision as of 12:06, 17 October 2024

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