Template:Term: Difference between revisions

From Space Station 14 Wiki
Aliser (talk | contribs)
styles; added lua badge
Aliser (talk | contribs)
improved term param desc
 
Line 13: Line 13:
"1": {
"1": {
"label": "Term",
"label": "Term",
"description": "Term to lookup.",
"description": "Term to lookup. Any casing is allowed.",
"type": "line",
"type": "line",
"required": true
"required": true

Latest revision as of 21:44, 14 March 2025

Template documentation
view or edit this documentation about template documentation
Uses Lua module
This template uses Lua module:
Uses template styles
This template uses template styles found in:

Adding new terms

See Module:Term for details.

Example usage

Term with a definition only

{{term|mrp}}

MRPMedium Role Play is a type of server that has stricter rules and higher roleplay requirements, compared to Light Role Play servers.

Unknown term

Makes underline red and adds page to Category:Pages with terms without definition.

{{term|this term is unknown}}

this term is unknownNo definition found for this term (this term is unknown). Make sure the term is spelled correctly and is defined in the terms JSON file in the Module:Term.

List of all terms

See Template:Term/doc/all terms.

Lookups a definition for a term. Generates a term string with a tooltip with that term's definition.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Term1

Term to lookup. Any casing is allowed.

Linerequired
Term replacement2

A text to replace the term with.

Example
medium-roleplay (for MRP term)
Linesuggested