Difference between revisions of "Template:T"

From The Coppermind
Jump to navigation Jump to search
(Replaced content with '<includeonly>{{[[Template:{{{1}}}|{{{2|{{{1}}}<!-- -->}}}]]}}</includeonly><noinclude> This template allows you to link to a template. See Wikipedia:Template:Tlg for a di…')
Line 1: Line 1:
  +
<includeonly>{{[[Template:{{{1}}}|{{{2|{{{1}}}<!-- -->}}}]]}}</includeonly><noinclude>
__NOTOC__<includeonly><!--
 
 
This template allows you to link to a template. See [[Wikipedia:Template:Tlg]] for a different version.
Templates tlc, tld, tlf have the following wrapping everything; do we need it?
 
<span style="white-space:nowrap;">
 
--><!--
 
-- begin tt style if tt=yes given
 
-->{{#if:{{{tt|}}}|<tt>}}<!--
 
-- begin code style if code=yes given
 
-->{{#if:{{{code|}}}|<code>}}<!--
 
-- opening brace unless braceinside=yes
 
-->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!--
 
-- add subst prefix, if subst=yes given
 
-->{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}<!--
 
-- begin boldface if bold=yes given
 
-->{{#if:{{{bold|}}}|'''}}<!--
 
-- begin link if not nolink=yes; add any LANG and SISTER prefixes
 
-->{{#if:{{{nolink|}}}||{{!(}}{{!(}}{{{LANG|}}}{{{SISTER|}}}<!--
 
-- specify page to link to (unless nolink=yes)
 
-->{{#if:{{{1|}}}|{{#if:{{{anypage|}}}||{{ns:Template}}:}}{{{1|}}}|{{FULLPAGENAME}}}}{{!}}}}<!--
 
-- opening brace if braceinside=yes
 
-->{{#if:{{{braceinside|}}}|<nowiki>{{</nowiki>}}<!--
 
-- surface text of link
 
-->{{{alttext|{{{1|{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|{{PAGENAME}}|{{FULLPAGENAME}}}}}}}}}}<!--
 
-- closing brace if braceinside=yes
 
-->{{#if:{{{braceinside|}}}|<nowiki>}}</nowiki>}}<!--
 
-- end of link, unless nolink=yes
 
-->{{#if:{{{nolink|}}}||]]}}<!--
 
-- end boldface if bold=yes
 
-->{{#if:{{{bold|}}}|'''}}<!--
 
-- add the remaining parameters
 
-->{{#if:{{{2|}}}|
 
&#124;{{{2}}}
 
}}<!--
 
-->{{#if:{{{3|}}}|
 
&#124;{{{3}}}
 
}}<!--
 
-->{{#if:{{{4|}}}|
 
&#124;{{{4}}}
 
}}<!--
 
-->{{#if:{{{5|}}}|
 
&#124;{{{5}}}
 
}}<!--
 
-->{{#if:{{{6|}}}|
 
&#124;{{{6}}}
 
}}<!--
 
-->{{#if:{{{7|}}}|
 
&#124;{{{7}}}
 
}}<!--
 
-->{{#if:{{{8|}}}|
 
&#124;{{{8}}}
 
}}<!--
 
-->{{#if:{{{9|}}}|
 
&#124;{{{9}}}
 
}}<!--
 
-->{{#if:{{{10|}}}|
 
&#124;{{{10}}}
 
}}<!--
 
-->{{#if:{{{11|}}}|
 
&#124;{{{11}}}
 
}}<!--
 
-->{{#if:{{{12|}}}|
 
&#124;''...''
 
}}<!--
 
-- closing brace unless braceinside=yes
 
-->{{#if:{{{braceinside|}}}||<nowiki>}}</nowiki>}}<!--
 
-- end code style if code=yes given
 
-->{{#if:{{{code|}}}|</code>}}<!--
 
-- end tt style if tt=yes given
 
-->{{#if:{{{tt|}}}|</tt>}}<!--
 
-- end
 
--></includeonly><noinclude>
 
This template allows you to link to a template. See [[Wikipedia:Template:Tlg]] for the original.
 

Revision as of 12:11, 24 June 2011

This template allows you to link to a template. See Wikipedia:Template:Tlg for a different version.