Template:Tl

Fram Wikipidia
Jump to navigation Jump to search

Template loop detected: Template:Documentation subpage

Usage[change up di source]

{{documentation subpage}}
or: {{documentation subpage|[[main page to link to]]|[[documentation to link to]]}}

This template should be placed at the top of "/doc" pages. It changes output depending on where it is viewed:

  • On a "/doc" page, it displays a box explaining template documentation and links to the template page.
  • On other pages (i.e., pages transcluding the "/doc" page), it notes that the documentation is transcluded from a subpage.

Functions[change up di source]

In addition to the output message, the template categorizes pages to Documentation subpages and defaults the sort key to the page name without namespace (i.e., "Foo" on "Template:Foo", so it would be sorted in categories under 'F').

Related pages[change up di source]


Usage[change up di source]

There are a number of templates that you can use to display links to templates.

Template Description Syntax Example
{{Tl}} "Tl" stands for "template link". It displays a template name as a link surrounded by braces (curly brackets), thus showing how the template should be typed. You will find the template useful when writing instructions and to talk about templates on talk pages. {{tl|Welcome}} Template loop detected: Template:Documentation subpage

Usage[change up di source]

{{documentation subpage}}
or: {{documentation subpage|[[main page to link to]]|[[documentation to link to]]}}

This template should be placed at the top of "/doc" pages. It changes output depending on where it is viewed:

  • On a "/doc" page, it displays a box explaining template documentation and links to the template page.
  • On other pages (i.e., pages transcluding the "/doc" page), it notes that the documentation is transcluded from a subpage.

Functions[change up di source]

In addition to the output message, the template categorizes pages to Documentation subpages and defaults the sort key to the page name without namespace (i.e., "Foo" on "Template:Foo", so it would be sorted in categories under 'F').

Related pages[change up di source]


Usage[change up di source]

Template loop detected: Template:Template links


{{Tlwp}} "Tlwp" stands for "tempplate link with parameter". It displays a template name and the parameters(no named parameters). {{tlwp|Welcome|a|b|c}} Template:Tlwp
{{Tltt}} "Tltt" stands for "template link with tooltip". The template is like Template loop detected: Template:Documentation subpage

Usage[change up di source]

{{documentation subpage}}
or: {{documentation subpage|[[main page to link to]]|[[documentation to link to]]}}

This template should be placed at the top of "/doc" pages. It changes output depending on where it is viewed:

  • On a "/doc" page, it displays a box explaining template documentation and links to the template page.
  • On other pages (i.e., pages transcluding the "/doc" page), it notes that the documentation is transcluded from a subpage.

Functions[change up di source]

In addition to the output message, the template categorizes pages to Documentation subpages and defaults the sort key to the page name without namespace (i.e., "Foo" on "Template:Foo", so it would be sorted in categories under 'F').

Related pages[change up di source]


Usage[change up di source]

Template loop detected: Template:Template links , but allows you to state a tooltip for each template. A tooltip is a line of text that is shown when you use your computer mouse to move the cursor over the template name. (Try it here: Template loop detected: Template:Documentation subpage

Usage[change up di source]

{{documentation subpage}}
or: {{documentation subpage|[[main page to link to]]|[[documentation to link to]]}}

This template should be placed at the top of "/doc" pages. It changes output depending on where it is viewed:

  • On a "/doc" page, it displays a box explaining template documentation and links to the template page.
  • On other pages (i.e., pages transcluding the "/doc" page), it notes that the documentation is transcluded from a subpage.

Functions[change up di source]

In addition to the output message, the template categorizes pages to Documentation subpages and defaults the sort key to the page name without namespace (i.e., "Foo" on "Template:Foo", so it would be sorted in categories under 'F').

Related pages[change up di source]


Usage[change up di source]

Template loop detected: Template:Template links

Issues[change up di source]

There are some problems with the {{Tltt}} template:

  • On some computers, the tooltip text can only be seen when the cursor hovers over the curly braces, not over the link itself.
  • It is not possible to include double quotes (" ") in the tooltip text. Use single quotes (' ') instead.
) The template lets you explain more about a template. {{tltt|Welcome|Here's the tooltip text!|par=p1=1st parameter|
par2=p2=2nd parameter}}
Template loop detected: Template:Documentation subpage

Usage[change up di source]

{{documentation subpage}}
or: {{documentation subpage|[[main page to link to]]|[[documentation to link to]]}}

This template should be placed at the top of "/doc" pages. It changes output depending on where it is viewed:

  • On a "/doc" page, it displays a box explaining template documentation and links to the template page.
  • On other pages (i.e., pages transcluding the "/doc" page), it notes that the documentation is transcluded from a subpage.

Functions[change up di source]

In addition to the output message, the template categorizes pages to Documentation subpages and defaults the sort key to the page name without namespace (i.e., "Foo" on "Template:Foo", so it would be sorted in categories under 'F').

Related pages[change up di source]


Usage[change up di source]

Template loop detected: Template:Template links

Issues[change up di source]

There are some problems with the {{Tltt}} template:

  • On some computers, the tooltip text can only be seen when the cursor hovers over the curly braces, not over the link itself.
  • It is not possible to include double quotes (" ") in the tooltip text. Use single quotes (' ') instead.


{{Tltts}} This template is the same as Template loop detected: Template:Documentation subpage

Usage[change up di source]

{{documentation subpage}}
or: {{documentation subpage|[[main page to link to]]|[[documentation to link to]]}}

This template should be placed at the top of "/doc" pages. It changes output depending on where it is viewed:

  • On a "/doc" page, it displays a box explaining template documentation and links to the template page.
  • On other pages (i.e., pages transcluding the "/doc" page), it notes that the documentation is transcluded from a subpage.

Functions[change up di source]

In addition to the output message, the template categorizes pages to Documentation subpages and defaults the sort key to the page name without namespace (i.e., "Foo" on "Template:Foo", so it would be sorted in categories under 'F').

Related pages[change up di source]


Usage[change up di source]

Template loop detected: Template:Template links , except that it is substituted.

{{subst:tltts|Welcome|Here's the tooltip text!|par=p1=1st parameter|par2=p2=2nd parameter}} Template loop detected: Template:Documentation subpage

Usage[change up di source]

{{documentation subpage}}
or: {{documentation subpage|[[main page to link to]]|[[documentation to link to]]}}

This template should be placed at the top of "/doc" pages. It changes output depending on where it is viewed:

  • On a "/doc" page, it displays a box explaining template documentation and links to the template page.
  • On other pages (i.e., pages transcluding the "/doc" page), it notes that the documentation is transcluded from a subpage.

Functions[change up di source]

In addition to the output message, the template categorizes pages to Documentation subpages and defaults the sort key to the page name without namespace (i.e., "Foo" on "Template:Foo", so it would be sorted in categories under 'F').

Related pages[change up di source]


Usage[change up di source]

Template loop detected: Template:Template links

Issues[change up di source]

There are some problems with the {{Tltt}} template:

  • On some computers, the tooltip text can only be seen when the cursor hovers over the curly braces, not over the link itself.
  • It is not possible to include double quotes (" ") in the tooltip text. Use single quotes (' ') instead.