Template:Tl

(Difference between revisions)
Jump to: navigation, search
(try this fix)
(polishing; now using {t})
Line 4: Line 4:
 
  test={{{4|}}}|then=|{{{4}}}|else=}}{{if|
 
  test={{{4|}}}|then=|{{{4}}}|else=}}{{if|
 
  test={{{5|}}}|then=&#124;{{{5}}}|else=}}<nowiki>}}</nowiki></tt><noinclude>
 
  test={{{5|}}}|then=&#124;{{{5}}}|else=}}<nowiki>}}</nowiki></tt><noinclude>
 +
 +
==Purpose==
 +
 +
This template simplifies the formatting of example template calls when a link to the page for the template itself is desired. Use [[Template:T]] if no link is desired.
 +
 +
This template should only be used in ''non-article pages'' such as [[Iron Chariots Wiki:Templates]] or [[:Category:Pages for deletion]], '''never in articles'''.
 +
 +
Note that the name "tl" is short for "template link".
  
 
==Usage==
 
==Usage==
With one (required) parameter, this template provides the same simple functionality as [[Wikipedia:Template:tl]], but with the monospace font formatting of [[Wikipedia:Template:tlx]]:
 
* <tt><nowiki>{{tl|wikipedia}}</nowiki></tt> &rarr; {{tl|wikipedia}}
 
  
With more than one parameter (up to five, total), it works basically like [[Wikipedia:Template:tlx]], except without the sister-project or language business (see [[Wikipedia:Template:tlx|that template]] for details).
+
With one (required) parameter, this template provides the same simple functionality as [[Wikipedia:Template:Tl]], but with the monospace font formatting of [[Wikipedia:Template:Tlx]]:
* <tt><nowiki>{{tl|wikipedia|''Article title''}}</nowiki></tt> &rarr; {{tl|wikipedia|''Article title''}}
+
* {{t|tl|wikipedia}} &rarr; {{tl|wikipedia}}
* <tt><nowiki>{{tl|wikipedia|''Article title''|''Display title''}}</nowiki></tt> &rarr; {{tl|wikipedia|''Article title''|''Display title''}}
+
 
* <tt><nowiki>{{tl|wikipedia|List of apologetic works|Apologetic works}}</nowiki></tt> &rarr; {{tl|wikipedia|List of apologetic works|Apologetic works}}
+
With more than one parameter (up to five, total), it works basically like [[Wikipedia:Template:Tlx]], except without the sister-project or language features (see [[Wikipedia:Template:Tlx|that template]] for details):
 +
* {{t|tl|wikipedia|''Article title''}} &rarr; {{tl|wikipedia|''Article title''}}
 +
* {{t|tl|wikipedia|''Article title''|''Display title''}} &rarr; {{tl|wikipedia|''Article title''|''Display title''}}
 +
* {{t|tl|wikipedia|List of apologetic works|Apologetic works}} &rarr; {{tl|wikipedia|List of apologetic works|Apologetic works}}
 +
 
 +
==See also==
 +
* [[Template:T]] &mdash; no-link version
  
 
[[Category:Informational templates]]
 
[[Category:Informational templates]]
 
</noinclude>
 
</noinclude>

Revision as of 14:45, 9 October 2007

{{[[Template:{{{1}}}|{{{1}}}]]}}

Purpose

This template simplifies the formatting of example template calls when a link to the page for the template itself is desired. Use Template:T if no link is desired.

This template should only be used in non-article pages such as Iron Chariots Wiki:Templates or Category:Pages for deletion, never in articles.

Note that the name "tl" is short for "template link".

Usage

With one (required) parameter, this template provides the same simple functionality as Wikipedia:Template:Tl, but with the monospace font formatting of Wikipedia:Template:Tlx:

With more than one parameter (up to five, total), it works basically like Wikipedia:Template:Tlx, except without the sister-project or language features (see that template for details):

  • {{tl|wikipedia|Article title}}{{wikipedia|Article title}}
  • {{tl|wikipedia|Article title|Display title}}{{wikipedia|Article title|Display title}}
  • {{tl|wikipedia|List of apologetic works|Apologetic works}}{{wikipedia|List of apologetic works|Apologetic works}}

See also

Personal tools
Namespaces
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox