Difference between revisions of "Template:Term"

Line 1: Line 1:
<noinclude>Links to the specified term on [[Meta:Terminology]]. Also gives the link the "terminology" class, which can be used to change its appearance in certain contexts.
+
<noinclude>Links to the specified term on [[Meta:Terminology]]. Also surrounds the link in a span tag with the "terminology" class, which can be used to change its appearance in certain contexts.
  
 
*<nowiki>{{Term|foo}}</nowiki>
 
*<nowiki>{{Term|foo}}</nowiki>
Line 6: Line 6:
 
*<nowiki>{{Term|foo|bar}}</nowiki>
 
*<nowiki>{{Term|foo|bar}}</nowiki>
 
**<nowiki>[[Meta:Terminology#foo|bar]]</nowiki>
 
**<nowiki>[[Meta:Terminology#foo|bar]]</nowiki>
***[[Meta:Terminology#foo|bar|rel=terminology]]
+
***[[Meta:Terminology#foo|bar]]
</noinclude><includeonly>[[Meta:Terminology#{{{1|}}}|{{{2|{{{1|}}}}}}]]</includeonly>
+
</noinclude><includeonly><a class="terminology" href="Meta:Terminology#{{{1|}}}">{{{2|{{{1|}}}}}}</a></includeonly>

Revision as of 00:18, 15 March 2017

Links to the specified term on Meta:Terminology. Also surrounds the link in a span tag with the "terminology" class, which can be used to change its appearance in certain contexts.

  • {{Term|foo}}
    • [[Meta:Terminology#foo|foo]]
  • {{Term|foo|bar}}
    • [[Meta:Terminology#foo|bar]]