Template:Tln/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
imported>Caesar Schinas
 
Line 8: Line 8:
|<code><nowiki>{{Tln|Infobox}}</nowiki></code>  
|<code><nowiki>{{Tln|Infobox}}</nowiki></code>  
| {{Tln|Infobox}}  
| {{Tln|Infobox}}  
|| Using {{Tln|Tln}} with an existing template creates a link to it.
|| Using {{Tl|Tln}} with an existing template creates a link to it.
|-
|-
|<code><nowiki>{{Tln|Tln}}</nowiki></code>  
|<code><nowiki>{{Tln|Tln}}</nowiki></code>  
| {{Tln|Tln}}  
| {{Tln|Tln}}  
| Using {{Tln|Tln}} on the template with the same name just shows the name.  
| Using {{Tl|Tln}} on the template with the same name just shows the name.  
|-
|-
|<code><nowiki>{{Tln|Nonexistanttemplate}}</nowiki></code>  
|<code><nowiki>{{Tln|Nonexistanttemplate}}</nowiki></code>  
| {{Tln|Nonexistanttemplate}}  
| {{Tln|Nonexistanttemplate}}  
| Using {{Tln|Tln}} with a non-existing template name creates a red link with the template preload and editintro.
| Using {{Tl|Tln}} with a non-existing template name creates a red link with the template preload and editintro.
|}
|}

Latest revision as of 02:45, 9 May 2009

Usage

{{Tln}} is used to reference templates in lists, etc. Use of it generates a link to the template. For a version with brackets, see {{Tl}}.

Example

{{Tln|Infobox}} Infobox Using {{Tln}} with an existing template creates a link to it.
{{Tln|Tln}} Tln Using {{Tln}} on the template with the same name just shows the name.
{{Tln|Nonexistanttemplate}} Nonexistanttemplate Using {{Tln}} with a non-existing template name creates a red link with the template preload and editintro.