Difference between revisions of "Template:Tl2"

From MINR.ORG WIKI
(Clean up and add optional 2nd and 3rd parameters)
m (30 revisions imported: Imported Category TOC from wikipedia)
 
(15 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<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>
+
<!-- Subst of {{Tl2}} follows --><code><nowiki>{{</nowiki>[[:{{ {{{|safesubst:}}}#if: {{{sister|}}} | {{{sister}}}: }}{{ {{{|safesubst:}}}#if: {{{lang|}}} | {{{lang}}}: }}{{ {{{|safesubst:}}}ns:Template }}:{{{1}}}|{{{1}}}]]{{ {{{|safesubst:}}}#if: {{{2|}}} | &#124;{{{2}}} }}{{ {{{|safesubst:}}}#if: {{{3|}}} | &#124;{{{3}}} }}<nowiki>}}</nowiki></code><!-- Subst of {{Tl2}} ends --><noinclude>
<noinclude>
+
 
;Template Tl2 is just like Tl, :<br />
+
{{documentation}}
#in that it is very simple, and so it can be subst'd cleanly (<u>unlike</u> Tlx)<br /><br />
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
#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)
 
{{Tl/doc}}
 
<!--- Place Interwiki's in [[ Template:Tl/doc ]] please, not here --->
 
 
</noinclude>
 
</noinclude>

Latest revision as of 18:56, 11 August 2017

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

Template documentation[create]