Template:Template link/doc: Difference between revisions
Page last edited 3 weeks ago by Xeverything11
using {{PAGENAME}} for Category index because this inside <includeonly>. No need to add ad /doc here. {{PAGENAME}} is the name of the page were this is included |
moved {{interwikitmp-grp}} call down. Cleanup. |
||
Line 1: | Line 1: | ||
<includeonly>:''This template documentation is transcluded from [[{{FULLPAGENAME}}/doc]]'' [<span class="plainlinks">[{{fullurl:{{FULLPAGENAMEE}}/doc|action=edit}} edit]</span>]</includeonly> | <includeonly>:''This template documentation is transcluded from [[{{FULLPAGENAME}}/doc]]'' [<span class="plainlinks">[{{fullurl:{{FULLPAGENAMEE}}/doc|action=edit}} edit]</span>]</includeonly> | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
=Documentation= | =Documentation= | ||
Line 22: | Line 18: | ||
|} | |} | ||
== See also == | == See also == | ||
* {{Lts|tl}} - links and edit history of this template. | * {{Lts|tl}} - links and edit history of this template. | ||
Line 32: | Line 27: | ||
* {{Lcs|Internal link templates}} | * {{Lcs|Internal link templates}} | ||
<includeonly> | |||
{{interwikitmp-grp|!{{FULLPAGENAMEE}} }} | |||
</includeonly> | |||
<includeonly> | |||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Internal link templates|{{PAGENAME}}]] | [[Category:Internal link templates|{{PAGENAME}}]] |
Revision as of 08:03, 25 August 2006
Documentation
{{Tl}}
is used to display a template name as a link. Tl stands for Template link.
Usage
{{subst:Tl|template name to display}}
Example
Code | Result |
---|---|
{{subst:Tl|tfd}}
|
{{tfd}} |
See also
- Template:Lts - links and edit history of this template.
- Template:Lts - Template link, with single parameter.
- Template:Lts - Template link, up to three parameters.
- Template:Lts - Template link, dito subst'ed.
- Template:Lts - see Lts discussion for more variants.
- Template:Lts - like
{{tl}}
/{{tlp}}
for any namespace. - Template:Lcs