Template:Tl: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Created page with "<includeonly><tt>{{[[Template:{{{1}}}|{{{1}}}]]}}</tt></includeonly><noinclude>This template is a convenient way to link to other templates. For example, <tt><nowiki>{{tl|Link..."
 
merged
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><tt>{{[[Template:{{{1}}}|{{{1}}}]]}}</tt></includeonly><noinclude>This template is a convenient way to link to other templates. For example, <tt><nowiki>{{tl|LinkCatagolue}}</nowiki></tt> produces <tt>{{[[Template:LinkCatagolue|LinkCatagolue]]}}</tt></noinclude>
<includeonly><tt>{{[[Template:{{{1}}}|{{{1}}}]]{{#if: {{{2|}}} | <nowiki>|</nowiki>{{{2}}} | }}{{#if: {{{3|}}} | <nowiki>|</nowiki>{{{3}}} | }}{{#if: {{{4|}}} | <nowiki>|</nowiki>{{{4}}} | }}{{#if: {{{5|}}} | <nowiki>|</nowiki>{{{5}}} | }}{{#if: {{{6|}}} | <nowiki>|</nowiki>{{{6}}} | }}{{#if: {{{7|}}} | <nowiki>|</nowiki>{{{7}}} | }}{{#if: {{{8|}}} | <nowiki>|</nowiki>{{{8}}} | }}{{#if: {{{9|}}} | <nowiki>|</nowiki>{{{9}}} | }}{{#if: {{{10|}}} | <nowiki>|</nowiki>{{{10}}} | }}{{#if: {{{11|}}} | <nowiki>|</nowiki>{{{11}}} | }}}}</tt></includeonly><noinclude>
 
This template is a convenient way to link to other templates. Here is a simple example of its usage:
 
'''You type:'''
 
<tt><nowiki>{{tl|LinkCatagolue}}</nowiki></tt>
 
'''You see:'''
 
<tt>{{[[Template:LinkCatagolue|LinkCatagolue]]}}</tt>
 
'''You type:'''
 
<tt><nowiki>{{tl|LinkCatagolue|''apgcode''}}</nowiki></tt>
 
'''You see:'''
 
<tt>{{[[Template:LinkCatagolue|LinkCatagolue]]<nowiki>|</nowiki>''apgcode''}}</tt>
 
Up to ten additional parameters are supported. <tt><nowiki><nowiki></nowiki></tt> tags may be necessary in some cases (e.g. named parameters) to result in a correct display.
 
[[Category:Internal link templates]]</noinclude>

Latest revision as of 17:09, 26 March 2022


This template is a convenient way to link to other templates. Here is a simple example of its usage:

You type:

{{tl|LinkCatagolue}}

You see:

{{LinkCatagolue}}

You type:

{{tl|LinkCatagolue|''apgcode''}}

You see:

{{LinkCatagolue|apgcode}}

Up to ten additional parameters are supported. <nowiki> tags may be necessary in some cases (e.g. named parameters) to result in a correct display.