Template:Template-linking templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>DePiep rm this list that did not help me in ten years. a demo should show |
meta>DePiep rm {{tlf}} demo -- if needed, it should be at the template's page not here |
||
Line 67: | Line 67: | ||
<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> | ||
; For parameter description | ; For parameter description | ||
* {{tlp|para|name|{{tlp|var|value}}}} …renders… {{para|name|{{var|value}}}} | * {{tlp|para|name|{{tlp|var|value}}}} …renders… {{para|name|{{var|value}}}} | ||
* {{tlp|para|name|{{tlp|varserif|value}}}} …renders… {{para|name|{{varserif|value}}}} | * {{tlp|para|name|{{tlp|varserif|value}}}} …renders… {{para|name|{{varserif|value}}}} | ||
* {{Tlp|tlx|Milford Haven Line|first parameter<nowiki>{{=}}</nowiki>first value}} …renders… {{tlx|Milford Haven Line|first parameter{{=}}first value}} | * {{Tlp|tlx|Milford Haven Line|first parameter<nowiki>{{=}}</nowiki>first value}} …renders… {{tlx|Milford Haven Line|first parameter{{=}}first value}} |
Revision as of 20:37, 18 April 2014
Template-linking templates
Links
Example template is {{hatnote}}
- {{cl}}: Category:hatnote
- {{lts}}: Template:Hatnote(edit talk links history)
- {{tfd links}}: Template:Hatnote (edit · talk · history · links · transclusions · logs · subpages · delete)
- {{t links}}: Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
- {{tiw}}: Template:hatnote (backlinks edit)
- {{tl}}: {{hatnote}}
- {{tl2}}:
{{hatnote}}
- {{tlp}}: {{hatnote}}
- {{tlsp}}: {{subst:hatnote}}
- {{tlu}}: {{hatnote}}
- {{tlx}}:
{{hatnote}}
- {{tn}}: {{hatnote}}
- {{xpd}}:
"{{hatnote}}"
gives "{{{1}}}" [1]
Options
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.- For parameter description
- {{para|name|{{var|value}}}} …renders…
|name=value
- {{para|name|{{varserif|value}}}} …renders…
|name=Template:Varserif
- {{tlx|Milford Haven Line|first parameter{{=}}first value}} …renders…
{{Milford Haven Line|first parameter=first value}}