Template:Template-linking templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>DePiep →Links: abc |
meta>Codename Lisa 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 08:58, 19 April 2014
Template-linking templates
Table
Link style → | Linked | Unlinked | Linked with subst | Linked including braces | Linked with alternative text | |
---|---|---|---|---|---|---|
Text style ↓ | {{tlg}} option1
|
— | nolink=yes
|
subst=yes
|
braceinside=yes
|
alttext=Foo 2=Foo
|
Normal | — | {{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}}
|
||
Bold | bold=yes
|
{{tlb}}
|
||||
Bold code
|
bold=yes|code=yes
|
{{tlxb}}
| ||||
Italic code
|
italic=yes|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.Lists
Example template is {{hatnote}}
- {{cl}}: Category:hatnote
- {{lts}}: Template:Hatnote(edit talk links history)
- {{t links}}: Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
- {{tfd links}}: Template:Hatnote (edit · talk · history · links · transclusions · logs · subpages · delete)
- {{tiw}}: Template:hatnote (backlinks edit)
- {{tl}}: {{hatnote}}
- {{tl2}}:
{{hatnote}}
- {{tla}}: {{hatnote}}
- {{tlb}}: {{hatnote}}
- {{tlc}}:
{{hatnote}}
- {{tld}}:
{{hatnote}}
- {{tlf}}: {{hatnote}}
- {{tlg}}: {{hatnote}}
- {{tlp}}: {{hatnote}}
- {{tls}}: {{subst:hatnote}}
- {{tlsp}}: {{subst:hatnote}}
- {{tlu}}: {{hatnote}}
- {{tlx}}:
{{hatnote}}
- {{tlxb}}:
{{hatnote}}
- {{tlxi}}:
{{hatnote}}
- {{tlxs}}:
{{subst:hatnote}}
- {{tn}}: {{hatnote}}
- {{tnull}}:
{{hatnote}}
- {{xpd}}:
"{{hatnote}}"
gives "{{{1}}}" [1]