Difference between revisions of "Template:Template-linking templates"

From MINR.ORG WIKI
(Templates with example: Banished "tranclusion counts" to where they belong: Trash can. There is a reason that they are outright forbidden in article space: They have no practical use.)
m (Cleaned up using AutoEd)
Line 19: Line 19:
 
|{{code|subst{{=}}yes}}
 
|{{code|subst{{=}}yes}}
 
|{{code|braceinside{{=}}yes}}
 
|{{code|braceinside{{=}}yes}}
|{{code|alttext{{=}}Foo}}<br>{{code|2{{=}}Foo}}
+
|{{code|alttext{{=}}Foo}}<br />{{code|2{{=}}Foo}}
 
|-
 
|-
 
|style="background:#eef;"| Normal
 
|style="background:#eef;"| Normal
 
| {{N/A}}
 
| {{N/A}}
| {{nowrap|{{tlx|tlg}}<sup>1, 2</sup>}}<br>{{tlx|tl}}<br><code>{{tla|t links|2=t&nbsp;links}}</code><br>{{tlx|tlp}}<sup>2</sup>
+
| {{nowrap|{{tlx|tlg}}<sup>1, 2</sup>}}<br />{{tlx|tl}}<br /><code>{{tla|t links|2=t&nbsp;links}}</code><br />{{tlx|tlp}}<sup>2</sup>
 
| {{tlx|tlf}}<sup>2</sup>
 
| {{tlx|tlf}}<sup>2</sup>
| {{tlx|tls}}<br>{{tlx|tlsp}}
+
| {{tlx|tls}}<br />{{tlx|tlsp}}
 
| {{tlx|tn}}
 
| {{tlx|tn}}
 
| {{tlx|tla}}
 
| {{tlx|tla}}
Line 32: Line 32:
 
| {{code|code{{=}}yes}} or<br />{{code|tt{{=}}yes}}
 
| {{code|code{{=}}yes}} or<br />{{code|tt{{=}}yes}}
 
| {{tlx|tlx}}
 
| {{tlx|tlx}}
| {{tlx|tlc}}<sup>2</sup><br>{{tlx|tld}}<sup>2</sup><br>{{tlx|tnull}}
+
| {{tlx|tlc}}<sup>2</sup><br />{{tlx|tld}}<sup>2</sup><br />{{tlx|tnull}}
 
| {{tlx|tlxs}}
 
| {{tlx|tlxs}}
 
| colspan="2" {{N/A}}
 
| colspan="2" {{N/A}}
Line 58: Line 58:
 
|-
 
|-
 
| {{tlx|lts|Hatnote}} || {{lts|hatnote}}
 
| {{tlx|lts|Hatnote}} || {{lts|hatnote}}
|  
+
|
 
|-
 
|-
 
| {{tlx|t links|Hatnote}} || {{t links|hatnote}}
 
| {{tlx|t links|Hatnote}} || {{t links|hatnote}}
Line 70: Line 70:
 
|-
 
|-
 
| {{tlx|tl|Hatnote}} || {{tlx|hatnote}}
 
| {{tlx|tl|Hatnote}} || {{tlx|hatnote}}
|  
+
|
 
|-
 
|-
 
| {{tlx|tl2|<nowiki>Hatnote|lang=fr</nowiki>}} || {{tl2|hatnote|lang=fr}}
 
| {{tlx|tl2|<nowiki>Hatnote|lang=fr</nowiki>}} || {{tl2|hatnote|lang=fr}}
Line 79: Line 79:
 
|-
 
|-
 
| {{tlx|tlb|Hatnote}} || {{tlb|hatnote}}
 
