Template:Cite historian

From Starsector Wiki
Jump to navigation Jump to search

This template is used to format citations to the bar historian in Starsector. It invokes a Lua module to output the requested mission. The template is a simplified version of Ace Combat Wiki's Cite game template.

The historian texts are found in rules.csv and referenced from com.fs.starfarer.api.impl.campaign.intel.bar.events.historian.HistorianBackstory in the Starsector API. The numbers correspond to the rules.csv rows, while the names up to item #16 are taken from comments in the API file. Note that the numbers in the module are equal to the rules.csv numbers plus one, due to the rules numbers starting at zero.

Usage

For the first reference on the page (example using the second historian backstory text, "Infernium"):

<ref name="Historian2">{{Cite historian|2}}</ref>

For all subsequent references:

<ref name="Historian2"/>

Parameters

Parameter Required? Usage
1 Yes The number of the historian backstory entry. See Module:Cite historian/data

Modules

This template invokes the following Lua modules depending on the template's usage: