Documentation for Lua modules in WikiTrek

Modules

wikitrek-BeginEndPage Take parameters out of the frame and pass them to p._buildUniversalIncipit().
wikitrek-CaseExpander Parses a CasesList page and returns structured case data Reads a template's /CasesList subpage and creates mappings for codes, aliases, and expansions.
wikitrek-DTBase Return a URL for the external IDentifier
wikitrek-DTFunzioniComuni Function to convert ISO code to language name in Italian
wikitrek-DTGenerico Function to expand template contained within description, if present
wikitrek-DTSem Take parameters out of the frame and pass them to p._buildUniversalIncipit().
wikitrek-DTSpecific generates a list of backlink using SMW query.
wikitrek-FunzioniGeneriche Returns the color to use in CSS for the text depending on the luminance of the background
wikitrek-Images Take parameters out of the frame and pass them to p._buildUniversalIncipit().
wikitrek-Locations Take parameters out of the frame and pass them to p._buildUniversalIncipit().
wikitrek-Stardate Constants Epoch: Stardate 41000.0 = 1 January 2364 (day 1 of the year)
generated by LDoc 1.0 Last updated 2026-02-01 17:16:47