| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
date when the
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
was accessed. Should not be wikilinked.
- archive parameters (if used, must be used both of them together)
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
the URL of an archived copy of a web page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and Archive.org.
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
date when the item was archived. Should not be wikilinked.
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
If an archived URL is provided elsewhere, the original URL should be specified here.
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
page reference within the source.
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
replaces the first author with a score of length AuthorBlock em. Metadata is still produced from
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
and
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
.
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
title of an existing Wikipedia article about the first author.
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
,
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
, ...,
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
title of an existing Wikipedia article about up to seven additional authors.
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
A Bibcode id
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
Digital object identifier.
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
date of the authorship, if different from date of publication.
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
Date the DOI is broken
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
number or name of the edition, if not the first; for example:
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
first editor's first or given name(s).
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
,
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
second and third editors’ first or given name(s).
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
first editor's surname or last name.
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
,
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
,
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
second, third, and fourth editors’ surname or last name. The fourth is not actually used, but causes et al. to be generated.
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
title of an existing Wikipedia article about the first editor.
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
,
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
title of existing Wikipedia articles about the second and third editors.
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
file format of the source, if not the common format. Or; "Free full text", "abstract", or similar descriptor
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
first author's first or given name(s).
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
| v · d · eTemplateLinking Templates |
|---|
| | TL |
- {{tl}} – Template link, no parameters and normal text style.
- {{tlc}} – Not linked, several parameters and text in
<code></code> style.
- {{tld}} – Not linked, several parameters and teletype text style.
- {{tlf}} – Not linked, several parameters and normal text style.
- {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
- {{tn}} – Same as
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but shows the braces as part of the link.
This is the Template loop detected: Template:Tlf template.
This template works almost exactly like
This is the Template loop detected: Template:Tlc template.
This page also provides the full documentation for the templates {{tld}} and {{tlf}}, which work almost exactly identically.
Purpose and naming
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <nowiki></nowiki> tags you can write it more simply and concisely by using the Template loop detected: Template:Tlc, Template loop detected: Template:Tlc, or Template loop detected: Template:Tlc templates.
These templates work similarly to Template loop detected: Template:Tlc and Template loop detected: Template:Tlc, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use Template loop detected: Template:Tlc, Template loop detected: Template:Tlc or Template loop detected: Template:Tlc thereafter.
| Template
| Mnemonic
| Format differentiation
|
| Template loop detected: Template:Tlc
| Template link code
| Uses the <code>...</code> tags meant for showing programming code.
|
| Template loop detected: Template:Tlc
| Template link dialup-host
| Uses the <tt>...</tt> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx}}.
|
| Template loop detected: Template:Tlc
| Template link format-normal
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlp}}.
|
The three names were based on {{tl}} template link', despite the fact that, unlike the actual Template loop detected: Template:Tlc template, these three don't include an actual link. The mnemonics for Template loop detected: Template:Tlc and Template loop detected: Template:Tlc were invented after the fact, since the template creator used the single letters still available rather than the preferred Template loop detected: Template:Tlc (using <tt>) and Template loop detected: Template:Tlc (using "normal", non-coded text style) monikers.
Basic operation
Here is how these templates look. Code is to the left; actual rendering to the right:
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlc
- Template loop detected: Template:Tlc = {{name|parameters}}
- Template loop detected: Template:Tlc = Template loop detected: Template:Tlf
Use with editprotected templates
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been protected in some way.
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding Discussion page. An editor requesting a change to a semi-protected page, for example, would add the {{editsemiprotected}} template, followed by their request, to the Talk page. The Template loop detected: Template:Tlc template expands to a texty notice which includes the instruction, "Replace the Template loop detected: Template:Tlc template with Template loop detected: Template:Tlc when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.
The desired effect is to replace the Template loop detected: Template:Tlc template (with its big, eye-catching box of information) by the name of the template, merely showing that the template had been there, and acted upon. The use of the Template loop detected: Template:Tlc template means that the template should appear in a normal, proportional font-face, as in "Template loop detected: Template:Tlf".
Documentation
Functional details
- This template takes another template-name and some associated pipe-tricked (numbered) parameters (or 'pass parameters'), and displays them as an 'example demonstration' of how the template-name template could be coded, literally. Its primary use is in instruction and documentation.
- Specifics here???
- Features of Template loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc:
- 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.
Usage
Template loop detected: Template:Tlc → Template loop detected: Template:Tlc
Template loop detected: Template:Tlc → {{Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}
Template loop detected: Template:Tlc → Template loop detected: Template:Tlf
Examples
Note: Wikitables make the <code></code> tags transparent, unfortunately, so the "code colouring" is missing in these examples.
| Code | Result | Comment
|
|---|
| 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 | The use of equals signs is a problem, but there is a fix; see next row.
| | Template loop detected: Template:Tlc | Template loop detected: Template:Tlc | Use numbered parameters to fix the problem with equals signs. Remember to start from 2, since the "name" is number 1.
|
- Exceptions: If the intended template lists numerous/keyword parameters, then perhaps this template should really not be used, and just hardcode the usage with
<code><nowiki>, for example: <code><nowiki>{{Anytemplate|arg1=23|size=250px|other parameters...}}</nowiki></code>. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre>.
If you have equals 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 loop detected: Template:Tlc, Template loop detected: Template:Tlc and Template loop detected: Template:Tlc respectively. Code is 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}}
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlc
es:Plantilla:Tlc
fr:Modèle:Tlc
ja:Template:Tlc
no:mal:Tlc
simple:Template:Tlc
uk:Шаблон:Tld
, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- Template loop detected: Template:Tlf
See also
Template loop detected: Template:Tl-navcy:Nodyn:Tlf
no:mal:Tlf
, but it allows you to give display different text than you are linking to.</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">See also: {{lts}}, {{tlxb}}, {{para}}</td></tr></table></td></tr></table>cy:Nodyn:Para
et:Mall:Para
eo:Ŝablono:Parametro
es:Plantilla:Parámetro
hsb:Předłoha:Parameter
id:Templat:Para
ja:Template:Para
ro:Format:Para
sl:Predloga:Para
ta:வார்ப்புரு:Para
th:แม่แบบ:Para
,
Usage
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first {{para}} parameter is empty) an unnamed example parameter.
Examples
- {{para|name}}
- renders as
- Template loop detected: Template:Para
- {{para|title|<var>book title</var>}}
- renders as
- Template loop detected: Template:Para
- {{para| |section}}
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the {{para}} template)
- {{para|<var>parameter</var>|<var>value</var>}}
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
See also
- Template:Tlx – for providing examples of entire-template code with included parameters
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|