Template:Tl

(Difference between revisions)
Jump to: navigation, search
(template started -- might not work yet)
 
(try this fix)
Line 1: Line 1:
 
<tt><nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]{{if|
 
<tt><nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]{{if|
  test={{{2}}}|then=&#124;{{{2}}}|else=<nowiki>}}</nowiki>}}{{if|
+
  test={{{2|}}}|then=&#124;{{{2}}}|else=}}{{if|
  test={{{3}}}|then=&#124;{{{3}}}|else=<nowiki>}}</nowiki>}}{{if|
+
  test={{{3|}}}|then=&#124;{{{3}}}|else=}}{{if|
  test={{{4}}}|then=&#124;{{{4}}}|else=<nowiki>}}</nowiki>}}{{if|
+
  test={{{4|}}}|then=&#124;{{{4}}}|else=}}{{if|
  test={{{5}}}|then=&#124;{{{5}}}|else=<nowiki>}}</nowiki>}}</tt><noinclude>
+
  test={{{5|}}}|then=&#124;{{{5}}}|else=}}<nowiki>}}</nowiki></tt><noinclude>
  
 
==Usage==
 
==Usage==

Revision as of 14:58, 8 October 2007

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

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 business (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}}
Personal tools
Namespaces
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox