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

From MINR.ORG WIKI
(Templates with example)
(Templates with example)
Line 53: Line 53:
 
<sup>2</sup> = Prevents wrapping of text by placing it inside {{tag|span|params=class="nowrap"}}  tags.</div>
 
<sup>2</sup> = Prevents wrapping of text by placing it inside {{tag|span|params=class="nowrap"}}  tags.</div>
  
===Templates with example===
+
===Template linking, overview===
 
{| class="wikitable sortable" style="vertical-align:top;"
 
{| class="wikitable sortable" style="vertical-align:top;"
 
! code example !! effect !! note !! tc's<!--April 2014-->
 
! code example !! effect !! note !! tc's<!--April 2014-->
Line 179: Line 179:
 
| {{tn|hatnote}}
 
| {{tn|hatnote}}
 
| unk
 
| unk
| [[Wikipedia:Templates_for_discussion/Log/2014_April_20#Template:Tn|TfD]]  
+
| [[Wikipedia:Templates_for_discussion/Log/2014_April_20#Template:Tn|TfD]]
 
| 12k
 
| 12k
 
|-
 
|-

Revision as of 00:19, 26 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.

Template linking, overview

code example effect note tc's
{{lts|Hatnote}} Template:Lts base 14k
{{t links|Hatnote}} Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) · Module:hatnote base For intensive template editing
{{tfd links|Hatnote}} Template:Hatnote (edit · talk · history · links · logs · subpages · delete) base Used in heading of a WP:TfD
{{tl|Hatnote}} {{hatnote}} base 2.5M
{{tiw|Hatnote}} Template:hatnote (backlinks edit) unk 300
{{tl2|Hatnote|lang=fr}} {{hatnote}} iw Sister and other language wikis (e.g., fr:Hatnote) 2600
{{tla|Hatnote|some label}} Template:Tla fmt To add a wikilabel 1000
{{tlb|Hatnote}} Template:Tlb fmt TfD 82
{{tlc|Hatnote}} {{hatnote}} unk 200k
{{tld|Hatnote}} {{hatnote}} unk 14k
{{tlf|Hatnote}} {{hatnote}} unk 8000
{{tlg|Hatnote}} {{Template:!((:Template:Hatnote|hatnoteTemplate:!))}} unk 14k
{{tlp|Hatnote}} Template:Tlp unk 194k
{{tls|Hatnote}} Template:Tls subst 21k
{{tlsp|Hatnote|Some text}} Template:Tlsp subst 4500
{{tlu|User:Ahunt/SSHFS}} {{User:Ahunt/SSHFS}} ns Any namespace 4600
{{tlx|Hatnote}} {{hatnote}} fmt 850k
{{tlxb|Hatnote}} Template:Tlxb fmt TfD 22
{{tlxi|Hatnote}} Template:Tlxi fmt Italicises params. TfD 8
{{tlxs|Hatnote}} {{subst:hatnote}} subst, fmt
{{tn|Hatnote}} Template:Tn unk TfD 12k
{{tnull|Hatnote}} Template:Tnull unk 4000
{{xpd|Hatnote|Some hatnote text}} Template:If unk Show expanded text 64