Difference between revisions of "Template:Template-linking templates"
From MINR.ORG WIKI
(Reverted 20 edits by User:DePiep. This new format is a torture. Long alphabetical lists of unknown stuff are already awful; complimenting it with impractical stats like "transclusion count" is pandemonium.) |
(→Templates with example: Banished "tranclusion counts" to where they belong: Trash can. There is a reason that they are outright forbidden in article space: They have no practical use.) |
||
Line 55: | Line 55: | ||
===Templates with example=== | ===Templates with example=== | ||
{| class="wikitable sortable" style="vertical-align:top;" | {| class="wikitable sortable" style="vertical-align:top;" | ||
− | ! | + | ! Code example !! Effect !! Note |
|- | |- | ||
| {{tlx|lts|Hatnote}} || {{lts|hatnote}} | | {{tlx|lts|Hatnote}} || {{lts|hatnote}} | ||
| | | | ||
− | |||
|- | |- | ||
| {{tlx|t links|Hatnote}} || {{t links|hatnote}} | | {{tlx|t links|Hatnote}} || {{t links|hatnote}} | ||
| For intensive template editing | | For intensive template editing | ||
− | |||
|- | |- | ||
| {{tlx|tfd links|Hatnote}} || {{tfd links|hatnote}} | | {{tlx|tfd links|Hatnote}} || {{tfd links|hatnote}} | ||
| Used in [[WP:TfD]] | | Used in [[WP:TfD]] | ||
− | |||
|- | |- | ||
| {{tlx|tiw|Hatnote}} || {{tiw|hatnote}} | | {{tlx|tiw|Hatnote}} || {{tiw|hatnote}} | ||
| | | | ||
− | |||
|- | |- | ||
| {{tlx|tl|Hatnote}} || {{tlx|hatnote}} | | {{tlx|tl|Hatnote}} || {{tlx|hatnote}} | ||
| | | | ||
− | |||
|- | |- | ||
| {{tlx|tl2|<nowiki>Hatnote|lang=fr</nowiki>}} || {{tl2|hatnote|lang=fr}} | | {{tlx|tl2|<nowiki>Hatnote|lang=fr</nowiki>}} || {{tl2|hatnote|lang=fr}} | ||
| Sister and other language wikis (e.g., fr:Hatnote) | | Sister and other language wikis (e.g., fr:Hatnote) | ||
− | |||
|- | |- | ||
| {{tlx|tla|Hatnote|some label}} || {{tla|hatnote|2=some label}} | | {{tlx|tla|Hatnote|some label}} || {{tla|hatnote|2=some label}} | ||
| To add a wikilabel | | To add a wikilabel | ||
− | |||
|- | |- | ||
| {{tlx|tlb|Hatnote}} || {{tlb|hatnote}} | | {{tlx|tlb|Hatnote}} || {{tlb|hatnote}} | ||
| [[Wikipedia:Templates_for_discussion#Template:Tlb|TfD]] | | [[Wikipedia:Templates_for_discussion#Template:Tlb|TfD]] | ||
− | |||
|- | |- | ||
| {{tlx|tlc|Hatnote}} || {{tlc|hatnote}} | | {{tlx|tlc|Hatnote}} || {{tlc|hatnote}} | ||
| | | | ||
− | |||
|- | |- | ||
| {{tlx|tld|Hatnote}} || {{tld|hatnote}} | | {{tlx|tld|Hatnote}} || {{tld|hatnote}} | ||
| | | | ||
− | |||
|- | |- | ||
| {{tlx|tlf|Hatnote}} || {{tlf|hatnote}} | | {{tlx|tlf|Hatnote}} || {{tlf|hatnote}} | ||
| | | | ||
− | |||
|- | |- | ||
| {{tlx|tlg|Hatnote}} || {{tlg|hatnote}} | | {{tlx|tlg|Hatnote}} || {{tlg|hatnote}} | ||
| | | | ||
− | |||
|- | |- | ||
| {{tlx|tlp|Hatnote}} || {{tlp|hatnote}} | | {{tlx|tlp|Hatnote}} || {{tlp|hatnote}} | ||
| | | | ||
− | |||
|- | |- | ||
| {{tlx|tls|Hatnote}} || {{tls|hatnote}} | | {{tlx|tls|Hatnote}} || {{tls|hatnote}} | ||
| | | | ||
− | |||
|- | |- | ||
| {{tlx|tlsp|<nowiki>Hatnote|Some text</nowiki>}} || {{tlsp|Hatnote|2=Some text}} | | {{tlx|tlsp|<nowiki>Hatnote|Some text</nowiki>}} || {{tlsp|Hatnote|2=Some text}} | ||
| | | | ||
− | |||
|- | |- | ||
| {{tlx|tlu|User:Ahunt/SSHFS}} || {{tlu|User:Ahunt/SSHFS}} | | {{tlx|tlu|User:Ahunt/SSHFS}} || {{tlu|User:Ahunt/SSHFS}} | ||
| Any namespace | | Any namespace | ||
− | |||
|- | |- | ||
| {{tlx|tlx|Hatnote}} || {{tlx|hatnote}} | | {{tlx|tlx|Hatnote}} || {{tlx|hatnote}} | ||
| | | | ||
− | |||
|- | |- | ||
| {{tlx|tlxb|Hatnote}} || {{tlxb|hatnote}} | | {{tlx|tlxb|Hatnote}} || {{tlxb|hatnote}} | ||
| [[Wikipedia:Templates_for_discussion/Log/2014_April_20#Template:Tlxb|TfD]] | | [[Wikipedia:Templates_for_discussion/Log/2014_April_20#Template:Tlxb|TfD]] | ||
− | |||
|- | |- | ||
| {{tlx|tlxi|Hatnote}} || {{tlxi|hatnote}} | | {{tlx|tlxi|Hatnote}} || {{tlxi|hatnote}} | ||
| 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]] | ||
− | |||
|- | |- | ||
| {{tlx|tlxs|Hatnote}} || {{tlxs|hatnote}} | | {{tlx|tlxs|Hatnote}} || {{tlxs|hatnote}} | ||
− | |||
| | | | ||
|- | |- | ||
| {{tlx|tn|Hatnote}} || {{tn|hatnote}} | | {{tlx|tn|Hatnote}} || {{tn|hatnote}} | ||
| [[Wikipedia:Templates_for_discussion/Log/2014_April_20#Template:Tn|TfD]] | | [[Wikipedia:Templates_for_discussion/Log/2014_April_20#Template:Tn|TfD]] | ||
− | |||
|- | |- | ||
| {{tlx|tnull|Hatnote}} || {{tnull|hatnote}} | | {{tlx|tnull|Hatnote}} || {{tnull|hatnote}} | ||
| | | | ||
− | |||
|- | |- | ||
| {{tlx|xpd|<nowiki>Hatnote|Some hatnote text</nowiki>}} || {{xpd|hatnote|Some hatnote text}} | | {{tlx|xpd|<nowiki>Hatnote|Some hatnote text</nowiki>}} || {{xpd|hatnote|Some hatnote text}} | ||
| Show expanded text | | Show expanded text | ||
− | |||
|} | |} |
Revision as of 05:56, 27 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 |
---|---|---|
{{lts|Hatnote}} |
Template:Lts | |
{{t links|Hatnote}} |
Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) · Module:hatnote | For intensive template editing |
{{tfd links|Hatnote}} |
Template:Hatnote (edit · talk · history · links · logs · subpages · delete) | Used in WP:TfD |
{{tiw|Hatnote}} |
Template:hatnote (backlinks edit) | |
{{tl|Hatnote}} |
{{hatnote}}
|
|
{{tl2|Hatnote|lang=fr}} |
{{hatnote}}
|
Sister and other language wikis (e.g., fr:Hatnote) |
{{tla|Hatnote|some label}} |
Template:Tla | To add a wikilabel |
{{tlb|Hatnote}} |
Template:Tlb | TfD |
{{tlc|Hatnote}} |
{{hatnote}}
|
|
{{tld|Hatnote}} |
{{hatnote}}
|
|
{{tlf|Hatnote}} |
{{hatnote}} | |
{{tlg|Hatnote}} |
{{Template:!((:Template:Hatnote|hatnoteTemplate:!))}} | |
{{tlp|Hatnote}} |
Template:Tlp | |
{{tls|Hatnote}} |
Template:Tls | |
{{tlsp|Hatnote|Some text}} |
Template:Tlsp | |
{{tlu|User:Ahunt/SSHFS}} |
{{User:Ahunt/SSHFS}}
|
Any namespace |
{{tlx|Hatnote}} |
{{hatnote}}
|
|
{{tlxb|Hatnote}} |
Template:Tlxb | TfD |
{{tlxi|Hatnote}} |
Template:Tlxi | Italicises params. TfD |
{{tlxs|Hatnote}} |
{{subst:hatnote}}
|
|
{{tn|Hatnote}} |
Template:Tn | TfD |
{{tnull|Hatnote}} |
Template:Tnull | |
{{xpd|Hatnote|Some hatnote text}} |
Template:If | Show expanded text |