Module:Terms

From Space Station 14 Wiki
Revision as of 20:30, 14 March 2025 by Aliser (talk | contribs) (Aliser moved page Module:Terms to Module:Term: Misspelled title)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Redirect page
Module documentation
View or edit this documentation (about module documentation)
Uses JSON data
This module uses JSON data pages:

Implements {{Term}}.

Tests

Module:Term/testcases/keys - test whether keys in the JSON file are properly spelled (lowercase).

✅ All tests passed.

Name Expected Actual
test_keys_casing


Adding new terms

Go to the JSON file linked at the top of this page.

That file contains definitions for terms.

Term is defined with a lowercase key and an object value.

The object value has following format:

{
	"display": "[optional] what to display, for example: LRP",
    "definition": "term definition",
    "link": "[optional] a page to link the term to",
}

Note that at least a definition or a link should be provided for a term.


return require [[Module:Term]]