Template:Tl/doc: Difference between revisions
Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<includeonly>{{pp-template|small=yes}}</includeonly> | |||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
__NOTOC__ | __NOTOC__ | ||
| Line 7: | Line 8: | ||
'''Tl''' stands for '''T'''emplate '''l'''ink. {{tl|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. | '''Tl''' stands for '''T'''emplate '''l'''ink. {{tl|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 === | |||
<!--{{tl2|tl2}} differs in that it displays an arguably clearer result like {{tlx|tlx}}, and also takes the named parameters 'SISTER=xx' and 'LANG=ll', so that it may also be used to ''list and link to templates on other English and non-English language sister projects''. | |||
--> | |||
{{tlx|tlx}} displays with the same enhanced presentation, and also expands several 'placeholder' parameters to generate a sample template call. | |||
=== Usage === | === Usage === | ||
| Line 23: | Line 30: | ||
| {{[[Template:Bra|Bra]]}} | | {{[[Template:Bra|Bra]]}} | ||
|} | |} | ||
=== See also === | === See also === | ||
* [[:Category:Internal link templates]] | |||
<!--* {{tl|tl2}} – Template link, up to three parameters and interwiki links. | |||
* {{tl|tlp}} – Template link, with single parameter.--> | |||
* {{tl|tlx}} – Template link, up to three parameters and interwiki links. | |||
<!--* {{tl|tlsp}} – Template link, ditto subst'ed. | |||
* {{tl|lts}} – See Lts discussion for more variants. | |||
* {{tl|tlu}} – Like {{tlx|tl}} / {{tlx|tlp}} for any namespace. | |||
* {{tl|tn}} – Same as tl, but shows the braces as part of the link. | |||
* {{tl|evd}} – Show live example | |||
* {{tl|tlc}}, {{tl|tld}} and {{tl|tlf}} – Template names without links.--> | |||
* [[:Category:Internal link templates]] | |||
<includeonly> | <includeonly> | ||
Revision as of 22:39, 3 June 2008
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
- {{Tlx}} – Template link, up to three parameters and interwiki links.
- Category:Internal link templates