Namespaces
Variants
Actions

Difference between revisions of "Template:lc"

From cppreference.com
(enable title override)
m (Protected "Template:lc": High traffic page ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 

Latest revision as of 13:14, 26 August 2013

[edit] [{{purge}}] Template documentation

{{lc|identifier|title_override}}

Automatically creates a link to identifier. Which identifiers are linked where are defined in MediaWiki:autolinker-definition-c and MediaWiki:autolinker-definition-cpp. Which of these lists are used depends on the output of {{get_lang}} for the current page.

It is ok to use an identifier not in the current lists - it will still be displayed, without a link, but eventually when the lists are updated it will get the link. Link font is teletype.

The title of the link is identifier, unless title_override is not empty, in which case title_override is used.