Difference between revisions of "Template:Template-linking templates"
From MINR.ORG WIKI
m (Reverted edits by 166.137.156.43 (talk) to last revision by Addbot (HG)) |
(merge Code and Teletype rows - both forms use the <code></code> element, not <tt></tt>) |
||
Line 26: | Line 26: | ||
| {{tlx|tla}} | | {{tlx|tla}} | ||
|- | |- | ||
− | !style="background:#eef;font-weight:normal;" | < | + | !style="background:#eef;font-weight:normal;"| <code>Code</code> |
− | |style="font-weight:bold;"| {{code| | + | |style="font-weight:bold;"| {{code|code{{=}}yes}} or<br />{{code|code{{=}}yes}} |
| {{tlx|tlx}} | | {{tlx|tlx}} | ||
− | | {{tlx|tld}}{{·}}{{tlx|tnull}} | + | | {{tlx|tlc}}{{·}}{{tlx|tld}}{{·}}{{tlx|tnull}} |
| {{tlx|tlxs}} | | {{tlx|tlxs}} | ||
| | | | ||
Line 42: | Line 42: | ||
| | | | ||
|- | |- | ||
− | !style="background:#eef;font-weight:normal;"| '''< | + | !style="background:#eef;font-weight:normal;"| '''<code>Bold code</code>''' |
− | |style="font-weight:bold;"| {{code|bold{{=}}yes{{!}} | + | |style="font-weight:bold;"| {{code|bold{{=}}yes{{!}}code{{=}}yes}} |
| {{tlx|tlxb}} | | {{tlx|tlxb}} | ||
| | | | ||
Line 50: | Line 50: | ||
| | | | ||
|- | |- | ||
− | !style="background:#eef;font-weight:normal;" | ''< | + | !style="background:#eef;font-weight:normal;" | ''<code>Italic code</code>'' |
− | |style="font-weight:bold;"| {{code|italic{{=}}yes{{!}} | + | |style="font-weight:bold;"| {{code|italic{{=}}yes{{!}}code{{=}}yes}} |
| {{tlx|tlxi}} | | {{tlx|tlxi}} | ||
| | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| | | | ||
| | | |
Revision as of 07:58, 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}}