Template:Term: Difference between revisions

From Space Station 14 Wiki
Aliser (talk | contribs)
No edit summary
Aliser (talk | contribs)
support for custom term text
Line 11: Line 11:
"type": "line",
"type": "line",
"required": true
"required": true
},
"2": {
"label": "Term replacement",
"description": "A text to replace the term with.",
"example": "medium-roleplay (for MRP term)",
"type": "line",
"suggested": true
}
}
},
},
"description": "Lookups a definition for a term. Generates a term string with a tooltip with that term's definition.",
"description": "Lookups a definition for a term. Generates a term string with a tooltip with that term's definition.",
"paramOrder": [
"paramOrder": [
"1"
"1",
"2"
],
],
"format": "inline"
"format": "inline"

Revision as of 21:16, 14 March 2025

Template documentation
view or edit this documentation about template documentation

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.

Linerequired
Term replacement2

A text to replace the term with.

Example
medium-roleplay (for MRP term)
Linesuggested