සැකිල්ල:cap/documentation
Appearance
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 one optional parameter|lang=
, the language code (see WT:Languages). It can be substituted, usingsubst:
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
[සංස්කරණය]In the entry flu:
#{{cap|influenza}}
. #{{label|en|informal}}
{{cap|common cold}}
.
gives:
- Influenza.
- (informal) Common cold.