Template:Tln: Difference between revisions
Jump to navigation
Jump to search
imported>Caesar Schinas (pinkwich5 uses plainlinksneverexpand :-() |
imported>Caesar Schinas m (redlink=1) |
||
Line 3: | Line 3: | ||
|{{#ifeq:{{{1}}}|{{PAGENAME}} | |{{#ifeq:{{{1}}}|{{PAGENAME}} | ||
|'''{{{1}}}''' | |'''{{{1}}}''' | ||
|<span class="plainlinks plainlinksneverexpand">[{{fullurl:Template:{{{1}}}|action=edit&preload=Template:New/preload&editintro=Template:New/editintro-redlink}} <span style="color:#810541;">{{{1}}}</span>]</span> | |<span class="plainlinks plainlinksneverexpand">[{{fullurl:Template:{{{1}}}|action=edit&redlink=1&preload=Template:New/preload&editintro=Template:New/editintro-redlink}} <span style="color:#810541;">{{{1}}}</span>]</span> | ||
}} | }} | ||
}}</includeonly><noinclude>{{TlDoc}}</noinclude> | }}</includeonly><noinclude>{{TlDoc}}</noinclude> |
Latest revision as of 07:26, 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}}
|
Using {{Tln}} with a non-existing template name creates a red link with the template preload and editintro. |