This site is supported by donations to The OEIS Foundation.
Template:Tnb
From OeisWiki
The following documentation is located at Template:Tnb/doc. [<Edit> Template:Tnb/doc]
[⧼Purge⧽ Template:Tnb]
[⧼Purge⧽ Template:Tnb]
The {{tnb}} typing-aid template, which mnemonically stands for 'Template Name (or No link) Bold, is used to display a template name in bold (no 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 {{tnb}} you can add up to 12 parameters separated by "|" escaping any "=" with "{{=}}".
Usage
- {{tnb|Template name}}
or
- {{tnb|Template name|param1|...|param12}}
Examples
Use {{tnb|Factorial|5}} when talking about
- {{Factorial|5}} to get
- 120
Use {{tnb|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 =
- {{tnb|{{=}}}} 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.