Jump to content

Template:Px

Fram Wikipidia


This is the

template.

This meta-template helps other templates, such as infoboxes, to take image size parameters in both of the forms "40" or "40px". It takes up to three parameters and returns the first one that has any content. That is, the first one that is defined (not null) and not empty. Thus a default value for the width of the image can be fed as the second or third parameter.

Here is what this template does. Code to the left, actual rendering to the right:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= 

This is the

template.

This meta-template helps other templates, such as infoboxes, to take image size parameters in both of the forms "40" or "40px". It takes up to three parameters and returns the first one that has any content. That is, the first one that is defined (not null) and not empty. Thus a default value for the width of the image can be fed as the second or third parameter.

Here is what this template does. Code to the left, actual rendering to the right:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

And with an optional second or even third parameter to be used as a default value if the first or second parameter is empty or undefined:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

And here is how it can be used inside another template:

[[Image:{{{image}}} | {{px|{{{size|}}}}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px|{{{size|}}}|250}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px| {{{size|}}} | {{{width|}}} | 250 }} | {{{caption|}}} ]]

Default values

[change up di source]

It used to be a bit tricky to handle empty but defined image size values in a template, since the MediaWiki pipetrick doesn't return the default value for empty parameters. That is, {{{width|250px}}} does not return "250px" if the template was called like this: {{template|width=}}

The usual workaround was to do like this:

{{#if:{{{width|}}}|{{{width}}}|250px}}

When at the same time handling the "pxpx" bug this became even more messy code:

[[Image:{{{image}}} | {{#if:{{{width|}}}|{{px|{{{width}}}}}|250px}} ]]

To simplify the coding,

allows for an optional default value to be defined allowing for the following:
[[Image:{{{image}}} | {{px|{{{width|}}}|250}} ]]

Note! The parameters to Template:Tlf must use the pipe "|", like this: {{{width|}}}. Or else Template:Tlf will be fed and return the string "{{{width}}}" if width was not defined.

Old usage was to always pad on "px" since MediaWiki used to tolerate "40pxpx":

[[Image:{{{image}}} | {{{size}}}px | {{{caption|}}} ]]

But since 25 March 2008 that does not work anymore. That is, image sizes on Wikipedia now needs to be given in the form "40px", not "40" or "40pxpx". This template helps doing that. Note that the bug has since been fixed, although you can continue using this template.

[change up di source]
– Helps detect empty parameters and fall back to default values. For instance for handling multiple image name parameters.

Test examples

[change up di source]

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px
  • [[Image:Example.png | 50 | thumb ]] =
    50


  • [[Image:Example.png | 50pxpx | thumb ]] =
Currently fails. But the devs have stated that they are adding back parsing of "pxpx" in the next update to Wikipedia. So if you see a small image to the right then Wikipedia again accepts "pxpx".


  • [[Image:Example.png | 50px | thumb ]] =


  • [[Image:Example.png | {{px|50}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|50px}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|junk}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px||50}} | thumb ]] =
    Template loop detected: Template:Px
Giving the default width if the 1st parameter is empty


  • [[Image:Example.png | {{px|{{{width|}}}|50}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|{{{width}}}|50}} | thumb ]] =
    Template loop detected: Template:Px
Fails to use the default value of 50. Note the missing "|" in {{{width}}}.


  • [[Image:Example.png | {{px| {{{width|}}} | {{{size|}}} | 50 }} | thumb ]] =
    Template loop detected: Template:Px


This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= 

This is the

template.

This meta-template helps other templates, such as infoboxes, to take image size parameters in both of the forms "40" or "40px". It takes up to three parameters and returns the first one that has any content. That is, the first one that is defined (not null) and not empty. Thus a default value for the width of the image can be fed as the second or third parameter.

Here is what this template does. Code to the left, actual rendering to the right:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

And with an optional second or even third parameter to be used as a default value if the first or second parameter is empty or undefined:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

And here is how it can be used inside another template:

[[Image:{{{image}}} | {{px|{{{size|}}}}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px|{{{size|}}}|250}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px| {{{size|}}} | {{{width|}}} | 250 }} | {{{caption|}}} ]]

Default values

[change up di source]

