Template:cap

From Wiktionary, the free dictionary
(Redirected from Template:1)
Jump to navigation Jump to search

Usage

  • 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 two optional parameters: |2=, which is any additional text to append to the display form (generally a suffix), and |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, it links to the English section.

Examples

  • {{cap|unconstrained}} returns:
    Result: Unconstrained
    Links to: unconstrained#English
  • {{cap|common cold}} returns:
    Result: Common cold
    Links to: common cold#English
  • {{cap|bracket|s}} returns:
    Result: Brackets
    Links to: bracket#English
  • {{cap|σκύλαξ|lang=grc}} returns:
    Result: Σκύλαξ (Skúlax)
    Links to: σκύλαξ#Ancient Greek
  • {{cap|кот|а́|lang=ru}} returns:
    Result: Кота́ (Kotá)
    Links to: кот#Russian