Template:Template-linking templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>DePiep |
meta>DePiep |
||
Line 55: | Line 55: | ||
===Templates with example=== | ===Templates with example=== | ||
{| class="wikitable sortable" style="vertical-align:top;" | {| class="wikitable sortable" style="vertical-align:top;" | ||
| {{tlx|lts|Hatnote}} | | {{tlx|lts|Hatnote}} || {{lts|hatnote}} | ||
|- | |- | ||
| {{tlx|t links|Hatnote}} | | {{tlx|t links|Hatnote}} || {{t links|hatnote}} | ||
|- | |- | ||
| {{tlx|tfd links|Hatnote}} | | {{tlx|tfd links|Hatnote}} || {{tfd links|hatnote}} | ||
| Used in [[WP:TfD]] | | Used in [[WP:TfD]] | ||
|- | |- | ||
| {{tlx|tiw|Hatnote}} | | {{tlx|tiw|Hatnote}} || {{tiw|hatnote}} | ||
|- | |- | ||
| {{tlx|tl|Hatnote}} | | {{tlx|tl|Hatnote}} || {{tlx|hatnote}} | ||
|- | |- | ||
| {{tlx|tl2|Hatnote}} | | {{tlx|tl2|Hatnote}} || {{tl2|hatnote}} | ||
|- | |- | ||
| {{tlx|tla|Hatnote|some label}} | | {{tlx|tla|Hatnote|some label}} || {{tla|hatnote|2=some label}} | ||
|- | |- | ||
| {{tlx|tlb|Hatnote}} | | {{tlx|tlb|Hatnote}} || {{tlb|hatnote}} | ||
|- | |- | ||
| {{tlx|tlc|Hatnote}} | | {{tlx|tlc|Hatnote}} || {{tlc|hatnote}} | ||
|- | |- | ||
| {{tlx|tld|Hatnote}} | | {{tlx|tld|Hatnote}} || {{tld|hatnote}} | ||
|- | |- | ||
| {{tlx|tlf|Hatnote}} | | {{tlx|tlf|Hatnote}} || {{tlf|hatnote}} | ||
|- | |- | ||
| {{tlx|tlg|Hatnote}} | | {{tlx|tlg|Hatnote}} || {{tlg|hatnote}} | ||
|- | |- | ||
| {{tlx|tlp|Hatnote}} | | {{tlx|tlp|Hatnote}} || {{tlp|hatnote}} | ||
|- | |- | ||
| {{tlx|tls|Hatnote}} | | {{tlx|tls|Hatnote}} || {{tls|hatnote}} | ||
|- | |- | ||
| {{tlx|tlsp|Hatnote}} | | {{tlx|tlsp|Hatnote}} || {{tlsp|hatnote}} | ||
|- | |- | ||
| {{tlx|tlu|Hatnote}} | | {{tlx|tlu|Hatnote}} || {{tlu|hatnote}} | ||
|- | |- | ||
| {{tlx|tlx|Hatnote}} | | {{tlx|tlx|Hatnote}} || {{tlx|hatnote}} | ||
|- | |- | ||
| {{tlx|tlxb|Hatnote}} | | {{tlx|tlxb|Hatnote}} || {{tlxb|hatnote}} | ||
|- | |- | ||
| {{tlx|tlxi|Hatnote}} | | {{tlx|tlxi|Hatnote}} || {{tlxi|hatnote}} | ||
|- | |- | ||
| {{tlx|tlxs|Hatnote}} | | {{tlx|tlxs|Hatnote}} || {{tlxs|hatnote}} | ||
|- | |- | ||
| {{tlx|tn|Hatnote}} | | {{tlx|tn|Hatnote}} || {{tn|hatnote}} | ||
|- | |- | ||
| {{tlx|tnull|Hatnote}} | | {{tlx|tnull|Hatnote}} || {{tnull|hatnote}} | ||
|- | |- | ||
| {{tlx|xpd|Hatnote}} | | {{tlx|xpd|Hatnote}} || {{xpd|hatnote}} | ||
|} | |} |
Revision as of 20:39, 20 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
{{lts|Hatnote}} |
Template:Hatnote(edit talk links history) | |
{{t links|Hatnote}} |
Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) | |
{{tfd links|Hatnote}} |
Template:Hatnote (edit · talk · history · links · transclusions · logs · subpages · delete) | Used in WP:TfD |
{{tiw|Hatnote}} |
Template:hatnote (backlinks edit) | |
{{tl|Hatnote}} |
{{hatnote}}
| |
{{tl2|Hatnote}} |
{{hatnote}}
| |
{{tla|Hatnote|some label}} |
{{some label}} | |
{{tlb|Hatnote}} |
{{hatnote}} | |
{{tlc|Hatnote}} |
{{hatnote}}
| |
{{tld|Hatnote}} |
{{hatnote}}
| |
{{tlf|Hatnote}} |
{{hatnote}} | |
{{tlg|Hatnote}} |
{{hatnote}} | |
{{tlp|Hatnote}} |
{{hatnote}} | |
{{tls|Hatnote}} |
{{subst:hatnote}} | |
{{tlsp|Hatnote}} |
{{subst:hatnote}} | |
{{tlu|Hatnote}} |
{{hatnote}} | |
{{tlx|Hatnote}} |
{{hatnote}}
| |
{{tlxb|Hatnote}} |
{{hatnote}}
| |
{{tlxi|Hatnote}} |
{{hatnote}}
| |
{{tlxs|Hatnote}} |
{{subst:hatnote}}
| |
{{tn|Hatnote}} |
{{hatnote}} | |
{{tnull|Hatnote}} |
{{hatnote}}
| |
{{xpd|Hatnote}} |
"{{hatnote}}" gives "{{{1}}} " [1]
|