It used to be a bit tricky to handle empty but defined image size values in a template, since the MediaWiki pipetrick doesn't return the default value for empty parameters. That is, {{{width|250px}}} does not return "250px" if the template was called like this: {{template|width=}}

The usual workaround was to do like this:

{{#if:{{{width|}}}|{{{width}}}|250px}}

When at the same time handling the "pxpx" bug this became even more messy code:

[[Image:{{{image}}} | {{#if:{{{width|}}}|{{px|{{{width}}}}}|250px}} ]]

To simplify the coding,

allows for an optional default value to be defined allowing for the following:
[[Image:{{{image}}} | {{px|{{{width|}}}|250}} ]]

Note! The parameters to Template:Tlf must use the pipe "|", like this: {{{width|}}}. Or else Template:Tlf will be fed and return the string "{{{width}}}" if width was not defined.

Old usage was to always pad on "px" since MediaWiki used to tolerate "40pxpx":

[[Image:{{{image}}} | {{{size}}}px | {{{caption|}}} ]]

But since 25 March 2008 that does not work anymore. That is, image sizes on Wikipedia now needs to be given in the form "40px", not "40" or "40pxpx". This template helps doing that. Note that the bug has since been fixed, although you can continue using this template.

[change up di source]
– Helps detect empty parameters and fall back to default values. For instance for handling multiple image name parameters.

Test examples

[change up di source]

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px
  • [[Image:Example.png | 50 | thumb ]] =
    50


  • [[Image:Example.png | 50pxpx | thumb ]] =
Currently fails. But the devs have stated that they are adding back parsing of "pxpx" in the next update to Wikipedia. So if you see a small image to the right then Wikipedia again accepts "pxpx".


  • [[Image:Example.png | 50px | thumb ]] =


  • [[Image:Example.png | {{px|50}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|50px}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|junk}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px||50}} | thumb ]] =
    Template loop detected: Template:Px
Giving the default width if the 1st parameter is empty


  • [[Image:Example.png | {{px|{{{width|}}}|50}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|{{{width}}}|50}} | thumb ]] =
    Template loop detected: Template:Px
Fails to use the default value of 50. Note the missing "|" in {{{width}}}.


  • [[Image:Example.png | {{px| {{{width|}}} | {{{size|}}} | 50 }} | thumb ]] =
    Template loop detected: Template:Px



And with an optional second or even third parameter to be used as a default value if the first or second parameter is empty or undefined:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= 

This is the

template.

This meta-template helps other templates, such as infoboxes, to take image size parameters in both of the forms "40" or "40px". It takes up to three parameters and returns the first one that has any content. That is, the first one that is defined (not null) and not empty. Thus a default value for the width of the image can be fed as the second or third parameter.

Here is what this template does. Code to the left, actual rendering to the right:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

And with an optional second or even third parameter to be used as a default value if the first or second parameter is empty or undefined:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

And here is how it can be used inside another template:

[[Image:{{{image}}} | {{px|{{{size|}}}}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px|{{{size|}}}|250}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px| {{{size|}}} | {{{width|}}} | 250 }} | {{{caption|}}} ]]

Default values

[change up di source]

It used to be a bit tricky to handle empty but defined image size values in a template, since the MediaWiki pipetrick doesn't return the default value for empty parameters. That is, {{{width|250px}}} does not return "250px" if the template was called like this: {{template|width=}}

The usual workaround was to do like this:

