Template:SC/Faction/doc
More actions
- This template doesn't have any documentation yet! Help out by writing some. There may also be documentation on Wikia Templates which can be copied.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:SC/Faction/doc/doc. (View all subpages of this page.)
{{Faction}} is a template used on factions that are implemented in game data.
Purpose
It is an universal template that does multiple things:
- Retrieve all related game data of a faction from the Star Citizen Wiki API
- Set all the related data into the SMW properties of a page (e.g. Nine Tails)
- 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.
Maintenance
- See Category:Items missing UUID for a list of items missing UUID param
TemplateData
<templatedata> { "params": { "uuid": { "type": "string", "required": true, "suggested": true, "label": "UUID", "description": "UUID of an item", "example": "08a5bfdb-1972-421f-83fe-be03b7ac5222" }, "name": { "type": "string", "suggested": true, "label": "Name", "description": "Name of an item", "example": "Eos" }, "image": { "suggested": true, "label": "Image", "description": "Image of the item on the wiki (without the File: prefix)", "example": "RSI_-_Eos_-_Grey_background.png" } }, "description": "Used on factions that are implemented in game data", "format": "block" } </templatedata>