Namespaces
Variants
Actions

Template:lc

From cppreference.com

[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.