{{#if:{{{width|}}}|{{{width}}}|250px}}

When at the same time handling the "pxpx" bug this became even more messy code:

[[Image:{{{image}}} | {{#if:{{{width|}}}|{{px|{{{width}}}}}|250px}} ]]

To simplify the coding,

allows for an optional default value to be defined allowing for the following:
[[Image:{{{image}}} | {{px|{{{width|}}}|250}} ]]

Note! The parameters to Template:Tlf must use the pipe "|", like this: {{{width|}}}. Or else Template:Tlf will be fed and return the string "{{{width}}}" if width was not defined.

Old usage was to always pad on "px" since MediaWiki used to tolerate "40pxpx":

[[Image:{{{image}}} | {{{size}}}px | {{{caption|}}} ]]

But since 25 March 2008 that does not work anymore. That is, image sizes on Wikipedia now needs to be given in the form "40px", not "40" or "40pxpx". This template helps doing that. Note that the bug has since been fixed, although you can continue using this template.

[change up di source]
– Helps detect empty parameters and fall back to default values. For instance for handling multiple image name parameters.

Test examples

[change up di source]

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px
  • [[Image:Example.png | 50 | thumb ]] =
    50


  • [[Image:Example.png | 50pxpx | thumb ]] =
Currently fails. But the devs have stated that they are adding back parsing of "pxpx" in the next update to Wikipedia. So if you see a small image to the right then Wikipedia again accepts "pxpx".


  • [[Image:Example.png | 50px | thumb ]] =


  • [[Image:Example.png | {{px|50}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|50px}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|junk}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px||50}} | thumb ]] =
    Template loop detected: Template:Px
Giving the default width if the 1st parameter is empty


  • [[Image:Example.png | {{px|{{{width|}}}|50}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|{{{width}}}|50}} | thumb ]] =
    Template loop detected: Template:Px
Fails to use the default value of 50. Note the missing "|" in {{{width}}}.


  • [[Image:Example.png | {{px| {{{width|}}} | {{{size|}}} | 50 }} | thumb ]] =
    Template loop detected: Template:Px


This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= 

This is the

template.

This meta-template helps other templates, such as infoboxes, to take image size parameters in both of the forms "40" or "40px". It takes up to three parameters and returns the first one that has any content. That is, the first one that is defined (not null) and not empty. Thus a default value for the width of the image can be fed as the second or third parameter.

Here is what this template does. Code to the left, actual rendering to the right:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

And with an optional second or even third parameter to be used as a default value if the first or second parameter is empty or undefined:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

And here is how it can be used inside another template:

[[Image:{{{image}}} | {{px|{{{size|}}}}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px|{{{size|}}}|250}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px| {{{size|}}} | {{{width|}}} | 250 }} | {{{caption|}}} ]]

Default values

[change up di source]

It used to be a bit tricky to handle empty but defined image size values in a template, since the MediaWiki pipetrick doesn't return the default value for empty parameters. That is, {{{width|250px}}} does not return "250px" if the template was called like this: {{template|width=}}

The usual workaround was to do like this:

{{#if:{{{width|}}}|{{{width}}}|250px}}

When at the same time handling the "pxpx" bug this became even more messy code:

[[Image:{{{image}}} | {{#if:{{{width|}}}|{{px|{{{width}}}}}|250px}} ]]

To simplify the coding,

allows for an optional default value to be defined allowing for the following:
[[Image:{{{image}}} | {{px|{{{width|}}}|250}} ]]

Note! The parameters to Template:Tlf must use the pipe "|", like this: {{{width|}}}. Or else Template:Tlf will be fed and return the string "{{{width}}}" if width was not defined.

Old usage was to always pad on "px" since MediaWiki used to tolerate "40pxpx":

[[Image:{{{image}}} | {{{size}}}px | {{{caption|}}} ]]

But since 25 March 2008 that does not work anymore. That is, image sizes on Wikipedia now needs to be given in the form "40px", not "40" or "40pxpx". This template helps doing that. Note that the bug has since been fixed, although you can continue using this template.

[change up di source]
– Helps detect empty parameters and fall back to default values. For instance for handling multiple image name parameters.

Test examples

[change up di source]

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px
  • [[Image:Example.png | 50 | thumb ]] =
    50


  • [[Image:Example.png | 50pxpx | thumb ]] =
Currently fails. But the devs have stated that they are adding back parsing of "pxpx" in the next update to Wikipedia. So if you see a small image to the right then Wikipedia again accepts "pxpx".


  • [[Image:Example.png | 50px | thumb ]] =


  • [[Image:Example.png | {{px|50}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|50px}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|junk}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px||50}} | thumb ]] =
    Template loop detected: Template:Px
Giving the default width if the 1st parameter is empty


  • [[Image:Example.png | {{px|{{{width|}}}|50}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|{{{width}}}|50}} | thumb ]] =
    Template loop detected: Template:Px
Fails to use the default value of 50. Note the missing "|" in {{{width}}}.


  • [[Image:Example.png | {{px| {{{width|}}} | {{{size|}}} | 50 }} | thumb ]] =
    Template loop detected: Template:Px



This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= 

This is the

template.

This meta-template helps other templates, such as infoboxes, to take image size parameters in both of the forms "40" or "40px". It takes up to three parameters and returns the first one that has any content. That is, the first one that is defined (not null) and not empty. Thus a default value for the width of the image can be fed as the second or third parameter.

Here is what this template does. Code to the left, actual rendering to the right:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

And with an optional second or even third parameter to be used as a default value if the first or second parameter is empty or undefined:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

And here is how it can be used inside another template:

[[Image:{{{image}}} | {{px|{{{size|}}}}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px|{{{size|}}}|250}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px| {{{size|}}} | {{{width|}}} | 250 }} | {{{caption|}}} ]]

