Difference between revisions of "Template:Template-linking templates"
From MINR.ORG WIKI
(merge Code and Teletype rows - both forms use the <code></code> element, not <tt></tt>) |
(hmmm - why did I amend after moving?) |
||
Line 27: | Line 27: | ||
|- | |- | ||
!style="background:#eef;font-weight:normal;"| <code>Code</code> | !style="background:#eef;font-weight:normal;"| <code>Code</code> | ||
− | |style="font-weight:bold;"| {{code|code{{=}}yes}} or<br />{{code| | + | |style="font-weight:bold;"| {{code|code{{=}}yes}} or<br />{{code|tt{{=}}yes}} |
| {{tlx|tlx}} | | {{tlx|tlx}} | ||
| {{tlx|tlc}}{{·}}{{tlx|tld}}{{·}}{{tlx|tnull}} | | {{tlx|tlc}}{{·}}{{tlx|tld}}{{·}}{{tlx|tnull}} |
Revision as of 11:39, 13 April 2013
Link style | Linked | Unlinked | Linked with subst | Linked including braces | Linked with alternative text | |
---|---|---|---|---|---|---|
Text style | {{tlg}} option
|
— | Template:Code | Template:Code | Template:Code | Template:Code |
Normal | — | {{tl}} · {{tlp}} · {{tlg}}
|
{{tlf}}
|
{{tls}} · {{tlsp}}
|
{{tn}}
|
{{tla}}
|
Code
|
Template:Code or Template:Code |
{{tlx}}
|
{{tlc}} · {{tld}} · {{tnull}}
|
{{tlxs}}
|
||
Bold | Template:Code | {{tlb}}
|
||||
Bold code
|
Template:Code | {{tlxb}}
|
||||
Italic code
|
Template:Code | {{tlxi}}
|
NOTE:
{{tlg}}
is the most general, allowing any combination of the above options.
- Style comparison
- {{tlf|Milford Haven Line|弘安源氏論議}} ...renders... {{Milford Haven Line|弘安源氏論議}}
- {{tld|Milford Haven Line|弘安源氏論議}} ...renders...
{{Milford Haven Line|弘安源氏論議}}
- {{tlc|Milford Haven Line|弘安源氏論議}} ...renders...
{{Milford Haven Line|弘安源氏論議}}
- For parameter description
- Template:Tlp ...renders...
|name=value
- Template:Tlp ...renders...
{{Milford Haven Line|first parameterTemplate:=first value}}