Term Definitions: Difference between revisions
mw push |
mw push |
||
| Line 24: | Line 24: | ||
* If <code>Term:Name</code> does not exist, it renders plain text with no red link. | * If <code>Term:Name</code> does not exist, it renders plain text with no red link. | ||
* Updating a term's <code>short</code> definition updates all inline tooltips that use that term. | * Updating a term's <code>short</code> definition updates all inline tooltips that use that term. | ||
[[Category:Documentation]] | |||
Latest revision as of 00:14, 1 March 2026
This wiki uses two templates for inline technical terms:
{{term|Name}}for inline references inside normal pages{{TermDefinition}}on eachTerm:Namepage to store the definition
Editor workflow
1. Create a term page, for example Term:BGP.
2. Add:
{{TermDefinition
| short = One-sentence definition used in inline tooltips.
| long = Optional expanded explanation for readers visiting the term page.
| mode = {{{mode|view}}}
}}
3. Reference the term in content:
{{term|BGP}}
Behavior
- If
Term:Nameexists,{{term|Name}}renders a linked inline term with a tooltip. - If
Term:Namedoes not exist, it renders plain text with no red link. - Updating a term's
shortdefinition updates all inline tooltips that use that term.