Help:Templates

From Path of Exile Wiki
Revision as of 12:04, 4 February 2018 by >Illviljan
Jump to navigation Jump to 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

Items

  • {{Item link}} - Queries and displays a single inline item link.
    • {{Il}} shortcut
    • {{Sl}} is a shortcut for skill and support gems only
  • {{Item}} is used to create item infoboxes and add cargo data. Can partially be exported by PyPoE
  • {{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
  • {{Skill}} to enter non-item skill data (for skill gems use {{Item}})
  • {{Skill progression}} to fetch skill progression from semantic data entered with {{Skill}}
  • {{Skill enchantment modifier list‎‎}} to create a page section containing a modifier list for skill enchantments

Modifiers

  • {{Mod}} - Creates mod infoboxes with cargo data.
  • {{Modifier table}} - Queries and displays modifier tables.
  • {{Modifier link}} - Queries and displays a single inline modifier link.
    • {{Ml}} - Shortcut

Infoboxes

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

General

  • {{abbr}} to create an html abbreviation (ex: abbreviation)
  • {{Tooltip}} is similar to {{abbr}} (ex: abbreviation a 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}}
{{no}}
{{n/a}} N/A

Create characters

Can be used to avoid problems in template calls

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

See also