Template:Item

From IxWiki
Jump to navigation Jump to search

{{Item}} is a template used on items that are implemented in game data.

Purpose

It is an universal template that does multiple things:

  • Retrieve all related game data of an item from the Star Citizen Wiki API
  • Set all the related data into the SMW properties of a page (e.g. Eos)
  • Output an infobox
  • Set the categories
  • Set a short description

Usage

In order for the template to work properly, a uuid value is recommended. uuid can be found in game data or through community tools that use game data, such as the Universal Item Finder (at the end of the URL).

Related templates

The following templates require {{Item}} to be on the page to work properly:

Template Purporse
{{Item description}} Output the game description of the item
{{Item ports}} Output a list of ports of the item
{{Item variants}} Output a list of variants of the item

Maintenance

TemplateData

Used on items that are implemented in game data

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
UUIDuuid

UUID of an item

Example
08a5bfdb-1972-421f-83fe-be03b7ac5222
Stringrequired
Namename

Name of an item

Example
Eos
Stringsuggested
Imageimage

Image of the item on the wiki (without the File: prefix)

Example
RSI_-_Eos_-_Grey_background.png
Unknownsuggested
Manufacturermanufacturer

Code of manufacturer of the item

Example
RSI
Stringsuggested