| {{tlx|tlb|Hatnote}} || {{tlb|hatnote}}
| [[Wikipedia:Templates_for_discussion#Template:Tlb|TfD]]
+
| [[Wikipedia:Templates for discussion#Template:Tlb|TfD]]
 
|-
 
|-
 
| {{tlx|tlc|Hatnote}} || {{tlc|hatnote}}
 
| {{tlx|tlc|Hatnote}} || {{tlc|hatnote}}
Line 100: Line 100:
 
|-
 
|-
 
| {{tlx|tlsp|<nowiki>Hatnote|Some text</nowiki>}} || {{tlsp|Hatnote|2=Some text}}
 
| {{tlx|tlsp|<nowiki>Hatnote|Some text</nowiki>}} || {{tlsp|Hatnote|2=Some text}}
|  
+
|
 
|-
 
|-
 
| {{tlx|tlu|User:Ahunt/SSHFS}} || {{tlu|User:Ahunt/SSHFS}}
 
| {{tlx|tlu|User:Ahunt/SSHFS}} || {{tlu|User:Ahunt/SSHFS}}
Line 109: Line 109:
 
|-
 
|-
 
| {{tlx|tlxb|Hatnote}} || {{tlxb|hatnote}}
 
| {{tlx|tlxb|Hatnote}} || {{tlxb|hatnote}}
| [[Wikipedia:Templates_for_discussion/Log/2014_April_20#Template:Tlxb|TfD]]
+
| [[Wikipedia:Templates for discussion/Log/2014 April 20#Template:Tlxb|TfD]]
 
|-
 
|-
 
| {{tlx|tlxi|Hatnote}} || {{tlxi|hatnote}}
 
| {{tlx|tlxi|Hatnote}} || {{tlxi|hatnote}}
| Italicises params. [[Wikipedia:Templates_for_discussion/Log/2014_April_20#Template:Tlxi|TfD]]
+
| Italicises params. [[Wikipedia:Templates for discussion/Log/2014 April 20#Template:Tlxi|TfD]]
 
|-
 
|-
 
| {{tlx|tlxs|Hatnote}} || {{tlxs|hatnote}}
 
| {{tlx|tlxs|Hatnote}} || {{tlxs|hatnote}}
Line 118: Line 118:
 
|-
 
|-
 
| {{tlx|tn|Hatnote}} || {{tn|hatnote}}
 
| {{tlx|tn|Hatnote}} || {{tn|hatnote}}
| [[Wikipedia:Templates_for_discussion/Log/2014_April_20#Template:Tn|TfD]]  
+
| [[Wikipedia:Templates for discussion/Log/2014 April 20#Template:Tn|TfD]]
 
|-
 
|-
 
| {{tlx|tnull|Hatnote}} || {{tnull|hatnote}}
 
| {{tlx|tnull|Hatnote}} || {{tnull|hatnote}}

Revision as of 05:58, 27 April 2014

Template:Navbar-header Template:Float

Templates by syntax

1 = {{tlg}} is the most general, allowing any combination of text style and/or link style options.
2 = Prevents wrapping of text by placing it inside <span class="nowrap">...</span> tags.

Templates with example

Code example Effect Note
{{lts|Hatnote}} Template:Lts
{{t links|Hatnote}} Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) · Module:hatnote For intensive template editing
{{tfd links|Hatnote}} Template:Hatnote (edit · talk · history · links · logs · subpages · delete) Used in WP:TfD
{{tiw|Hatnote}} Template:hatnote (backlinks edit)
{{tl|Hatnote}} {{hatnote}}
{{tl2|Hatnote|lang=fr}} {{hatnote}} Sister and other language wikis (e.g., fr:Hatnote)
{{tla|Hatnote|some label}} Template:Tla To add a wikilabel
{{tlb|Hatnote}} Template:Tlb TfD
{{tlc|Hatnote}} {{hatnote}}
{{tld|Hatnote}} {{hatnote}}
{{tlf|Hatnote}} {{hatnote}}
{{tlg|Hatnote}} {{Template:!((:Template:Hatnote|hatnoteTemplate:!))}}
{{tlp|Hatnote}} Template:Tlp
{{tls|Hatnote}} Template:Tls
{{tlsp|Hatnote|Some text}} Template:Tlsp
{{tlu|User:Ahunt/SSHFS}} {{User:Ahunt/SSHFS}} Any namespace
{{tlx|Hatnote}} {{hatnote}}
{{tlxb|Hatnote}} Template:Tlxb TfD
{{tlxi|Hatnote}} Template:Tlxi Italicises params. TfD
{{tlxs|Hatnote}} {{subst:hatnote}}
{{tn|Hatnote}} Template:Tn TfD
{{tnull|Hatnote}} Template:Tnull
{{xpd|Hatnote|Some hatnote text}} Template:If Show expanded text