Default values

[change up di source]

It used to be a bit tricky to handle empty but defined image size values in a template, since the MediaWiki pipetrick doesn't return the default value for empty parameters. That is, {{{width|250px}}} does not return "250px" if the template was called like this: {{template|width=}}

The usual workaround was to do like this:

{{#if:{{{width|}}}|{{{width}}}|250px}}

When at the same time handling the "pxpx" bug this became even more messy code:

[[Image:{{{image}}} | {{#if:{{{width|}}}|{{px|{{{width}}}}}|250px}} ]]

To simplify the coding,

allows for an optional default value to be defined allowing for the following:
[[Image:{{{image}}} | {{px|{{{width|}}}|250}} ]]

Note! The parameters to Template:Tlf must use the pipe "|", like this: {{{width|}}}. Or else Template:Tlf will be fed and return the string "{{{width}}}" if width was not defined.

Old usage was to always pad on "px" since MediaWiki used to tolerate "40pxpx":

[[Image:{{{image}}} | {{{size}}}px | {{{caption|}}} ]]

But since 25 March 2008 that does not work anymore. That is, image sizes on Wikipedia now needs to be given in the form "40px", not "40" or "40pxpx". This template helps doing that. Note that the bug has since been fixed, although you can continue using this template.

[change up di source]
– Helps detect empty parameters and fall back to default values. For instance for handling multiple image name parameters.

Test examples

[change up di source]

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px
  • [[Image:Example.png | 50 | thumb ]] =
    50


  • [[Image:Example.png | 50pxpx | thumb ]] =
Currently fails. But the devs have stated that they are adding back parsing of "pxpx" in the next update to Wikipedia. So if you see a small image to the right then Wikipedia again accepts "pxpx".


  • [[Image:Example.png | 50px | thumb ]] =


  • [[Image:Example.png | {{px|50}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|50px}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|junk}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px||50}} | thumb ]] =
    Template loop detected: Template:Px
Giving the default width if the 1st parameter is empty


  • [[Image:Example.png | {{px|{{{width|}}}|50}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|{{{width}}}|50}} | thumb ]] =
    Template loop detected: Template:Px
Fails to use the default value of 50. Note the missing "|" in {{{width}}}.


  • [[Image:Example.png | {{px| {{{width|}}} | {{{size|}}} | 50 }} | thumb ]] =
    Template loop detected: Template:Px


This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= 

This is the

template.

This meta-template helps other templates, such as infoboxes, to take image size parameters in both of the forms "40" or "40px". It takes up to three parameters and returns the first one that has any content. That is, the first one that is defined (not null) and not empty. Thus a default value for the width of the image can be fed as the second or third parameter.

Here is what this template does. Code to the left, actual rendering to the right:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

And with an optional second or even third parameter to be used as a default value if the first or second parameter is empty or undefined:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

And here is how it can be used inside another template:

[[Image:{{{image}}} | {{px|{{{size|}}}}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px|{{{size|}}}|250}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px| {{{size|}}} | {{{width|}}} | 250 }} | {{{caption|}}} ]]

Default values

[change up di source]

It used to be a bit tricky to handle empty but defined image size values in a template, since the MediaWiki pipetrick doesn't return the default value for empty parameters. That is, {{{width|250px}}} does not return "250px" if the template was called like this: {{template|width=}}

The usual workaround was to do like this:

