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).

Path of Exile Wiki:Overview of Templates

From Path of Exile Wiki
Jump to: navigation, search

A template is a page created to be included in other pages. Templates usually contain repetitive material that might need to show up on any number of articles or pages. They are commonly used for standard warnings or notices, infoboxes, navigational boxes and similar purposes. The most common method of inclusion is called transclusion, where the wikitext of the target page contains a reference to the template, using the {{Template name}} syntax.

Templates that are being used on a page shows up in a list at the bottom of when in editing mode or in the sidebar. They link to their main page which explains the purpose, parameters and other useful information.

For more information see: Wikipedia:Help:Template

For editors

General

  • {{abbr}} to create an html abbreviation (ex: abbreviation)
  • {{Tooltip}} is similar to {{abbr}} (ex: abbreviationa very long text)
  • {{C}} used to apply pre-defined colour/style classes to text.

Table cells

Templates that can be used to fill out table cells

Template Result
{{yes}}
yes
{{no}}
no
{{n/a}} N/A

Infoboxes

  • {{Version}} creates a version infobox and adds semantic data

Items

  • {{Item link}} is a shortcut for generating inline links to items.
    • {{Il}} shortcut
    • {{Sl}} is a shortcut for skill and support gems only
  • {{Item}} is used to create item infoboxes and add semantic data. Can partially be exported by PyPoE
  • {{SMW item table}} is used to create item tables (i.e. lists with various properties of items) for items that have been added with the item template
  • {{Item unique versions}} to create a section which list unique versions of a base item

Skills

Create characters

Can be used to avoid problems in template calls

TemplateResult
{{!}}|
{{!!}}||
{{(}}{
{{((}}{{
{{(((}}{{{
{{)}}}
{{))}}}}
{{)))}}}}}
{{=}}=

See also