Editing Template:T

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<includeonly><code>{{[[Template:{{{1|}}}|{{{text|{{{1|}}}|}}}]]<!--
+
__NOTOC__<includeonly><!--
  +
Templates tlc, tld, tlf have the following wrapping everything; do we need it?
-->{{#if:{{{2|}}}|&#124;{{{2}}}|}}<!--
 
  +
<span style="white-space:nowrap;">
-->{{#if:{{{3|}}}|&#124;{{{3}}}|}}<!--
 
  +
--><!--
-->{{#if:{{{4|}}}|&#124;{{{4}}}|}}<!--
 
  +
-- begin tt style if tt=yes given
-->{{#if:{{{5|}}}|&#124;{{{5}}}|}}<!--
 
-->{{#if:{{{6|}}}|&#124;{{{6}}}|}}<!--
+
-->{{#if:{{{tt|}}}|<tt>}}<!--
  +
-- begin code style if code=yes given
-->{{#if:{{{7|}}}|&#124;{{{7}}}|}}<!--
 
-->{{#if:{{{8|}}}|&#124;{{{8}}}|}}<!--
+
-->{{#if:{{{code|}}}|<code>}}<!--
  +
-- opening brace unless braceinside=yes
-->{{#if:{{{9|}}}|&#124;{{{9}}}|}}<!--
 
  +
-->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!--
-->}}</code></includeonly><noinclude>
 
  +
-- add subst prefix, if subst=yes given
== Documentation ==
 
  +
-->{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}<!--
=== Usage ===
 
  +
-- begin boldface if bold=yes given
Usage is as follows:
 
 
-->{{#if:{{{bold|}}}|'''}}<!--
 
  +
-- begin link if not nolink=yes; add any LANG and SISTER prefixes
{{t|t|template name|first parameter|second parameter}}.
 
  +
-->{{#if:{{{nolink|}}}||{{!(}}{{!(}}{{{LANG|}}}{{{SISTER|}}}<!--
 
  +
-- specify page to link to (unless nolink=yes)
To pass named parameters, you can
 
  +
-->{{#if:{{{1|}}}|{{#if:{{{anypage|}}}||{{ns:Template}}:}}{{{1|}}}|{{FULLPAGENAME}}}}{{!}}}}<!--
* 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}};
 
  +
-- opening brace if braceinside=yes
* 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
 
  +
-->{{#if:{{{braceinside|}}}|<nowiki>{{</nowiki>}}<!--
* use correctly numbered parameters.
 
  +
-- surface text of link
 
  +
-->{{{alttext|{{{1|{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|{{PAGENAME}}|{{FULLPAGENAME}}}}}}}}}}<!--
=== More information ===
 
  +
-- closing brace if braceinside=yes
{{for|Wikipedia: Template: Tlx|additional details and information}}
 
  +
-->{{#if:{{{braceinside|}}}|<nowiki>}}</nowiki>}}<!--
For additional details and information, please refer to the wikipedia's doc page: [[Wikipedia: Template: Tlx]]
 
  +
-- end of link, unless nolink=yes
 
 
-->{{#if:{{{nolink|}}}||]]}}<!--
[[Category: Link macros]]
 
  +
-- end boldface if bold=yes
 
 
-->{{#if:{{{bold|}}}|'''}}<!--
== Pages using Template ==
 
  +
-- add the remaining parameters
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
 
  +
-->{{#if:{{{2|}}}|
{{Special:WhatLinksHere/{{FULLPAGENAME}}|limit=100}}
 
  +
&#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.

Please note that all contributions to The Coppermind are considered to be released under the CC4 by-nc-nd (see Coppermind:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Templates used on this page: