A large portion of relevant modules/templates have now been switched to cargo. Various usages of SMW throughout the wiki need to be replaced by the new functions, in particular item tables. If some pages do not show up but contain no errors, please null-edit them. To see how you can help with the port check out Path_of_Exile_Wiki:To-do_list/SMW_migration (and leave a comment on the talk page if you have questions).

Template:SMW item table/ul/basic/row

From Path of Exile Wiki
Jump to: navigation, search
[view] [edit] [history] [purge] Documentation icon Template documentation

Overview

This template creates a basic item list using Template:Item link.

Usage

In SMW ask queries, specify the following:

 |?Has name
 |?Has inventory icon
 |?Has infobox HTML
 |link=none
 |format=template
 |template=SMW item table/ul/basic/row
 |named args=yes

Each of the name, inventory icon or HTML parameters can be omitted to build a shorted listed. For instance:

 |?Has name
 |link=none
 |format=template
 |template=SMW item table/ul/basic/row
 |named args=yes

Will only produce a link against the pages without the infobox and icon.

Parameters

The parameters for this template must be supplied in the userparam parameter of the ask query.

There are two strict rules:

  • Format: argument=value
  • Separation: ,  (comma AND backspace)
Parameter Description
format the format to use:
  • if not specified, uses *
  • none: uses only the link
  • li: uses <li></li> tags
The above documentation is transcluded from Template:SMW item table/ul/basic/row/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.