Difference between revisions of "Template:Tl2"

From MINR.ORG WIKI
m (update fm Meta)
(Clean up and add optional 2nd and 3rd parameters)
Line 1: Line 1:
<includeonly><!---Subst of {{Tl2}}follows----><tt><nowiki>{{</nowiki>[[{{{LANG|}}}{{{SISTER|}}}{{ns:Template}}: {{{1|}}}|{{{1|}}}]]<nowiki>}}</nowiki></tt><!---Subst of {{Tl2}} ends----></includeonly><!---
+
<includeonly><!---Subst of {{Tl2}}follows----><tt><nowiki>{{</nowiki>[[{{{LANG|}}}{{{SISTER|}}}{{ns:Template}}: {{{1|}}}|{{{1|}}}]]{{#if:{{{2|}}}|<tt>&#124;</tt>{{{2}}}}}{{#if:{{{3|}}}|<tt>&#124;</tt>{{{3}}}}}<nowiki>}}</nowiki></tt><!---Subst of {{Tl2}} ends----></includeonly>
-----
+
<noinclude>
----><noinclude><!---
 
-----
 
---->
 
 
;Template Tl2 is just like Tl, :<br />
 
;Template Tl2 is just like Tl, :<br />
 
#in that it is very simple, and so it can be subst'd cleanly (<u>unlike</u> Tlx)<br /><br />
 
#in that it is very simple, and so it can be subst'd cleanly (<u>unlike</u> Tlx)<br /><br />
 
#but also displays a single template name like Tlx, and also like Tlx<br /><br />
 
#but also displays a single template name like Tlx, and also like Tlx<br /><br />
#will take a named parameter allowing it to access pages<br /> on other wiki's. (Sister projects)<!---
+
#will take a named parameter allowing it to access pages<br /> on other wiki's. (Sister projects)
-----
+
{{Tl/doc}}
---->{{Tl/doc}}<!---
 
-----
 
---->
 
 
<!--- Place Interwiki's in [[ Template:Tl/doc ]] please, not here --->
 
<!--- Place Interwiki's in [[ Template:Tl/doc ]] please, not here --->
 
</noinclude>
 
</noinclude>

Revision as of 21:13, 28 February 2007


Template Tl2 is just like Tl, 

  1. in that it is very simple, and so it can be subst'd cleanly (unlike Tlx)

  2. but also displays a single template name like Tlx, and also like Tlx

  3. will take a named parameter allowing it to access pages
    on other wiki's. (Sister projects)

Template:Tl/doc