Class: ReferencePage

ReferencePage()

This class contains code common to the Structure Tree, Template Viewer, and any other "Reference Page" that may be added in the future.

Constructor

new ReferencePage()

Source:

Members

IconPath

Source:

StatsFunctions

List of functions that get the statistics of any template or entity, formatted in such a way as to appear in a tooltip. The functions listed are defined in gui/common/tooltips.js
Source:

TemplateLister

Source:

TemplateLoader

Source:

TemplateParser

Source:

activeCiv

Source:

activeCiv

Source:

civData

Source:

closePageCallback

Source:

currentTemplateLists

Source:

currentTemplateLists

Source:

Methods

setActiveCiv()

Source:

(static) buildText(template, textFunctions, joiner) → {string}

Concatanates the return values of the array of passed functions.
Parameters:
Name Type Default Description
template Object
textFunctions array
joiner string
Source:
Returns:
The built text.
Type
string