Template:Term: Difference between revisions
mw push |
mw push |
||
| Line 1: | Line 1: | ||
{{#if:{{{1|}}} | {{#if:{{{1|}}} | ||
| {{#ifexist:Term:{{{1}}} | | {{#ifexist:Term:{{{1}}} | ||
| [[Term:{{{1}}}|{{#tag:span|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}{{#tag:span|{{Term:{{{1}}}|mode=short}}|class=term__card mw-term__card|role=tooltip|style=display:none;}}|class=term mw-term | | [[Term:{{{1}}}|{{#tag:span|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}{{#tag:span|{{Term:{{{1}}}|mode=short}}|class=term__card mw-term__card|role=tooltip|style=display:none;}}|class=term mw-term}}]] | ||
| {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}} | | {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}} | ||
}} | }} | ||
Latest revision as of 22:33, 25 February 2026
Editor usage:
{{term|BGP}}
Optional display text:
{{term|Autonomous System|AS}}
Behavior:
- If
Term:<name>exists, this renders a link with a hover card using the term's short definition. - If it does not exist, this renders plain text (no red link).