Difference between revisions of "Template:Tln/doc"

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(New page: '''Usage''' <nowiki>{{Tln}}</nowiki> is used to reference templates in lists, etc. Use of it generates a link to the template without brackets (for a version with brackets see {{tl|Tln}}....)
 
imported>Caesar Schinas
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Usage'''
=== Usage ===


<nowiki>{{Tln}}</nowiki> is used to reference templates in lists, etc. Use of it generates a link to the template without brackets (for a version with brackets see {{tl|Tln}}.
<code><nowiki>{{Tln}}</nowiki></code> is used to reference templates in lists, etc. Use of it generates a link to the template. For a version with brackets, see {{tl|Tl}}.


'''Example''':
=== Example ===


<nowiki>{{Tln|Tln}}</nowiki>
{|
 
|<code><nowiki>{{Tln|Infobox}}</nowiki></code>
gives:
| {{Tln|Infobox}}
 
|| Using {{Tl|Tln}} with an existing template creates a link to it.
{{Tln|Tln}}
|-
|<code><nowiki>{{Tln|Tln}}</nowiki></code>  
| {{Tln|Tln}}
| Using {{Tl|Tln}} on the template with the same name just shows the name.
|-
|<code><nowiki>{{Tln|Nonexistanttemplate}}</nowiki></code>
| {{Tln|Nonexistanttemplate}}
| Using {{Tl|Tln}} with a non-existing template name creates a red link with the template preload and editintro.
|}

Latest revision as of 01: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.