Difference between revisions of "Template:Term"

From SEBoK
Jump to navigation Jump to search
(Reverted edits by WikiWorks (talk) to last revision by WikiWorks753)
Tag: Rollback
Line 6: Line 6:
 
  <nowiki>{{Term|Some glossary term page|Display text}}</nowiki>
 
  <nowiki>{{Term|Some glossary term page|Display text}}</nowiki>
  
</noinclude><includeonly><span class="noprint"><!--
+
</noinclude><includeonly><!--
 
-->{{#if:{{{2|}}}|<!--
 
-->{{#if:{{{2|}}}|<!--
 
---->[[{{{1|}}}|{{#tip-text:{{{2}}}|{{#lsth:{{{1|}}}}}}}]]<!--
 
---->[[{{{1|}}}|{{#tip-text:{{{2}}}|{{#lsth:{{{1|}}}}}}}]]<!--
Line 12: Line 12:
 
---->[[{{{1|}}}|{{#tip-text:{{lc:{{#replace:{{{1|}}}|(glossary)|}}}}|{{#lsth:{{{1|}}}}}}}]]<!--
 
---->[[{{{1|}}}|{{#tip-text:{{lc:{{#replace:{{{1|}}}|(glossary)|}}}}|{{#lsth:{{{1|}}}}}}}]]<!--
 
-->}}<!--
 
-->}}<!--
--></span></includeonly>
+
--></includeonly>

Revision as of 21:59, 2 October 2019

Renders tooltip-ed link to a glossary term, usage:

{{Term|Some glossary term page}}
{{Term|Some glossary term page|Display text}}