Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 21:51, 6 May 2024 by imported>Alistair3149 (Created page with "<includeonly><!-- -->{{#invoke:Faction|main}}<!-- --></includeonly><noinclude> {{/doc}} </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Template loop detected: Template:SC/Faction/doc
The above text is transcluded from Template:SC/Faction/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:SC/Faction/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

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>