Vorlage:Dokumentation Links auf Vorlagen/Übersicht: Unterschied zwischen den Versionen
Vorlage:Dokumentation Links auf Vorlagen/Übersicht (Quelltext anzeigen)
Version vom 2. Mai 2013, 14:31 Uhr
, vor 12 Jahren(1) clearer table; (2) {{tld}} is deprecated, because <tt> unsupported in HTML5; (3) {{tlp, tlf and tlc}} use nowrap; (4) fixed erroneous "parameter description" section;
imported>Redrose64 (hmmm - why did I amend after moving?) |
imported>Grolltech ((1) clearer table; (2) {{tld}} is deprecated, because <tt> unsupported in HTML5; (3) {{tlp, tlf and tlc}} use nowrap; (4) fixed erroneous "parameter description" section;) |
||
| Zeile 3: | Zeile 3: | ||
|- <!--style="line-height:10pt;"--> | |- <!--style="line-height:10pt;"--> | ||
!style="width:12.0em;"| | !style="width:12.0em;"| | ||
!style="background:# | !style="background:#fcc;"| Link style → | ||
!style="background:# | !style="background:#fee;font-weight:normal;"| Linked | ||
!style="background:# | !style="background:#fee;font-weight:normal;"| Unlinked | ||
!style="background:# | !style="background:#fee;font-weight:normal;"| Linked with subst | ||
!style="background:# | !style="background:#fee;font-weight:normal;"| Linked including braces | ||
!style="background:# | !style="background:#fee;font-weight:normal;"| Linked with alternative text | ||
|- valign="top" | |- valign="top" | ||
!style="background:# | !style="background:#ccf;"| Text style ↓ | ||
! {{tlx|tlg}} option | ! {{tlx|tlg}} option<sup>1</sup> | ||
|style="font-weight:bold;"| — | |style="font-weight:bold;"| — | ||
|style="font-weight:bold;"| {{code|nolink{{=}}yes}} | |style="font-weight:bold;"| {{code|nolink{{=}}yes}} | ||
| Zeile 20: | Zeile 20: | ||
!style="background:#eef;font-weight:normal;"| Normal | !style="background:#eef;font-weight:normal;"| Normal | ||
|style="font-weight:bold;"| — | |style="font-weight:bold;"| — | ||
| {{tlx|tl}}{{·}}{{tlx|tlp}}{{·}}{{tlx|tlg}} | | {{tlx|tl}}{{·}}{{tlx|tlp}}<sup>2</sup>{{·}}{{tlx|tlg}}<sup>1</sup> | ||
| {{tlx|tlf}} | | {{tlx|tlf}}<sup>2</sup> | ||
| {{tlx|tls}}{{·}}{{tlx|tlsp}} | | {{tlx|tls}}{{·}}{{tlx|tlsp}} | ||
| {{ | | {{tn|tn}} | ||
| {{tlx|tla}} | | {{tlx|tla}} | ||
|- | |- | ||
| Zeile 29: | Zeile 29: | ||
|style="font-weight:bold;"| {{code|code{{=}}yes}} or<br />{{code|tt{{=}}yes}} | |style="font-weight:bold;"| {{code|code{{=}}yes}} or<br />{{code|tt{{=}}yes}} | ||
| {{tlx|tlx}} | | {{tlx|tlx}} | ||
| {{tlx|tlc}}{{·}}{{tlx|tld}}{{·}}{{tlx|tnull}} | | {{tlx|tlc}}<sup>2</sup>{{·}}<!-- The <tt> tag is unsupported in HTML5, thus TLD is deprecated; use TLC instead. {{tlx|tld}}{{·}}-->{{tlx|tnull}} | ||
| {{tlx|tlxs}} | | {{tlx|tlxs}} | ||
| | |style="background-color:#ccc;" colspan="2" | | ||
| | |||
|- | |- | ||
!style="background:#eef;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}} | ||
| | |style="background-color:#ccc;" colspan="4" | | ||
| | |||
|- | |- | ||
!style="background:#eef;font-weight:normal;"| '''<code>Bold code</code>''' | !style="background:#eef;font-weight:normal;"| '''<code>Bold code</code>''' | ||
|style="font-weight:bold;"| {{code|bold{{=}}yes{{!}}code{{=}}yes}} | |style="font-weight:bold;"| {{code|bold{{=}}yes{{!}}code{{=}}yes}} | ||
| {{tlx|tlxb}} | | {{tlx|tlxb}} | ||
| | |style="background-color:#ccc;" colspan="4" | | ||
| | |||
|- | |- | ||
!style="background:#eef;font-weight:normal;" | ''<code>Italic code</code>'' | !style="background:#eef;font-weight:normal;" | ''<code>Italic code</code>'' | ||
|style="font-weight:bold;"| {{code|italic{{=}}yes{{!}}code{{=}}yes}} | |style="font-weight:bold;"| {{code|italic{{=}}yes{{!}}code{{=}}yes}} | ||
| {{tlx|tlxi}} | | {{tlx|tlxi}} | ||
| | |style="background-color:#ccc;" colspan="4" | | ||
| | |||
|} | |} | ||
<div align=center style="font-size:90%;">''' | {{clear}} | ||
<br/> | <div align=center style="font-size:90%;">'''NOTES:''' 1 = {{tlx|tlg}} is the most general, allowing any combination of text style and/or link style options.<br /> | ||
2 = Prevents wrapping of text by placing it inside of {{tag|span|params=style="white-space:nowrap;"}} tags.</div><br/> | |||
; Style comparison | ; Style comparison | ||
* {{tlf|tlf|Milford Haven Line|弘安源氏論議}} ...renders... {{tlf|Milford Haven Line|弘安源氏論議}} | * {{tlf|tlf|Milford Haven Line|弘安源氏論議}} ...renders... {{tlf|Milford Haven Line|弘安源氏論議}} | ||
* {{tlf|tlc|Milford Haven Line|弘安源氏論議}} ...renders... {{tlc|Milford Haven Line|弘安源氏論議}} | * {{tlf|tlc|Milford Haven Line|弘安源氏論議}} ...renders... {{tlc|Milford Haven Line|弘安源氏論議}} | ||
<br/> | <br/> | ||
; For parameter description | ; For parameter description | ||
* {{tlp|para| | * {{tlp|para|name|{{tlp|var|value}}}} ...renders... {{para|name|{{var|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}} | ||