Difference between revisions of "Template:Template-linking templates"
From MINR.ORG WIKI
(delete) |
m (Reverted edits by 166.137.156.43 (talk) to last revision by Addbot (HG)) |
||
Line 1: | Line 1: | ||
+ | {{Navbar-header|{{resize|120%|'''Template linking templates'''}}|Tl-nav|plain=1}} | ||
+ | {| align="center" class="wikitable collapsible" style="margin:1em auto 1em auto; width:auto; text-align:center; font-size:90%;" | ||
+ | |- <!--style="line-height:10pt;"--> | ||
+ | !style="width:12.0em;"| | ||
+ | !style="background:#ddf;"| Link style | ||
+ | !style="background:#eef;font-weight:normal;"| Linked | ||
+ | !style="background:#eef;font-weight:normal;"| Unlinked | ||
+ | !style="background:#eef;font-weight:normal;"| Linked with subst | ||
+ | !style="background:#eef;font-weight:normal;"| Linked including braces | ||
+ | !style="background:#eef;font-weight:normal;"| Linked with alternative text | ||
+ | |- valign="top" | ||
+ | !style="background:#ddf;"| Text style | ||
+ | ! {{tlx|tlg}} option | ||
+ | |style="font-weight:bold;"| — | ||
+ | |style="font-weight:bold;"| {{code|nolink{{=}}yes}} | ||
+ | |style="font-weight:bold;"| {{code|subst{{=}}yes}} | ||
+ | |style="font-weight:bold;"| {{code|braceinside{{=}}yes}} | ||
+ | |style="font-weight:bold;"| {{code|alttext{{=}}FOO}} | ||
+ | |- | ||
+ | !style="background:#eef;font-weight:normal;"| Normal | ||
+ | |style="font-weight:bold;"| — | ||
+ | | {{tlx|tl}}{{·}}{{tlx|tlp}}{{·}}{{tlx|tlg}} | ||
+ | | {{tlx|tlf}} | ||
+ | | {{tlx|tls}}{{·}}{{tlx|tlsp}} | ||
+ | | {{tlx|tn}} | ||
+ | | {{tlx|tla}} | ||
+ | |- | ||
+ | !style="background:#eef;font-weight:normal;" | <tt>Teletype</tt> | ||
+ | |style="font-weight:bold;"| {{code|tt{{=}}yes}} | ||
+ | | {{tlx|tlx}} | ||
+ | | {{tlx|tld}}{{·}}{{tlx|tnull}} | ||
+ | | {{tlx|tlxs}} | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | !style="background:#eef;font-weight:normal;"| '''Bold''' | ||
+ | |style="font-weight:bold;"| {{code|bold{{=}}yes}} | ||
+ | | {{tlx|tlb}} | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | !style="background:#eef;font-weight:normal;"| '''<tt>Bold teletype</tt>''' | ||
+ | |style="font-weight:bold;"| {{code|bold{{=}}yes{{!}}tt{{=}}yes}} | ||
+ | | {{tlx|tlxb}} | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | !style="background:#eef;font-weight:normal;" | ''<tt>Italic teletype</tt>'' | ||
+ | |style="font-weight:bold;"| {{code|italic{{=}}yes{{!}}tt{{=}}yes}} | ||
+ | | {{tlx|tlxi}} | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | !style="background:#eef;font-weight:normal;"| <code>Code</code> | ||
+ | |style="font-weight:bold;"| {{code|code{{=}}yes}} | ||
+ | | | ||
+ | | {{tlx|tlc}} | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |} | ||
+ | <div align=center style="font-size:90%;">'''NOTE:''' {{tlx|tlg}} is the most general, allowing any combination of the above options.</div> | ||
+ | <br/> | ||
+ | ; Style comparison | ||
+ | * {{tlf|tlf|Milford Haven Line|弘安源氏論議}} ...renders... {{tlf|Milford Haven Line|弘安源氏論議}} | ||
+ | * {{tlf|tld|Milford Haven Line|弘安源氏論議}} ...renders... {{tld|Milford Haven Line|弘安源氏論議}} | ||
+ | * {{tlf|tlc|Milford Haven Line|弘安源氏論議}} ...renders... {{tlc|Milford Haven Line|弘安源氏論議}} | ||
+ | <br/> | ||
+ | ; For parameter description | ||
+ | * {{tlp|para|<var>name</var>|value}} ...renders... {{para|<var>name</var>|value}} | ||
+ | * {{Tlp|tlx|Milford Haven Line|first parameter<nowiki>{{=}}</nowiki>first value}} ...renders... {{tlx|Milford Haven Line|first parameter{{=}}first value}} | ||
+ | <noinclude> | ||
+ | |||
+ | [[Category:Documentation shared content templates]] | ||
+ | |||
+ | </noinclude> |
Revision as of 05:12, 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}}
|
Teletype | Template:Code | {{tlx}}
|
{{tld}} · {{tnull}}
|
{{tlxs}}
|
||
Bold | Template:Code | {{tlb}}
|
||||
Bold teletype | Template:Code | {{tlxb}}
|
||||
Italic teletype | Template:Code | {{tlxi}}
|
||||
Code
|
Template:Code | {{tlc}}
|
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}}