Template:Faction

From IxWiki
Revision as of 16:51, 6 May 2024 by sc>Alistair3149 (Created page with "<includeonly><!-- -->{{#invoke:Faction|main}}<!-- --></includeonly><noinclude> {{/doc}} </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

TemplateData

Used on factions that are implemented in game data

Template parameters

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