Predecessor Wiki:Item Pages Guide

From Predecessor Wiki
Jump to navigation Jump to search

This is a page layout guide for Items. All item pages should follow the standards of this guide.

Feel free to discuss improvements to this guide through this page's Talk page or the wiki's Discord server.

This page uses {{Item}} which displays premade sections generated from an item's Lua data. Please view the template's documentation for more info.

  • The template expects there to be data written within the Lua data module linked on the template's documentation.
  • The <item> parameter of the template is optional, and is automatically retrieved based on the name of the page it's placed on.
    • For example: If the {{Item|infobox}} template is used on Omen's page, it will automatically retrieve Omen's name by grabbing the name of the page. This produces the equivalent of {{Item|infobox|Omen}}.

Infobox

{{Item|infobox}}
  • This should be written at the top of the page above all other elements.
    • If it is placed below another element, there will be a gap between the infobox and the top of the page which isn't desired.

Introduction

'''<item name>''' is a [[Items|<item type> item]] in [[Predecessor]].
  • For example: [[Items|Tier 2 item]]

Recipe

==Recipe==
{{Item|recipe}}
  • This section be left out if it is not an item with a recipe.

Effects

==Effects==
{{Item|effects}}

Patch History

Note: This format will be deprecated and improved upon in the future. Please follow the format below for the time being.
==Patch History==
{{patchnotes|
{{Label|default|[[Patch History/<version_name>|<version_name>]]}}
* Change 1.
* Change 2.
* etc.
  • Separate each change that relates to the item with an asterisk.

List of Items

{{Item|list}}
  • Place this at the very bottom of the page.
  • The heading is automatically generated as a collapsible element. Do not write the header for it.

Categories

{{Item|categories}}
  • This automatically generates the categories needed for the item based off its data. Please do not add any custom category to it without consulting the wiki team.
  • This can be placed anywhere on the page, but it is preferably placed at the bottom.