Template:Template-linking templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>DePiep |
meta>DePiep →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 23:14, 25 April 2014
Template-linking templates
Templates by syntax
Link style → | Linked | Unlinked | Linked with subst | Linked including braces | Linked with alternative text | |
---|---|---|---|---|---|---|
Text style ↓ | ↓ {{tlg}} options1 →
|
Template:N/A | nolink=yes
|
subst=yes
|
braceinside=yes
|
alttext=Foo 2=Foo
|
Normal | Template:N/A | {{tlg}} 1, 2{{tl}} {{t links}} {{tlp}} 2
|
{{tlf}} 2
|
{{tls}} {{tlsp}}
|
{{tn}}
|
{{tla}}
|
Code
|
code=yes ortt=yes
|
{{tlx}}
|
{{tlc}} 2{{tld}} 2{{tnull}}
|
{{tlxs}}
|
colspan="2" Template:N/A | |
Bold | bold=yes
|
{{tlb}}
|
rowspan="3" colspan="4" Template:N/A | |||
Bold code
|
code=yes | {{tlxb}}
| ||||
Italic code
|
code=yes | {{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:Hatnote(edit talk links history) | base | 14k | |
{{t links|Hatnote}}
|
Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) | base | For intensive template editing | |
{{tfd links|Hatnote}}
|
Template:Hatnote (edit · talk · history · links · transclusions · 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}}
|
{{some label}} | fmt | To add a wikilabel | 1000 |
{{tlb|Hatnote}}
|
{{hatnote}} | fmt | TfD | 82 |
{{tlc|Hatnote}}
|
{{hatnote}}
|
unk | 200k | |
{{tld|Hatnote}}
|
{{hatnote}}
|
unk | 14k | |
{{tlf|Hatnote}}
|
{{hatnote}} | unk | 8000 | |
{{tlg|Hatnote}}
|
{{hatnote}} | unk | 14k | |
{{tlp|Hatnote}}
|
{{hatnote}} | unk | 194k | |
{{tls|Hatnote}}
|
{{subst:hatnote}} | unk | 21k | |
{{tlsp|Hatnote|Some text}}
|
{{subst:Hatnote|Some text}} | unk | 4500 | |
{{tlu|User:Ahunt/SSHFS}}
|
{{User:Ahunt/SSHFS}} | ns | Any namespace | 4600 |
{{tlx|Hatnote}}
|
{{hatnote}}
|
fmt | 850k | |
{{tlxb|Hatnote}}
|
{{hatnote}}
|
fmt | TfD | 22 |
{{tlxi|Hatnote}}
|
{{hatnote}}
|
fmt | Italicises params. TfD | 8 |
{{tlxs|Hatnote}}
|
{{subst:hatnote}}
|
unk | ||
{{tn|Hatnote}}
|
{{hatnote}} | unk | TfD | 12k |
{{tnull|Hatnote}}
|
{{hatnote}}
|
unk | 4000 | |
{{xpd|Hatnote|Some hatnote text}}
|
"{{hatnote|Some hatnote text}}" gives "Some hatnote text " [1]
|
unk | Show expanded text | 64 |