Predecessor Wiki:Hero Pages Guide

From Predecessor Wiki
Jump to navigation Jump to search

This is a page layout guide for Heroes. All hero 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 {{Hero}} which displays premade sections generated from a hero'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 <hero> 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 {{Hero|infobox}} template is used on Argus' page, it will automatically retrieve Argus' name by grabbing the name of the page. This produces the equivalent of {{Hero|infobox|Argus}}.

Infobox

{{Hero|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.

Quote

{{Quote|<quote here>|<hero name>}}
  • Provide an interesting quote from the hero's in-game dialogue, such as their catchline or a popular phrase.

Introduction

'''<hero name>''' is a playable character in [[Predecessor]].

Statistics

==Statistics==
{{Hero|statistics}}

Abilities

==Abilities==
{{Hero|abilities}}
  • Notes can be added to specific abilities using parameters. Please read the "Ability Notes" section within the {{Hero}} documentation.

Recommended Items

==Recommended Items==
{{Hero|recommended}}

Cosmetics

Note: This will be deprecated in the future and moved onto a subpage of the hero with an improved format. Please follow the format below for the time being.
==Cosmetics==
<tabber>
|-|Skins=
{{Skin
|skin name       = 
|image render    = 
|image ingame    = 
|release date    =
|platinum cost   = 
|rarity          = 
|is default      = 
}}
|-|Banners=
{{Tile|<image>.png|<banner name>||332|108}}
</tabber>
  • Please refer to the {{Skin}} and {{Tile}} templates for more information on how to use them.

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 hero with an asterisk.

List of Heroes

{{Hero|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

{{Hero|categories}}
  • This automatically generates the categories needed for the hero 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.