Template:Term: Difference between revisions
From Space Station 14 Wiki
support for custom term text |
styles; added lua badge |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke: Terms|main|{{{1}}}}}</includeonly><noinclude> | <includeonly><templatestyles src="Template:Term/styles.css"></templatestyles><!-- | ||
{{docs}} | |||
-->{{#invoke: Terms|main|{{{1}}}}}</includeonly><noinclude> | |||
{{docs|bb= | |||
{{uses lua|Term}} | |||
{{uses template styles}} | |||
}} | |||
[[Category:Term templates]] | [[Category:Term templates]] |
Revision as of 21:32, 14 March 2025
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
↓
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 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Term | 1 | Term to lookup. | Line | required |
Term replacement | 2 | A text to replace the term with.
| Line | suggested |