Help:Templates: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
m (Reverted edits by Angelic knight (talk) to last revision by [[User:>Ruba159753|>Ruba159753]])
Tag: Rollback
(Added some editorial review templates)
Line 5: Line 5:
''For more information see: [[Wikipedia:Help:Template]]''
''For more information see: [[Wikipedia:Help:Template]]''


==For editors==
==For article markup==
Here are some templates that let you create articles using the Path of Exile look and feel.
===Items===
===Items===
* {{tlx|Item link}} - Queries and displays a single inline item link.
* {{tlx|Item link}} - Queries and displays a single inline item link.
Line 57: Line 58:
<tr><td>{{code|<nowiki>{{=}}</nowiki>}}</td><td>{{=}}</td></tr>
<tr><td>{{code|<nowiki>{{=}}</nowiki>}}</td><td>{{=}}</td></tr>
</table>
</table>
==Templates for article review and discussion==
As with any other wiki, editors will need to flag articles for review and discussion. In addition to the standard templates like {{tl|citation needed}}, there are some [[Category:Editorial review templates|other templates]] that we can use for this:
* {{tlx|Dubious}}, for material that you think may be factually incorrect or obsolete
* {{tlx|Better source needed}}, for material that has a source, but where you think that source is out-of-date or unreliable.
* {{tlx|Guesswork}}, for material that there seems to be no way to confirm, such as "The current theory is..."
* {{tlx|Discuss}}, for all those other cases where something just seems to be off.


==See also==
==See also==

Revision as of 19:47, 11 November 2021

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 article markup

Here are some templates that let you create articles using the Path of Exile look and feel.

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
{{!}}|
{{!!}}||
{{(}}{
{{((}}{{
{{(((}}{{{
{{)}}}
{{))}}}}
{{)))}}}}}
{{=}}=

Templates for article review and discussion

As with any other wiki, editors will need to flag articles for review and discussion. In addition to the standard templates like {{citation needed}}, there are some that we can use for this:

  • {{Dubious}}, for material that you think may be factually incorrect or obsolete
  • {{Better source needed}}, for material that has a source, but where you think that source is out-of-date or unreliable.
  • {{Guesswork}}, for material that there seems to be no way to confirm, such as "The current theory is..."
  • {{Discuss}}, for all those other cases where something just seems to be off.

See also

ru:Path of Exile Wiki:Обзор шаблонов