Difference between revisions of "Template:Template-linking templates"
From MINR.ORG WIKI
(→Links: abc) |
(Three changes, made with regards to transclusions: (1) Moved "Links" to the bottom" (2) Downgraded heading to level three (3) Renamed sections to "Table" and "Lists") |
||
Line 1: | Line 1: | ||
{{Navbar-header|{{lower|0.5em|{{resize|120%|'''Template-linking templates'''}}}}|Tl-nav|plain=1}} | {{Navbar-header|{{lower|0.5em|{{resize|120%|'''Template-linking templates'''}}}}|Tl-nav|plain=1}} | ||
<noinclude>{{float|{{template shortcut|Tl-nav|Tl templates}}}}</noinclude> | <noinclude>{{float|{{template shortcut|Tl-nav|Tl templates}}}}</noinclude> | ||
− | == | + | ===Table=== |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| class="wikitable navbox collapsible" style="width:auto;font-size:90%;margin:1.0em auto 1.0em auto;vertical-align:top;text-align:left;" | {| class="wikitable navbox collapsible" style="width:auto;font-size:90%;margin:1.0em auto 1.0em auto;vertical-align:top;text-align:left;" | ||
|- | |- | ||
Line 78: | Line 51: | ||
<div align=left style="font-size:90%; text-align:left;"><sup>1</sup> = {{tlx|tlg}} is the most general, allowing any combination of text style and/or link style options.<br /> | <div align=left style="font-size:90%; text-align:left;"><sup>1</sup> = {{tlx|tlg}} is the most general, allowing any combination of text style and/or link style options.<br /> | ||
<sup>2</sup> = Prevents wrapping of text by placing it inside {{tag|span|params=class="nowrap"}} tags.</div> | <sup>2</sup> = Prevents wrapping of text by placing it inside {{tag|span|params=class="nowrap"}} tags.</div> | ||
+ | |||
+ | ===Lists=== | ||
+ | Example template is {{tl|hatnote}} | ||
+ | * {{tl|cl}}: {{cl|hatnote}} | ||
+ | * {{tl|lts}}: {{lts|hatnote}} | ||
+ | * {{tl|t links}}: {{t links|hatnote}} | ||
+ | * {{tl|tfd links}}: {{tfd links|hatnote}} | ||
+ | * {{tl|tiw}}: {{tiw|hatnote}} | ||
+ | * {{tl|tl}}: {{tl|hatnote}} | ||
+ | * {{tl|tl2}}: {{tl2|hatnote}} | ||
+ | * {{tl|tla}}: {{tn|hatnote|2=some label}} | ||
+ | * {{tl|tlb}}: {{tlb|hatnote}} | ||
+ | * {{tl|tlc}}: {{tlc|hatnote}} | ||
+ | * {{tl|tld}}: {{tld|hatnote}} | ||
+ | * {{tl|tlf}}: {{tlf|hatnote}} | ||
+ | * {{tl|tlg}}: {{tlg|hatnote}} | ||
+ | * {{tl|tlp}}: {{tlp|hatnote}} | ||
+ | * {{tl|tls}}: {{tls|hatnote}} | ||
+ | * {{tl|tlsp}}: {{tlsp|hatnote}} | ||
+ | * {{tl|tlu}}: {{tlu|hatnote}} | ||
+ | * {{tl|tlx}}: {{tlx|hatnote}} | ||
+ | * {{tl|tlxb}}: {{tlxb|hatnote}} | ||
+ | * {{tl|tlxi}}: {{tlxi|hatnote}} | ||
+ | * {{tl|tlxs}}: {{tlxs|hatnote}} | ||
+ | * {{tl|tn}}: {{tn|hatnote}} | ||
+ | * {{tl|tnull}}: {{tnull|hatnote}} | ||
+ | * {{tl|xpd}}: {{xpd|hatnote}} |
Revision as of 09:58, 19 April 2014
Template:Navbar-header Template:Float
Table
Link style → | Linked | Unlinked | Linked with subst | Linked including braces | Linked with alternative text | |
---|---|---|---|---|---|---|
Text style ↓ | {{tlg}} option1
|
— | Template:Code | Template:Code | Template:Code | Template:Code Template:Code |
Normal | — | {{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}}
|
||
Bold | Template:Code | {{tlb}}
|
||||
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.Lists
Example template is {{hatnote}}
- {{cl}}: Template:Cl
- {{lts}}: Template:Lts
- {{t links}}: Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) · Module:hatnote
- {{tfd links}}: Template:Hatnote (edit · talk · history · links · logs · subpages · delete)
- {{tiw}}: Template:hatnote (backlinks edit)
- {{tl}}: {{hatnote}}
- {{tl2}}:
{{hatnote}}
- {{tla}}: Template:Tn
- {{tlb}}: Template:Tlb
- {{tlc}}:
{{hatnote}}
- {{tld}}:
{{hatnote}}
- {{tlf}}: {{hatnote}}
- {{tlg}}: {{Template:!((:Template:Hatnote|hatnoteTemplate:!))}}
- {{tlp}}: Template:Tlp
- {{tls}}: Template:Tls
- {{tlsp}}: Template:Tlsp
- {{tlu}}:
{{hatnote}}
- {{tlx}}:
{{hatnote}}
- {{tlxb}}: Template:Tlxb
- {{tlxi}}: Template:Tlxi
- {{tlxs}}:
{{subst:hatnote}}
- {{tn}}: Template:Tn
- {{tnull}}: Template:Tnull
- {{xpd}}: Template:If