Difference between revisions of "Template:Tl1/doc"

From MidrangeWiki
Jump to: navigation, search
m (gah, fix own wikisyntaxtypo)
m (put <includeonly>Category:Internal link templates</includeonly> back on doc subpage for inclusion on template page)
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
<big>{{tl|tl1}}</big> is used to display a template name as a link, when the template has a single parameter.
 
<big>{{tl|tl1}}</big> is used to display a template name as a link, when the template has a single parameter.
;'''tl1''' stands for '''template link 1-parameter'''.
+
:'''{{PAGENAME}}''' stands for {{bu|T}}emplate {{bu|L}}ink {{bu|1}}-parameter'''.
 
   
 
   
 
== Usage ==
 
== Usage ==
Line 15: Line 15:
 
! Result
 
! Result
 
|-
 
|-
| <code>{&#123;tl1&#124;delete&#124;reason for deletion&#125;}</code>  
+
| <code>{&#123;tl1&#124;catredir&#124;NewCatName&#125;}</code>  
| {{[[Template:delete|reason for deletion]]}}
+
| {{tl1|catredir|NewCatName}}
 
|}
 
|}
<includeonly>
+
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
+
==See also==
[[Category:Deletion requests|μDelete]]
+
*{{tl|tl}}
<!-- ADD INTERWIKIS BELOW THIS LINE --></includeonly>
+
<includeonly>[[Category:Internal link templates]]</includeonly>

Latest revision as of 18:24, 16 February 2007

48px This is the template documentation page for {{Tl1}}.
It is not intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.

Documentation

{{tl1}} is used to display a template name as a link, when the template has a single parameter.

Tl1/doc stands for Template Link 1-parameter.

Usage

{{tl1|template name to display|parameter text}}

Example

Code Result
{{tl1|catredir|NewCatName}} {{catredir|NewCatName}}

See also