Difference between revisions of "Template:Tl1/doc"

From MidrangeWiki
Jump to: navigation, search
m
m (chg cat to Category:Internal link templates for includeonly; use Template:catredir as example)
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]]}}
+
| {{[[Template:catredir|NewCatName]]}}
 
|}
 
|}
 
==See also==
 
==See also==
Line 23: Line 23:
 
<includeonly>
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Deletion requests|μDelete]]
+
[[Category:Internal link templates|{{PAGENAME}}]]
 
<!-- ADD INTERWIKIS BELOW THIS LINE --></includeonly>
 
<!-- ADD INTERWIKIS BELOW THIS LINE --></includeonly>

Revision as of 14:42, 15 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}} {{NewCatName}}

See also