GW2 Wiki English Mirror:Semantic MediaWiki/General properties

From GW2 Wiki English Mirror
Jump to navigationJump to search

These properties are in general use by multiple categories of pages.

Property:Has canonical name

Purpose
Identifies the in-game name of the subject. Storing this as a property provides a simple, reliable method of creating a link to the page that does not display any disambiguation suffix (the "pipe trick" is often unreliable in templates; it's possible for a subject to exist whose name includes parentheses in-game, thus confusing any method that uses StringFunctions).
Applies to
Everything. All infoboxes will set the value as {{{name|{{PAGENAME}}}} since we already use name to define the infobox header on disambiguated pages.
Has type
String
Allows values
Unrestricted

Property:Has game id

Purpose
Stores the subject's in-game ID number.
Applies to
Items, skills, traits, locations (waypoints and points of interest only), recipes
Has type
Number
Allows values
Unrestricted

Property:Has game description

Purpose
Stores the subject's in-game description, including wiki markup.
Applies to
Anything
Has type
Text
Allows values
Unrestricted

Property:Has game icon

Purpose
Stores the filename of the subject's in-game icon for easy retrieval.
Applies to
Anything
Has type
Page
Allows values
Unrestricted

Property:Has appearance

Purpose
Stores the filename of the primary in-game appearance of the subject, excluding galleries.
Applies to
NPCs, weapons, locations, events, hearts
Has type
Page
Allows values
Unrestricted (possibly multi-valued)

Property:Is for profession

Purpose
Identifies the profession with which a subject is associated.
Applies to
Anything
Has type
String
Allows values
  • Elementalist
  • Engineer
  • Guardian
  • Mesmer
  • Necromancer
  • Ranger
  • Thief
  • Warrior
  • Any

Property:Is for race

Purpose
Identifies the race with which a subject is associated.
Applies to
Anything that is race-specific
Has type
Page
Allows values
  • Asura
  • Charr
  • Human
  • Norn
  • Sylvari

Property:Is historical

Purpose
Identifies subjects that are not present in the current version of the game. Used to filter result sets to live data only.
Applies to
Everything. Infoboxes should accept the parameter historical, which will default to N. A value of 'Y' will trigger the infobox to display the Template:Historical content notice and disable auto-categorization.
Has type
Boolean
Allows values
Y/N

Property:Located in

Purpose
Identifies the lowest-level division that a subject exists within. For most subjects outside the location hierarchy (NPCs, events, etc.), this will be one or more areas. Certain special cases, like meta events, will instead list a zone
Applies to
Anything that can be assigned a location, including events.
Has type
Page
Allows values
Unrestricted, but is expected to be a region, zone, or area.