Difference between revisions of "Template:Tl2"

From MINR.ORG WIKI
m (Protected Template:Tl2: frequently transcluded template, tempting target for vandalism [edit=autoconfirmed:move=autoconfirmed])
m (30 revisions imported: Imported Category TOC from wikipedia)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly><!-- Subst of {{Tl2}}follows --><tt><nowiki>{{</nowiki>[[{{{LANG|}}}{{{SISTER|}}}{{ns:Template}}: {{{1|}}}|{{{1|}}}]]{{#if:{{{2|}}}|&#124;{{{2}}}}}{{#if:{{{3|}}}|&#124;{{{3}}}}}<nowiki>}}</nowiki></tt><!-- Subst of {{Tl2}} ends --></includeonly><noinclude>
+
<!-- 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>
{{Documentation, template|content=;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 />
+
{{documentation}}
#but also displays a single template name like Tlx, and also like Tlx<br /><br />
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
#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]