Difference between revisions of "Template:Template-linking templates"
From MINR.ORG WIKI
(rm this list that did not help me in ten years. a demo should show) |
(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 21:37, 18 April 2014
Template:Navbar-header Template:Float
Links
Example template is {{hatnote}}
- {{cl}}: Template:Cl
- {{lts}}: Template:Lts
- {{tfd links}}: Template:Hatnote (edit · talk · history · links · logs · subpages · delete)
- {{t links}}: Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) · Module:hatnote
- {{tiw}}: Template:hatnote (backlinks edit)
- {{tl}}: {{hatnote}}
- {{tl2}}:
{{hatnote}}
- {{tlp}}: Template:Tlp
- {{tlsp}}: Template:Tlsp
- {{tlu}}:
{{hatnote}}
- {{tlx}}:
{{hatnote}}
- {{tn}}: Template:Tn
- {{xpd}}: Template:If
Options
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.- For parameter description
- Template:Tlp …renders…
|name=Template:Var
- Template:Tlp …renders…
|name=Template:Varserif
- Template:Tlp …renders…
{{Milford Haven Line|first parameterTemplate:=first value}}