Status bar module for IITC that displays both map and portal status information. Provides a template-based rendering system that can be customized by plugins.
Namespaces
Members
-
static mapTemplates :Object.<string, string>
-
Templates for map status HTML elements
-
static portalTemplates :Object.<string, string>
-
Templates for portal status HTML elements
Methods
-
static init()
-
Initializes the statusbar system Called after IITC boot process is complete
-
static renderTemplate(template, replacements) → {string}
-
Renders a template string by replacing placeholders with actual values.
Parameters:
Name Type Description template
string Template string with placeholders in format {{ name }}
replacements
Object Key-value pairs where keys match placeholder names
Returns:
string -Rendered HTML with placeholders replaced by values
Example
// Returns: "<span>Hello World</span>" IITC.statusbar.renderTemplate("<span>{{ greeting }}</span>", { greeting: "Hello World" });