Template:cap

(Redirected from Template:1)

Usage edit

  • This template is used to created a piped link to a term, so that the first letter of the page name is lowercase, but is displayed as uppercase. It works for all scripts that have a case system. It takes one mandatory parameter |1=, the word to which one wishes to link, and one optional parameter |lang=, the language code (see WT:Languages). It can be substituted, using subst: after the initial two curly brackets. If a language code is specified, it links to that language's section of the word; otherwise, a bare piped link is constructed (which normally ends up linking to the English section by virtue of JavaScript that runs in MediaWiki:Common.js).

Examples edit

In the entry flu:

# {{cap|influenza}}.
# {{label|en|informal}} {{cap|common cold}}.

gives:

  1. Influenza.
  2. (informal) Common cold.