Template:Template link/doc

The template link template is a simple macro template used to display a template name as a link surrounded by braces, thus showing how the template name would be used in code. Its primary use is in instruction and documentation. A short example is that the code:




 * generates


 * Example

More complex variations are described below.

Related templates
Tl2 differs in that it displays an arguably clearer result like, and also takes the named parameters 'SISTER=xx' and 'LANG=ll', so that it may also be used to list and link to templates on other English and non-English language sister projects. displays with the same enhanced presentation, and also expands several 'placeholder' parameters to generate a sample template call.

Usage
Template name to display and Template name to display -- local link, just like Tl. or Template name to display -- displays a template on Wikiversity or Template name to display -- displays a template on the French Wikisource sister project. =) -- use 1= where the template name contains an equals sign (as template:=) does).