Difference between revisions of "Template:Template-linking templates"
From MINR.ORG WIKI
(→Template linking, overview) |
(→Template linking, overview) |
||
Line 129: | Line 129: | ||
| | | | ||
| 194k | | 194k | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| {{tlx|tlx|Hatnote}} | | {{tlx|tlx|Hatnote}} | ||
Line 165: | Line 147: | ||
| 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]] | ||
| 8 | | 8 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| {{tlx|tn|Hatnote}} | | {{tlx|tn|Hatnote}} | ||
Line 189: | Line 165: | ||
| Show expanded text | | Show expanded text | ||
| 64 | | 64 | ||
+ | |- | ||
+ | | {{tlx|tls|Hatnote}} | ||
+ | | {{tls|hatnote}} | ||
+ | | subst | ||
+ | | | ||
+ | | 21k | ||
+ | |- | ||
+ | | {{tlx|tlsp|<nowiki>Hatnote|Some text</nowiki>}} | ||
+ | | {{tlsp|Hatnote|2=Some text}} | ||
+ | | subst | ||
+ | | | ||
+ | | 4500 | ||
+ | |- | ||
+ | | {{tlx|tlxs|Hatnote}} | ||
+ | | {{tlxs|hatnote}} | ||
+ | | subst, fmt | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | {{tlx|tlu|User:Ahunt/SSHFS}} | ||
+ | | {{tlu|User:Ahunt/SSHFS}} | ||
+ | | ns | ||
+ | | Any namespace | ||
+ | | 4600 | ||
|- | |- | ||
| {{tlx|tl2|<nowiki>Hatnote|lang=fr</nowiki>}} | | {{tlx|tl2|<nowiki>Hatnote|lang=fr</nowiki>}} |
Revision as of 00:26, 26 April 2014
Template:Navbar-header Template:Float
Templates by syntax
Link style → | Linked | Unlinked | Linked with subst | Linked including braces | Linked with alternative text | |
---|---|---|---|---|---|---|
Text style ↓ | ↓ {{tlg}} options1 →
|
Template:N/A | Template:Code | Template:Code | Template:Code | Template:Code Template:Code |
Normal | Template:N/A | {{tlg}} 1, 2{{tl}} Template:Tla {{tlp}} 2
|
{{tlf}} 2
|
{{tls}} {{tlsp}}
|
{{tn}}
|
{{tla}}
|
Code
|
Template:Code or Template:Code |
{{tlx}}
|
{{tlc}} 2{{tld}} 2{{tnull}}
|
{{tlxs}}
|
colspan="2" Template:N/A | |
Bold | Template:Code | {{tlb}}
|
rowspan="3" colspan="4" Template:N/A | |||
Bold code
|
Template:Code | {{tlxb}}
| ||||
Italic code
|
Template:Code | {{tlxi}}
|
1 =
2 = Prevents wrapping of text by placing it inside
{{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
This overview may be incomplete and miss certain features. See the documentation of individual templates.
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 | |
{{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 | |
{{tlx|Hatnote}}
|
{{hatnote}}
|
fmt | 850k | |
{{tlxb|Hatnote}}
|
Template:Tlxb | fmt | TfD | 22 |
{{tlxi|Hatnote}}
|
Template:Tlxi | fmt | Italicises params. TfD | 8 |
{{tn|Hatnote}}
|
Template:Tn | fmt | TfD | 12k |
{{tnull|Hatnote}}
|
Template:Tnull | unk | 4000 | |
{{xpd|Hatnote|Some hatnote text}}
|
Template:If | unk | Show expanded text | 64 |
{{tls|Hatnote}}
|
Template:Tls | subst | 21k | |
{{tlsp|Hatnote|Some text}}
|
Template:Tlsp | subst | 4500 | |
{{tlxs|Hatnote}}
|
{{subst:hatnote}}
|
subst, fmt | ||
{{tlu|User:Ahunt/SSHFS}}
|
{{User:Ahunt/SSHFS}}
|
ns | Any namespace | 4600 |
{{tl2|Hatnote|lang=fr}}
|
{{hatnote}}
|
iw | Sister and other language wikis (e.g., fr:Hatnote) | 2600 |