Template:Term

Revision as of 23:03, 7 May 2017 by Jason (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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]]

The s parameter causes spaces to be omitted from the link.

  • {{Term|foo bar|s=anything}}
    • [[Meta:Terminology#foobar|foo bar]]

The p parameter prefixes something to the term being linked to.

  • {{Term|foo|p=X}}
    • [[Meta:Terminology#Xfoo|foo]]

The t parameter overrides the link's normal title text ("Meta:Terminology") with whatever you specify.

  • {{Term|foo|t=Hello}}
    • <span title="Hello">[[Meta:Terminology#foo|foo]]</span>