{{#if:{{{width|}}}|{{{width}}}|250px}}

When at the same time handling the "pxpx" bug this became even more messy code:

[[Image:{{{image}}} | {{#if:{{{width|}}}|{{px|{{{width}}}}}|250px}} ]]

To simplify the coding,

allows for an optional default value to be defined allowing for the following:
[[Image:{{{image}}} | {{px|{{{width|}}}|250}} ]]

Note! The parameters to Template:Tlf must use the pipe "|", like this: {{{width|}}}. Or else Template:Tlf will be fed and return the string "{{{width}}}" if width was not defined.

Old usage was to always pad on "px" since MediaWiki used to tolerate "40pxpx":

[[Image:{{{image}}} | {{{size}}}px | {{{caption|}}} ]]

But since 25 March 2008 that does not work anymore. That is, image sizes on Wikipedia now needs to be given in the form "40px", not "40" or "40pxpx". This template helps doing that. Note that the bug has since been fixed, although you can continue using this template.

[change up di source]
– Helps detect empty parameters and fall back to default values. For instance for handling multiple image name parameters.

Test examples

[change up di source]

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px
  • [[Image:Example.png | 50 | thumb ]] =
    50


  • [[Image:Example.png | 50pxpx | thumb ]] =
Currently fails. But the devs have stated that they are adding back parsing of "pxpx" in the next update to Wikipedia. So if you see a small image to the right then Wikipedia again accepts "pxpx".


  • [[Image:Example.png | 50px | thumb ]] =


  • [[Image:Example.png | {{px|50}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|50px}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|junk}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px||50}} | thumb ]] =
    Template loop detected: Template:Px
Giving the default width if the 1st parameter is empty


  • [[Image:Example.png | {{px|{{{width|}}}|50}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|{{{width}}}|50}} | thumb ]] =
    Template loop detected: Template:Px
Fails to use the default value of 50. Note the missing "|" in {{{width}}}.


  • [[Image:Example.png | {{px| {{{width|}}} | {{{size|}}} | 50 }} | thumb ]] =
    Template loop detected: Template:Px



And here is how it can be used inside another template:

[[Image:{{{image}}} | {{px|{{{size|}}}}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px|{{{size|}}}|250}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px| {{{size|}}} | {{{width|}}} | 250 }} | {{{caption|}}} ]]

Default values

[change up di source]

It used to be a bit tricky to handle empty but defined image size values in a template, since the MediaWiki pipetrick doesn't return the default value for empty parameters. That is, {{{width|250px}}} does not return "250px" if the template was called like this: {{template|width=}}

The usual workaround was to do like this:

