Help:Templates: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>TheFrz
mNo edit summary
>Illviljan
No edit summary
Line 6: Line 6:


==For editors==
==For editors==
===Items===
* {{tlx|Item link}} - Queries and displays a single inline item link.
** {{tlx|Il}} shortcut
** {{tlx|Sl}} is a shortcut for skill and support gems only
* {{tlx|Item}} is used to create item infoboxes and add cargo data. Can partially be exported by [[PyPoE]]
* {{tlx|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
* {{tlx|Skill}} to enter non-item skill data (for skill gems use {{tlx|Item}})
* {{tlx|Skill progression}} to fetch skill progression from semantic data entered with {{tlx|Skill}}
* {{tlx|Skill enchantment modifier list‎‎}} to create a page section containing a modifier list for skill enchantments
===Modifiers===
* {{tlx|Mod}} - Creates mod infoboxes with cargo data.
* {{tlx|Modifier table}} - Queries and displays modifier tables.
* {{tlx|Modifier link}} - Queries and displays a single inline modifier link.
** {{tlx|Ml}} - Shortcut
===Infoboxes===
* {{tlx|Version}} creates a version infobox and adds cargo data


===General===
===General===
Line 24: Line 42:
| {{tlx|n/a}} || {{n/a}}
| {{tlx|n/a}} || {{n/a}}
|}
|}
===Infoboxes===
* {{tlx|Version}} creates a version infobox and adds semantic data
===Items===
* {{tlx|Item link}} is a shortcut for generating inline links to items.
** {{tlx|Il}} shortcut
** {{tlx|Sl}} is a shortcut for skill and support gems only
* {{tlx|Item}} is used to create item infoboxes and add semantic data. Can partially be exported by [[PyPoE]]
* {{tlx|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
* {{tlx|Item unique versions}} to create a section which list unique versions of a base item
===Skills===
* {{tlx|Skill}} to enter non-item skill data (for skill gems use {{tlx|Item}})
* {{tlx|Skill progression}} to fetch skill progression from semantic data entered with {{tlx|Skill}}
* {{tlx|Skill enchantment modifier list‎‎}} to create a page section containing a modifier list for skill enchantments


===Create characters===
===Create characters===

Revision as of 12:04, 4 February 2018

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