Template:Uses facility list/doc

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 facility. 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 facility list |comma separated list of facility names =..."). 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)
This is a documentation subpage for Template:Uses facility list.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Uses facility list invokes function main in Module:Uses facility list using Lua.

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


Usage

{{Uses facility list
|comma separated list of facility 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 facility

{{Uses facility list|Air Altar}}

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

More than one item

{{Uses facility list|Crafting table 1, Crafting table 2}}

Failed to find products using that facility - 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 facility.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Facility1

no description

Example
Furnace
Linesuggested
Limit2

Limits the number of list items.

Default
500
Numberoptional
Offset3

Offsets the SMW search.

Default
0
Numberoptional