Template:Item: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m 1 revision imported |
(No difference)
|
Latest revision as of 00:42, 2 August 2024
Template loop detected: Template:Item/doc
{{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
- See Category:Items missing UUID for a list of items missing UUID param
TemplateData
Used on items that are implemented in game data
Parameter | Description | Type | Status | |
---|---|---|---|---|
UUID | uuid | UUID of an item
| String | required |
Name | name | Name of an item
| String | suggested |
Image | image | Image of the item on the wiki (without the File: prefix)
| Unknown | suggested |
Manufacturer | manufacturer | Code of manufacturer of the item
| String | suggested |