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 mod table

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


This template is responsible for creating a html table row of versions.

It will format the row using these rules:

  • The first two arguments are turned into a cell with a link to mod page, i.e. [[{{{1}}}|{{{2}}}]]
  • Any additional arguments are added as single cell
  • At the end a cell containing the tags will be added


In SMW ask queries, specify the following:

 [[Has name::+]]
 |?Has name
 |template=SMW mod table
 |outrotemplate=SMW mod table/outro


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 Default
extra_rows number of extra rows 0
show_tags Whether to show the spawn weight/tags

Note: This is CPU intensive and increases load time massively.

type Display type, recognized types other then default are:
  • jewel
  • map
effect_rowid Used for type=map to break the effects down into IIR/IIQ/Pack size columns. Required when using type=map 0

Sub Templates




<table class="wikitable">
 [[Has name::+]]
 |?Has name
 |template=SMW mod table
 |outrotemplate=SMW mod table/outro


{{#ask: Has name::+ |?Has name |link=none |limit=2 |format=template |template=SMW mod table |outrotemplate=SMW mod table/outro |searchlabel= }}

Building Templates

In order to stream line how the tables and the headers are displayed on different mod pages, please setup new templates when applicable.

Template:SMW mod table/th/ For single header cells used by multiple intros to streamline the things
Template:SMW mod table/intro/ For complete header templates including the table, th and tr tags

Header cells

Location Result
SMW mod table/th/name
SMW mod table/th/effect
SMW mod table/th/level requirement
For generated item/monster modifiers the minimum item/monster level respectively. Some generation types may not require this condition to be met, however item level restrictions may be raised to 80% of this value.
SMW mod table/th/mod group
Mod Group
SMW mod table/th/spawn weight
Spawn Weighting
The above documentation is transcluded from Template:SMW mod table/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.