Template:Template-linking templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>DePiep No edit summary |
meta>DePiep add: column: supports params? |
||
Line 2: | Line 2: | ||
<noinclude>{{float|{{template shortcut|Tl-nav|Tl templates}}}}</noinclude> | <noinclude>{{float|{{template shortcut|Tl-nav|Tl templates}}}}</noinclude> | ||
==Template linking, overview== | |||
''This overview may be incomplete and miss certain features. See the documentation of individual templates.'' | ''This overview may be incomplete and miss certain features. See the documentation of individual templates.'' | ||
{| class="wikitable sortable" style="vertical-align:top;" | {| class="wikitable sortable" style="vertical-align:top;" | ||
! code example !! effect !! essence !! note !! transc's<!--April 2014--> | ! code example !! effect !! essence !! supports<br>params? !! note !! transc's<!--April 2014--> | ||
|- | |- | ||
| {{tlx|tl|Hatnote}} | | {{tlx|tl|Hatnote}} | ||
| {{tlx|hatnote}} | | {{tlx|hatnote}} | ||
| base | | base | ||
| no | |||
| | | | ||
| 2.5M | | 2.5M | ||
Line 16: | Line 17: | ||
| {{lts|hatnote}} | | {{lts|hatnote}} | ||
| base | | base | ||
| | | ? | ||
| | |||
| 14k | | 14k | ||
|- | |- | ||
Line 22: | Line 24: | ||
| {{t links|hatnote}} | | {{t links|hatnote}} | ||
| base | | base | ||
| ? | |||
| For intensive template editing | | For intensive template editing | ||
| | | | ||
Line 28: | Line 31: | ||
| {{tfd links|hatnote}} | | {{tfd links|hatnote}} | ||
| base | | base | ||
| ? | |||
| Used in heading of a [[WP:TfD]] | | Used in heading of a [[WP:TfD]] | ||
| | | | ||
Line 34: | Line 38: | ||
| {{tiw|hatnote}} | | {{tiw|hatnote}} | ||
| unk | | unk | ||
| ? | |||
| | | | ||
| 300 | | 300 | ||
Line 40: | Line 45: | ||
| {{tla|hatnote|2=some label}} | | {{tla|hatnote|2=some label}} | ||
| fmt | | fmt | ||
| ? | |||
| To add a wikilabel | | To add a wikilabel | ||
| 1000 | | 1000 | ||
Line 46: | Line 52: | ||
| {{tlb|hatnote}} | | {{tlb|hatnote}} | ||
| fmt | | fmt | ||
| ? | |||
| [[Wikipedia:Templates_for_discussion#Template:Tlb|TfD]] | | [[Wikipedia:Templates_for_discussion#Template:Tlb|TfD]] | ||
| 82 | | 82 | ||
Line 52: | Line 59: | ||
| {{tlc|hatnote}} | | {{tlc|hatnote}} | ||
| unk | | unk | ||
| ? | |||
| | | | ||
| 200k | | 200k | ||
Line 58: | Line 66: | ||
| {{tld|hatnote}} | | {{tld|hatnote}} | ||
| unk | | unk | ||
| ? | |||
| | | | ||
| 14k | | 14k | ||
Line 64: | Line 73: | ||
| {{tlf|hatnote}} | | {{tlf|hatnote}} | ||
| unk | | unk | ||
| ? | |||
| | | | ||
| 8000 | | 8000 | ||
Line 70: | Line 80: | ||
| {{tlg|hatnote}} | | {{tlg|hatnote}} | ||
| unk | | unk | ||
| ? | |||
| | | | ||
| 14k | | 14k | ||
Line 76: | Line 87: | ||
| {{tlp|hatnote}} | | {{tlp|hatnote}} | ||
| unk | | unk | ||
| ? | |||
| | | | ||
| 194k | | 194k | ||
Line 82: | Line 94: | ||
| {{tlx|hatnote}} | | {{tlx|hatnote}} | ||
| fmt | | fmt | ||
| ? | |||
| | | | ||
| 850k | | 850k | ||
Line 88: | Line 101: | ||
| {{tlxb|hatnote}} | | {{tlxb|hatnote}} | ||
| fmt | | 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 | ||
Line 94: | Line 108: | ||
| {{tlxi|hatnote}} | | {{tlxi|hatnote}} | ||
| fmt | | 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 | ||
Line 100: | Line 115: | ||
| {{tn|hatnote}} | | {{tn|hatnote}} | ||
| fmt | | fmt | ||
| ? | |||
| [[Wikipedia:Templates_for_discussion/Log/2014_April_20#Template:Tn|TfD]] | | [[Wikipedia:Templates_for_discussion/Log/2014_April_20#Template:Tn|TfD]] | ||
| 12k | | 12k | ||
Line 106: | Line 122: | ||
| {{tnull|hatnote}} | | {{tnull|hatnote}} | ||
| unk | | unk | ||
| ? | |||
| | | | ||
| 4000 | | 4000 | ||
Line 112: | Line 129: | ||
| {{xpd|hatnote|Some hatnote text}} | | {{xpd|hatnote|Some hatnote text}} | ||
| unk | | unk | ||
| ? | |||
| Show expanded text | | Show expanded text | ||
| 64 | | 64 | ||
Line 118: | Line 136: | ||
| {{tls|hatnote}} | | {{tls|hatnote}} | ||
| subst | | subst | ||
| ? | |||
| | | | ||
| 21k | | 21k | ||
Line 124: | Line 143: | ||
| {{tlsp|Hatnote|2=Some text}} | | {{tlsp|Hatnote|2=Some text}} | ||
| subst | | subst | ||
| ? | |||
| | | | ||
| 4500 | | 4500 | ||
Line 130: | Line 150: | ||
| {{tlxs|hatnote}} | | {{tlxs|hatnote}} | ||
| subst, fmt | | subst, fmt | ||
| ? | |||
| | | | ||
| | | | ||
Line 136: | Line 157: | ||
| {{tlu|User:Ahunt/SSHFS}} | | {{tlu|User:Ahunt/SSHFS}} | ||
| ns | | ns | ||
| ? | |||
| Any namespace | | Any namespace | ||
| 4600 | | 4600 | ||
Line 142: | Line 164: | ||
| {{tl2|hatnote|lang=fr}} | | {{tl2|hatnote|lang=fr}} | ||
| iw | | iw | ||
| ? | |||
| Sister and other language wikis (e.g., fr:Hatnote) | | Sister and other language wikis (e.g., fr:Hatnote) | ||
| 2600 | | 2600 |
Revision as of 00:26, 27 April 2014
Template-linking templates
Template linking, overview
This overview may be incomplete and miss certain features. See the documentation of individual templates.
code example | effect | essence | supports params? |
note | transc's |
---|---|---|---|---|---|
{{tl|Hatnote}}
|
{{hatnote}}
|
base | no | 2.5M | |
{{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 | |
{{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 | |
{{tlx|Hatnote}}
|
{{hatnote}}
|
fmt | ? | 850k | |
{{tlxb|Hatnote}}
|
{{hatnote}}
|
fmt | ? | TfD | 22 |
{{tlxi|Hatnote}}
|
{{hatnote}}
|
fmt | ? | Italicises params. TfD | 8 |
{{tn|Hatnote}}
|
{{hatnote}} | fmt | ? | 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 |
{{tls|Hatnote}}
|
{{subst:hatnote}} | subst | ? | 21k | |
{{tlsp|Hatnote|Some text}}
|
{{subst:Hatnote|Some text}} | 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 |
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.