Template:Tl/doc: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 35: Line 35:
<!--* {{tl|tl2}} – Template link, up to three parameters and interwiki links.
<!--* {{tl|tl2}} – Template link, up to three parameters and interwiki links.
* {{tl|tlp}} – Template link, with single parameter.-->
* {{tl|tlp}} – Template link, with single parameter.-->
* {{tl|tlx}} – Template link, up to three parameters and interwiki links.
* {{tl|tlx}} – Template link, with several parameters<!-- and interwiki links-->.
<!--* {{tl|tlsp}} – Template link, ditto subst'ed.
<!--* {{tl|tlsp}} – Template link, ditto subst'ed.
* {{tl|lts}} – See Lts discussion for more variants.
* {{tl|lts}} – See Lts discussion for more variants.

Latest revision as of 23:37, 3 June 2008

This is a documentation subpage for Template:Tl (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.


This is the {{Tl}} template.

First a short example. This code: {{tl|example}} renders like this: {{Example}}

Tl stands for Template link. {{Tl}} is a simple macro template used to display a template name as a link surrounded by braces, thus showing how the template name would be used in code. Its primary use is in instruction and documentation.

Related templates

{{Tlx}} displays with the same enhanced presentation, and also expands several 'placeholder' parameters to generate a sample template call.

Usage

 {{Tl|template name to display}}

Example

Code Result
{{Tl|bra}} {{Bra}}

See also