Help:Templates: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>TheFrz
mNo edit summary
>TheFrz
mNo edit summary
(No difference)

Revision as of 20:14, 20 November 2016

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: 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

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