Vorlage:Dokumentation Links auf Vorlagen/Übersicht: Unterschied zwischen den Versionen
imported>John of Reading (rv previous edit, also removed colon for consistency with other headings) |
imported>CsDix (resize+bold, disabled line-height, column width, different background for column/row headers, removed orphaned "nowrap", mdashes, more visible separators, ellipses) |
||
Zeile 1: | Zeile 1: | ||
{{Navbar-header| | {{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%;" | {| align="center" class="wikitable collapsible" style="margin:1em auto 1em auto; width:auto; text-align:center; font-size:90%;" | ||
|- style="line-height:10pt;" | |- <!--style="line-height:10pt;"--> | ||
! | !style="width:12.0em;"| | ||
! Link | !style="background:#ddf;"| Link style | ||
! style="font-weight:normal;" |Linked | !style="background:#eef;font-weight:normal;"| Linked | ||
! style="font-weight:normal;" |Unlinked | !style="background:#eef;font-weight:normal;"| Unlinked | ||
! style="font-weight:normal;" |Linked with subst | !style="background:#eef;font-weight:normal;"| Linked with subst | ||
! style="font-weight:normal;" |Linked including braces | !style="background:#eef;font-weight:normal;"| Linked including braces | ||
! style="font-weight:normal;" |Linked with alternative text | !style="background:#eef;font-weight:normal;"| Linked with alternative text | ||
|- valign="top" | |- valign="top" | ||
! Text | !style="background:#ddf;"| Text style | ||
! {{tlx|tlg}} option | ! {{tlx|tlg}} option | ||
| style="font-weight: bold;" | | |style="font-weight:bold;"| — | ||
| style="font-weight: bold;" | |style="font-weight:bold;"| {{code|nolink{{=}}yes}} | ||
| style="font-weight: bold;" |{{code|subst{{=}}yes}} | |style="font-weight:bold;"| {{code|subst{{=}}yes}} | ||
| style="font-weight: bold;" |{{code|braceinside{{=}}yes}} | |style="font-weight:bold;"| {{code|braceinside{{=}}yes}} | ||
| style="font-weight: bold;" |{{code|alttext{{=}}FOO}} | |style="font-weight:bold;"| {{code|alttext{{=}}FOO}} | ||
|- | |- | ||
! style="font-weight:normal;" | Normal | !style="background:#eef;font-weight:normal;"| Normal | ||
| style="font-weight: bold;" | | |style="font-weight:bold;"| — | ||
| {{tlx|tl}} | | {{tlx|tl}}{{·}}{{tlx|tlp}}{{·}}{{tlx|tlg}} | ||
| {{tlx|tlf}} | | {{tlx|tlf}} | ||
| {{tlx|tls}} | | {{tlx|tls}}{{·}}{{tlx|tlsp}} | ||
| {{tlx|tn}} | | {{tlx|tn}} | ||
| {{tlx|tla}} | | {{tlx|tla}} | ||
|- | |- | ||
! style="font-weight:normal;" | <tt>Teletype</tt> | !style="background:#eef;font-weight:normal;" | <tt>Teletype</tt> | ||
| style="font-weight: bold;" |{{code|tt{{=}}yes}} | |style="font-weight:bold;"| {{code|tt{{=}}yes}} | ||
| {{tlx|tlx}} | | {{tlx|tlx}} | ||
| {{tlx|tld}} | | {{tlx|tld}}{{·}}{{tlx|tnull}} | ||
| {{tlx|tlxs}} | | {{tlx|tlxs}} | ||
| | | | ||
| | | | ||
|- | |- | ||
! style="font-weight:normal;" | '''Bold''' | !style="background:#eef;font-weight:normal;"| '''Bold''' | ||
| style="font-weight: bold;" |{{code|bold{{=}}yes}} | |style="font-weight:bold;"| {{code|bold{{=}}yes}} | ||
| {{tlx|tlb}} | | {{tlx|tlb}} | ||
| | | | ||
Zeile 42: | Zeile 42: | ||
| | | | ||
|- | |- | ||
! style="font-weight:normal;" | <tt> | !style="background:#eef;font-weight:normal;"| '''<tt>Bold teletype</tt>''' | ||
| style="font-weight: bold;" |{{code|bold{{=}}yes{{!}}tt{{=}}yes}} | |style="font-weight:bold;"| {{code|bold{{=}}yes{{!}}tt{{=}}yes}} | ||
| {{tlx|tlxb}} | | {{tlx|tlxb}} | ||
| | | | ||
Zeile 50: | Zeile 50: | ||
| | | | ||
|- | |- | ||
! style="font-weight:normal;" | <tt> | !style="background:#eef;font-weight:normal;" | ''<tt>Italic teletype</tt>'' | ||
| style="font-weight: bold;" |{{code|italic{{=}}yes{{!}}tt{{=}}yes}} | |style="font-weight:bold;"| {{code|italic{{=}}yes{{!}}tt{{=}}yes}} | ||
| {{tlx|tlxi}} | | {{tlx|tlxi}} | ||
| | | | ||
Zeile 58: | Zeile 58: | ||
| | | | ||
|- | |- | ||
! style="font-weight:normal;" | <code>Code</code> | !style="background:#eef;font-weight:normal;"| <code>Code</code> | ||
| style="font-weight: bold;" |{{code|code{{=}}yes}} | |style="font-weight:bold;"| {{code|code{{=}}yes}} | ||
| | | | ||
| {{tlx|tlc}} | | {{tlx|tlc}} | ||
Zeile 67: | Zeile 67: | ||
|} | |} | ||
<div align=center style="font-size:90%;">'''NOTE:''' {{tlx|tlg}} is the most general, allowing any combination of the above options.</div> | <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|弘安源氏論議}} ...produces... {{tlf|Milford Haven Line|弘安源氏論議}} | |||
* {{tlf|tld|Milford Haven Line|弘安源氏論議}} ...produces... {{tld|Milford Haven Line|弘安源氏論議}} | |||
* {{tlf|tlc|Milford Haven Line|弘安源氏論議}} ...produces... {{tlc|Milford Haven Line|弘安源氏論議}} | |||
<br/> | |||
; For parameter description | |||
* {{tlp|para|<var>name</var>|value}} ...renders... {{para|<var>name</var>|value}} | |||
<noinclude> | |||
[[Category:Documentation shared content templates]] | [[Category:Documentation shared content templates]] | ||
[[ja:Template:Tl-nav]] | [[ja:Template:Tl-nav]] | ||
</noinclude> | </noinclude> |
Version vom 2. Dezember 2012, 21:00 Uhr
Link style | Linked | Unlinked | Linked with subst | Linked including braces | Linked with alternative text | |
---|---|---|---|---|---|---|
Text style | {{tlg}} option
|
— | nolink=yes
|
subst=yes
|
braceinside=yes
|
alttext=FOO
|
Normal | — | {{tl}} · {{tlp}} · {{tlg}}
|
{{tlf}}
|
{{tls}} · {{tlsp}}
|
{{tn}}
|
{{tla}}
|
Teletype | tt=yes
|
{{tlx}}
|
{{tld}} · {{tnull}}
|
{{tlxs}}
|
||
Bold | bold=yes
|
{{tlb}}
|
||||
Bold teletype | bold=yes|tt=yes
|
{{tlxb}}
|
||||
Italic teletype | italic=yes|tt=yes
|
{{tlxi}}
|
||||
Code
|
code=yes
|
{{tlc}}
|
NOTE:
{{tlg}}
is the most general, allowing any combination of the above options.
- Style comparison
- {{tlf|Milford Haven Line|弘安源氏論議}} ...produces... {{Milford Haven Line|弘安源氏論議}}
- {{tld|Milford Haven Line|弘安源氏論議}} ...produces...
{{Milford Haven Line|弘安源氏論議}}
- {{tlc|Milford Haven Line|弘安源氏論議}} ...produces...
{{Milford Haven Line|弘安源氏論議}}
- For parameter description
- {{para|<var>name</var>|value}} ...renders...
|name=value