Template:dict

Explain xkcd: It's 'cause you're dumb.
Revision as of 18:09, 24 January 2024 by Raviolio (talk | contribs) (Delete this if I'm overstepping but this seems like it would be useful)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A template to make a link to a Wiktionary entry.

Usage

  • {{dict}} by itself links to the Wiktionary entry for the page you use the template on, which is probably not useful in the case of the Explain XKCD Wiki:
    • [[Wiktionary:{{{1}}}|{{{1}}}]]
  • {{dict|word}} links to the Wiktionary entry for "word":
  • {{dict|word|Display}} prints "Display" which links to the Wiktionary entry for "word":

The first character of the link target is automatically lowercased, such that e.g. {{dict|ravioli}} (ravioli) and {{dict|Ravioli}} (Ravioli) both link to the same delicious definition. (Wiktionary entries are case-sensitive. This automatic lowercasing may cause issues in the future, but that's OK because it's not the future yet[citation needed])