Difference between revisions of "Template:T"

Jump to navigation Jump to search
697 bytes removed ,  4 years ago
m
+usage
(Created page with '__NOTOC__<includeonly><!-- Templates tlc, tld, tlf have the following wrapping everything; do we need it? <span style="white-space:nowrap;"> --><!-- -- begin tt style if tt=ye…')
 
m (+usage)
 
(14 intermediate revisions by 2 users not shown)
__NOTOC__<includeonly><code>{{[[Template:{{{1|}}}|{{{text|{{{1|}}}|}}}]]<!--
-->{{#if:{{{tt2|}}}|</tt>&#124;{{{2}}}|}}<!--
Templates tlc, tld, tlf have the following wrapping everything; do we need it?
-->{{#if:{{{bold3|}}}|'''&#124;{{{3}}}|}}<!--
<span style="white-space:nowrap;">
-->{{#if:{{{bold4|}}}|'''&#124;{{{4}}}|}}<!--
--><!--
-->{{#if:{{{code5|}}}|</code>&#124;{{{5}}}|}}<!--
-- begin tt style if tt=yes given
-->{{#if:{{{tt6|}}}|<tt>&#124;{{{6}}}|}}<!--
-->{{#if:{{{nolink7|}}}|&#124;{{{7}}}|]]}}<!--
-- begin code style if code=yes given
-->{{#if:{{{code8|}}}|<code>&#124;{{{8}}}|}}<!--
-->{{#if:{{{9|}}}|&#124;{{{9}}}|}}<!--
-- opening brace unless braceinside=yes
-->}}</code></includeonly><noinclude>
-->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!--
== Documentation ==
-- add subst prefix, if subst=yes given
=== Usage ===
-->{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}<!--
Usage is as follows:
-- begin boldface if bold=yes given
 
-->{{#if:{{{bold|}}}|'''}}<!--
{{t|t|template name|first parameter|second parameter}}.
-- begin link if not nolink=yes; add any LANG and SISTER prefixes
 
-->{{#if:{{{nolink|}}}||{{!(}}{{!(}}{{{LANG|}}}{{{SISTER|}}}<!--
To pass named parameters, you can
-- specify page to link to (unless nolink=yes)
* use <code>name &#<span>61</span>; value</code> — {{t|t|Rosharan numeric date|year &#<span>61</span>; 1172|month &#<span>61</span>; 5|week &#<span>61</span>; 10|day &#<span>61</span>; 6}};
-->{{#if:{{{1|}}}|{{#if:{{{anypage|}}}||{{ns:Template}}:}}{{{1|}}}|{{FULLPAGENAME}}}}{{!}}}}<!--
* surround it in <code><nowiki><nowiki /></nowiki></code> tags — <code><nowiki>{{t|Rosharan numeric date|<nowiki>year=1172|month=5|week=1|day=6</nowiki></nowiki>}}</code>; or
-- opening brace if braceinside=yes
* use correctly numbered parameters.
-->{{#if:{{{braceinside|}}}|<nowiki>{{</nowiki>}}<!--
 
-- surface text of link
=== More information ===
-->{{{alttext|{{{1|{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|{{PAGENAME}}|{{FULLPAGENAME}}}}}}}}}}<!--
{{for|Wikipedia: Template: Tlx|additional details and information}}
-- closing brace if braceinside=yes
For additional details and information, please refer to the wikipedia's doc page: [[Wikipedia: Template: Tlx]]
-->{{#if:{{{braceinside|}}}|<nowiki>}}</nowiki>}}<!--
 
-- end of link, unless nolink=yes
[[Category: Link macros]]
-->{{#if:{{{nolink|}}}||]]}}<!--
 
-- end boldface if bold=yes
== Pages using Template ==
-->{{#if:{{{bold|}}}|'''}}<!--
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
-- add the remaining parameters
{{Special:WhatLinksHere/{{FULLPAGENAME}}|limit=100}}
-->{{#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.
40,275

edits

Navigation menu