Difference between revisions of "Template:Template-linking templates"
From MINR.ORG WIKI
(→Templates with example) |
(→Templates with example) |
||
Line 136: | Line 136: | ||
| {{tlx|tls|Hatnote}} | | {{tlx|tls|Hatnote}} | ||
| {{tls|hatnote}} | | {{tls|hatnote}} | ||
− | | | + | | subst |
| | | | ||
| 21k | | 21k | ||
Line 142: | Line 142: | ||
| {{tlx|tlsp|<nowiki>Hatnote|Some text</nowiki>}} | | {{tlx|tlsp|<nowiki>Hatnote|Some text</nowiki>}} | ||
| {{tlsp|Hatnote|2=Some text}} | | {{tlsp|Hatnote|2=Some text}} | ||
− | | | + | | subst |
| | | | ||
| 4500 | | 4500 | ||
Line 172: | Line 172: | ||
| {{tlx|tlxs|Hatnote}} | | {{tlx|tlxs|Hatnote}} | ||
| {{tlxs|hatnote}} | | {{tlxs|hatnote}} | ||
− | | | + | | subst, fmt |
| | | | ||
| | | |
Revision as of 00:18, 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 | |
{{tl|Hatnote}}
|
{{hatnote}}
|
base | 2.5M | |
{{tiw|Hatnote}}
|
Template:hatnote (backlinks edit) | unk | 300 | |
{{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 | subst | 21k | |
{{tlsp|Hatnote|Some text}}
|
Template:Tlsp | subst | 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}}
|
subst, fmt | ||
{{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 |