This site is supported by donations to The OEIS Foundation.

Template:Tl

From OeisWiki
(Redirected from Template:T1)
Jump to: navigation, search

The {{tl}} typing-aid template, whose name stands for 'Template Link', is used to display a template name as a link surrounded by braces, thus showing how the template would be used in code, and it uses a proportional font. Its primary use is in instruction and documentation. With {{tl}} you can add up to 12 parameters and interwiki links separated by "|", escaping any "=" with "{{=}}".

Usage

{{tl|Template name}}

or

{{tl|Template name|param1|...|param12}}

Examples

Use {{tl|MathWorld|urlname{{=}}BenfordsLaw|title{{=}}Benford's Law}} when talking about

{{MathWorld|urlname=BenfordsLaw|title=Benford's Law}} to get
Weisstein, Eric W., Benford's Law, from MathWorld—A Wolfram Web Resource.


Use {{tl|Factorial|5}} when taking about

{{Factorial|5}} to get
120


Use {{tl|!!}} when taking about

{{!!}} to get
||


Use {{tl|URL|http://en.wikipedia.org/wiki/Uniform_resource_locator#Absolute_and_relative_URLs|fragment ID}} when talking about

{{URL|http://en.wikipedia.org/wiki/Uniform_resource_locator#Absolute_and_relative_URLs|fragment ID}} to get
Absolute_and_relative_URLs


When the template name contains an equals sign, use {{=}} instead of =

{{tl|{{=}}}} gives {{=}}

See also

  • {{tl}}Template Link, up to twelve parameters and interwiki links, uses a proportional font.
  • {{tlx}}Template Link eXpanded, up to twelve parameters and interwiki links, uses a monospaced non-proportional font.
  • {{tlb}} – Same as {{tl}}, but gives the template name in boldface type.
  • {{tlxb}} – Same as {{tlx}}, but gives the template name in boldface type.


  • {{tn}}Template Name (or No link,) up to twelve parameters, uses a proportional font.
  • {{tnx}}Template Name (or No link) eXpanded, up to twelve parameters, uses a monospaced non-proportional font.
  • {{tnb}} – Same as {{tn}}, but gives the template name in boldface type.
  • {{tnxb}} – Same as {{tnx}}, but gives the template name in boldface type.


  • {{para}} – Template parameters.