{{#if:{{{width|}}}|{{{width}}}|250px}}

When at the same time handling the "pxpx" bug this became even more messy code:

[[Image:{{{image}}} | {{#if:{{{width|}}}|{{px|{{{width}}}}}|250px}} ]]

To simplify the coding,

allows for an optional default value to be defined allowing for the following:
[[Image:{{{image}}} | {{px|{{{width|}}}|250}} ]]

Note! The parameters to Template:Tlf must use the pipe "|", like this: {{{width|}}}. Or else Template:Tlf will be fed and return the string "{{{width}}}" if width was not defined.

Old usage was to always pad on "px" since MediaWiki used to tolerate "40pxpx":

[[Image:{{{image}}} | {{{size}}}px | {{{caption|}}} ]]

But since 25 March 2008 that does not work anymore. That is, image sizes on Wikipedia now needs to be given in the form "40px", not "40" or "40pxpx". This template helps doing that. Note that the bug has since been fixed, although you can continue using this template.

[change up di source]
– Helps detect empty parameters and fall back to default values. For instance for handling multiple image name parameters.

Test examples

[change up di source]

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= 

This is the

template.

This meta-template helps other templates, such as infoboxes, to take image size parameters in both of the forms "40" or "40px". It takes up to three parameters and returns the first one that has any content. That is, the first one that is defined (not null) and not empty. Thus a default value for the width of the image can be fed as the second or third parameter.

Here is what this template does. Code to the left, actual rendering to the right:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

And with an optional second or even third parameter to be used as a default value if the first or second parameter is empty or undefined:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

And here is how it can be used inside another template:

[[Image:{{{image}}} | {{px|{{{size|}}}}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px|{{{size|}}}|250}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px| {{{size|}}} | {{{width|}}} | 250 }} | {{{caption|}}} ]]

Default values

[change up di source]

It used to be a bit tricky to handle empty but defined image size values in a template, since the MediaWiki pipetrick doesn't return the default value for empty parameters. That is, {{{width|250px}}} does not return "250px" if the template was called like this: {{template|width=}}

The usual workaround was to do like this:

{{#if:{{{width|}}}|{{{width}}}|250px}}

When at the same time handling the "pxpx" bug this became even more messy code:

[[Image:{{{image}}} | {{#if:{{{width|}}}|{{px|{{{width}}}}}|250px}} ]]

To simplify the coding,

allows for an optional default value to be defined allowing for the following:
[[Image:{{{image}}} | {{px|{{{width|}}}|250}} ]]

Note! The parameters to Template:Tlf must use the pipe "|", like this: {{{width|}}}. Or else Template:Tlf will be fed and return the string "{{{width}}}" if width was not defined.

Old usage was to always pad on "px" since MediaWiki used to tolerate "40pxpx":

[[Image:{{{image}}} | {{{size}}}px | {{{caption|}}} ]]

But since 25 March 2008 that does not work anymore. That is, image sizes on Wikipedia now needs to be given in the form "40px", not "40" or "40pxpx". This template helps doing that. Note that the bug has since been fixed, although you can continue using this template.

[change up di source]
– Helps detect empty parameters and fall back to default values. For instance for handling multiple image name parameters.

Test examples

[change up di source]

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px
  • [[Image:Example.png | 50 | thumb ]] =
    50


  • [[Image:Example.png | 50pxpx | thumb ]] =
Currently fails. But the devs have stated that they are adding back parsing of "pxpx" in the next update to Wikipedia. So if you see a small image to the right then Wikipedia again accepts "pxpx".


  • [[Image:Example.png | 50px | thumb ]] =


  • [[Image:Example.png | {{px|50}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|50px}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|junk}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px||50}} | thumb ]] =
    Template loop detected: Template:Px
Giving the default width if the 1st parameter is empty


  • [[Image:Example.png | {{px|{{{width|}}}|50}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|{{{width}}}|50}} | thumb ]] =
    Template loop detected: Template:Px
Fails to use the default value of 50. Note the missing "|" in {{{width}}}.


  • [[Image:Example.png | {{px| {{{width|}}} | {{{size|}}} | 50 }} | thumb ]] =
    Template loop detected: Template:Px


This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= 

This is the

template.

This meta-template helps other templates, such as infoboxes, to take image size parameters in both of the forms "40" or "40px". It takes up to three parameters and returns the first one that has any content. That is, the first one that is defined (not null) and not empty. Thus a default value for the width of the image can be fed as the second or third parameter.

Here is what this template does. Code to the left, actual rendering to the right:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

And with an optional second or even third parameter to be used as a default value if the first or second parameter is empty or undefined:

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

And here is how it can be used inside another template:

[[Image:{{{image}}} | {{px|{{{size|}}}}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px|{{{size|}}}|250}} | {{{caption|}}} ]]
[[Image:{{{image}}} | {{px| {{{size|}}} | {{{width|}}} | 250 }} | {{{caption|}}} ]]

Default values

[change up di source]

It used to be a bit tricky to handle empty but defined image size values in a template, since the MediaWiki pipetrick doesn't return the default value for empty parameters. That is, {{{width|250px}}} does not return "250px" if the template was called like this: {{template|width=}}

The usual workaround was to do like this:

{{#if:{{{width|}}}|{{{width}}}|250px}}

When at the same time handling the "pxpx" bug this became even more messy code:

[[Image:{{{image}}} | {{#if:{{{width|}}}|{{px|{{{width}}}}}|250px}} ]]

To simplify the coding,

allows for an optional default value to be defined allowing for the following:
[[Image:{{{image}}} | {{px|{{{width|}}}|250}} ]]

Note! The parameters to Template:Tlf must use the pipe "|", like this: {{{width|}}}. Or else Template:Tlf will be fed and return the string "{{{width}}}" if width was not defined.

Old usage was to always pad on "px" since MediaWiki used to tolerate "40pxpx":

[[Image:{{{image}}} | {{{size}}}px | {{{caption|}}} ]]

But since 25 March 2008 that does not work anymore. That is, image sizes on Wikipedia now needs to be given in the form "40px", not "40" or "40pxpx". This template helps doing that. Note that the bug has since been fixed, although you can continue using this template.

[change up di source]
– Helps detect empty parameters and fall back to default values. For instance for handling multiple image name parameters.

Test examples

[change up di source]

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template loop detected: Template:Px
  • [[Image:Example.png | 50 | thumb ]] =
    50


  • [[Image:Example.png | 50pxpx | thumb ]] =
Currently fails. But the devs have stated that they are adding back parsing of "pxpx" in the next update to Wikipedia. So if you see a small image to the right then Wikipedia again accepts "pxpx".


  • [[Image:Example.png | 50px | thumb ]] =


  • [[Image:Example.png | {{px|50}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|50px}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|junk}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px||50}} | thumb ]] =
    Template loop detected: Template:Px
Giving the default width if the 1st parameter is empty


  • [[Image:Example.png | {{px|{{{width|}}}|50}} | thumb ]] =
    Template loop detected: Template:Px


  • [[Image:Example.png | {{px|{{{width}}}|50}} | thumb ]] =
    Template loop detected: Template:Px
Fails to use the default value of 50. Note the missing "|" in {{{width}}}.


  • [[Image:Example.png | {{px| {{{width|}}} | {{{size|}}} | 50 }} | thumb ]] =
    Template loop detected: Template:Px


This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template:Px

This is the Template loop detected: Template:Tlc template.

This page is also the documentation for

and 
that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:

Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
Template loop detected: Template:Tlc = Template:Tld
Template loop detected: Template:Tlc = Template:Tlf

These templates work similarly to

and Template:Tlx, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use 
or Template:Tlx, and then use Template loop detected: Template:Tlc, Template:Tld or Template:Tlf.

Features of Template loop detected: Template:Tlc, Template:Tld and Template:Tlf:

  • They show a template name and up to eight parameters.
  • They also show empty parameters. (See examples below.)
  • They prevent line wraps in their output.

Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

CodeResultComment
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Shows its own syntax.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
Template loop detected: Template:Tlc Template loop detected: Template:Tlc
{{tlc|name|a|b|c|d|e|f|g|h|i|j}} Template loop detected: Template:Tlc Shows up to eight parameters. The rest are dropped.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Also shows empty parameters.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Even shows empty parameters that come in the end.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Equal signs is a problem, but there is a fix.
Template loop detected: Template:Tlc Template loop detected: Template:Tlc Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate Template:Tlf, Template:Tld and Template loop detected: Template:Tlc respectively. Code to the left and actual rendering to the right:

<nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
<code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}
[change up di source]
– Not linked, several parameters and text in <code></code> style.
– Not linked, several parameters and teletype text style.
– Not linked, several parameters and normal text style.
–  Template link, no parameters and normal text style.
– Template link, several parameters and interwiki links, teletype text style.
– Same as Template:Tlf, but shows the braces as part of the link.
= Template:Px
  • [[Image:Example.png | 50 | thumb ]] =
    50


  • [[Image:Example.png | 50pxpx | thumb ]] =
Currently fails. But the devs have stated that they are adding back parsing of "pxpx" in the next update to Wikipedia. So if you see a small image to the right then Wikipedia again accepts "pxpx".


  • [[Image:Example.png | 50px | thumb ]] =


  • [[Image:Example.png | {{px|50}} | thumb ]] =
    Template:Px


  • [[Image:Example.png | {{px|50px}} | thumb ]] =
    Template:Px


  • [[Image:Example.png | {{px|junk}} | thumb ]] =
    Template:Px


  • [[Image:Example.png | {{px|}} | thumb ]] =
    Template:Px



  • [[Image:Example.png | {{px||50}} | thumb ]] =
    Template:Px
Giving the default width if the 1st parameter is empty


  • [[Image:Example.png | {{px|{{{width|}}}|50}} | thumb ]] =
    Template:Px


  • [[Image:Example.png | {{px|{{{width}}}|50}} | thumb ]] =
    Template:Px
Fails to use the default value of 50. Note the missing "|" in {{{width}}}.


  • [[Image:Example.png | {{px| {{{width|}}} | {{{size|}}} | 50 }} | thumb ]] =
    Template:Px