Difference between revisions of "Template:Template-linking templates"
From MINR.ORG WIKI
(→Templates with example) |
(→Templates with example: categorise) |
||
Line 57: | Line 57: | ||
! code example !! effect !! note !! tc's<!--April 2014--> | ! code example !! effect !! note !! tc's<!--April 2014--> | ||
|- | |- | ||
− | | {{tlx|lts|Hatnote}} | + | | {{tlx|lts|Hatnote}} |
+ | | {{lts|hatnote}} | ||
+ | | base | ||
| | | | ||
| 14k | | 14k | ||
|- | |- | ||
− | | {{tlx|t links|Hatnote}} | + | | {{tlx|t links|Hatnote}} |
+ | | {{t links|hatnote}} | ||
+ | | base | ||
| For intensive template editing | | For intensive template editing | ||
| | | | ||
|- | |- | ||
− | | {{tlx|tfd links|Hatnote}} | + | | {{tlx|tfd links|Hatnote}} |
+ | | {{tfd links|hatnote}} | ||
+ | | base | ||
| Used in heading of a [[WP:TfD]] | | Used in heading of a [[WP:TfD]] | ||
| | | | ||
|- | |- | ||
− | | {{tlx|tiw|Hatnote}} | + | | {{tlx|tiw|Hatnote}} |
+ | | {{tiw|hatnote}} | ||
+ | | unk | ||
| | | | ||
| 300 | | 300 | ||
|- | |- | ||
− | | {{tlx|tl|Hatnote}} | + | | {{tlx|tl|Hatnote}} |
+ | | {{tlx|hatnote}} | ||
+ | | fmt | ||
| | | | ||
| 2.5M | | 2.5M | ||
|- | |- | ||
− | | {{tlx|tl2|<nowiki>Hatnote|lang=fr</nowiki>}} | + | | {{tlx|tl2|<nowiki>Hatnote|lang=fr</nowiki>}} |
+ | | {{tl2|hatnote|lang=fr}} | ||
+ | | iw | ||
| Sister and other language wikis (e.g., fr:Hatnote) | | Sister and other language wikis (e.g., fr:Hatnote) | ||
| 2600 | | 2600 | ||
|- | |- | ||
− | | {{tlx|tla|Hatnote|some label}} | + | | {{tlx|tla|Hatnote|some label}} |
+ | | {{tla|hatnote|2=some label}} | ||
+ | | fmt | ||
| To add a wikilabel | | To add a wikilabel | ||
| 1000 | | 1000 | ||
|- | |- | ||
− | | {{tlx|tlb|Hatnote}} | + | | {{tlx|tlb|Hatnote}} |
+ | | {{tlb|hatnote}} | ||
+ | | fmt | ||
| [[Wikipedia:Templates_for_discussion#Template:Tlb|TfD]] | | [[Wikipedia:Templates_for_discussion#Template:Tlb|TfD]] | ||
| 82 | | 82 | ||
|- | |- | ||
− | | {{tlx|tlc|Hatnote}} | + | | {{tlx|tlc|Hatnote}} |
− | | | + | | {{tlc|hatnote}} |
+ | | unk | ||
| 200k | | 200k | ||
|- | |- | ||
− | | {{tlx|tld|Hatnote}} | + | | {{tlx|tld|Hatnote}} |
+ | | {{tld|hatnote}} | ||
+ | | unk | ||
| | | | ||
| 14k | | 14k | ||
|- | |- | ||
− | | {{tlx|tlf|Hatnote}} | + | | {{tlx|tlf|Hatnote}} |
+ | | {{tlf|hatnote}} | ||
+ | | unk | ||
| | | | ||
| 8000 | | 8000 | ||
|- | |- | ||
− | | {{tlx|tlg|Hatnote}} | + | | {{tlx|tlg|Hatnote}} |
+ | | {{tlg|hatnote}} | ||
+ | | unk | ||
| | | | ||
| 14k | | 14k | ||
|- | |- | ||
− | | {{tlx|tlp|Hatnote}} | + | | {{tlx|tlp|Hatnote}} |
+ | | {{tlp|hatnote}} | ||
+ | | unk | ||
| | | | ||
| 194k | | 194k | ||
|- | |- | ||
− | | {{tlx|tls|Hatnote}} | + | | {{tlx|tls|Hatnote}} |
+ | | {{tls|hatnote}} | ||
+ | | unk | ||
| | | | ||
| 21k | | 21k | ||
|- | |- | ||
− | | {{tlx|tlsp|<nowiki>Hatnote|Some text</nowiki>}} | + | | {{tlx|tlsp|<nowiki>Hatnote|Some text</nowiki>}} |
+ | | {{tlsp|Hatnote|2=Some text}} | ||
+ | | unk | ||
| | | | ||
| 4500 | | 4500 | ||
|- | |- | ||
− | | {{tlx|tlu|User:Ahunt/SSHFS}} | + | | {{tlx|tlu|User:Ahunt/SSHFS}} |
+ | | {{tlu|User:Ahunt/SSHFS}} | ||
+ | | ns | ||
| Any namespace | | Any namespace | ||
| 4600 | | 4600 | ||
|- | |- | ||
− | | {{tlx|tlx|Hatnote}} | + | | {{tlx|tlx|Hatnote}} |
+ | | {{tlx|hatnote}} | ||
+ | | fmt | ||
| | | | ||
| 850k | | 850k | ||
|- | |- | ||
− | | {{tlx|tlxb|Hatnote}} | + | | {{tlx|tlxb|Hatnote}} |
+ | | {{tlxb|hatnote}} | ||
+ | | fmt | ||
| [[Wikipedia:Templates_for_discussion/Log/2014_April_20#Template:Tlxb|TfD]] | | [[Wikipedia:Templates_for_discussion/Log/2014_April_20#Template:Tlxb|TfD]] | ||
| 22 | | 22 | ||
|- | |- | ||
− | | {{tlx|tlxi|Hatnote}} | + | | {{tlx|tlxi|Hatnote}} |
+ | | {{tlxi|hatnote}} | ||
+ | | fmt | ||
| 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|tlxs|Hatnote}} | + | | {{tlx|tlxs|Hatnote}} |
+ | | {{tlxs|hatnote}} | ||
+ | | unk | ||
| | | | ||
| | | | ||
|- | |- | ||
− | | {{tlx|tn|Hatnote}} | + | | {{tlx|tn|Hatnote}} |
+ | | {{tn|hatnote}} | ||
+ | | 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 | ||
|- | |- | ||
− | | {{tlx|tnull|Hatnote}} | + | | {{tlx|tnull|Hatnote}} |
+ | | {{tnull|hatnote}} | ||
+ | | unk | ||
| | | | ||
| 4000 | | 4000 | ||
|- | |- | ||
− | | {{tlx|xpd|<nowiki>Hatnote|Some hatnote text</nowiki>}} | + | | {{tlx|xpd|<nowiki>Hatnote|Some hatnote text</nowiki>}} |
+ | | {{xpd|hatnote|Some hatnote text}} | ||
+ | | unk | ||
| Show expanded text | | Show expanded text | ||
| 64 | | 64 | ||
|} | |} |
Revision as of 00:14, 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.Templates with example
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 | |
{{tiw|Hatnote}}
|
Template:hatnote (backlinks edit) | unk | 300 | |
{{tl|Hatnote}}
|
{{hatnote}}
|
fmt | 2.5M | |
{{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 | unk | 21k | |
{{tlsp|Hatnote|Some text}}
|
Template:Tlsp | unk | 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}}
|
unk | ||
{{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 |