This site is supported by donations to The OEIS Foundation.
Template:Tnx
[⧼Purge⧽ Template:Tnx]
The {{tnx}} template is a typing-aid template. Mnemonically {{tnx}} stands for Template Name (or No link) eXpanded. With {{tnx}} you may add up to twelve parameters and interwiki links, and it uses a monospaced non-proportional font.
One difference is readability, compare {{Factorial}} (in proportional font) and {{Factorial}} (in monospaced non-proportional font) using {{tn|Factorial}} and {{tnx|Factorial}}, respectively. These templates are used to name (no link) other templates in an intuitive way with curly braces. For more info about these templates visit wikipedia or meta (Wikipedia uses {{tld}}, our {{tnx}} seems better mnemonically). With {{tnx}} you can add up to 12 parameters separated by "|" escaping any "=" with "{{=}}".
Usage
- {{tnx|Template name}}
or
- {{tnx|Template name|param1|...|param12}}
Examples
Use {{tnx|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 {{tnx|Factorial|5}} when taking about
- {{Factorial|5}} to get
- 120
Use {{tnx|!!}} when taking about
- {{!!}} to get
- ||
Use {{tnx|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
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.