Vorlage:Dokumentation Links auf Vorlagen/Übersicht: Unterschied zwischen den Versionen

K
(I can't convince the border between the merged cells to disappear, but might as well merge what else can be merged)
 
(33 dazwischenliegende Versionen von 6 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{{Navbar-header|{{resize|120%|'''Template linking templates'''}}|Tl-nav|plain=1}}
{{Navbar|Dokumentation Links auf Vorlagen/Übersicht|text=Diese Tabellen:|style=float: right;}}
{| align="center" class="wikitable collapsible" style="margin:1em auto 1em auto; width:auto; text-align:center; font-size:90%;"
{| align="center" class="wikitable mw-collapsible" style="margin:1em auto 1em auto; width:auto; text-align:center; font-size:90%;"
|+ Vorlagen für die Verlinkung zu Vorlagen
|- <!--style="line-height:10pt;"-->
|- <!--style="line-height:10pt;"-->
!style="width:12.0em;"|
!style="width:12.0em;"|
!style="background:#fcc;"| Link style
!style="background:#fcc;"| Typ
!style="background:#fee;font-weight:normal;"| Linked
!style="background:#fee;font-weight:normal;"| Verlinkt
!style="background:#fee;font-weight:normal;"| Unlinked
!style="background:#fee;font-weight:normal;"| Nicht verlinkt
!style="background:#fee;font-weight:normal;"| Linked with subst
!style="background:#fee;font-weight:normal;"| Linkt mit Ersetzung
!style="background:#fee;font-weight:normal;"| Linked including braces
!style="background:#fee;font-weight:normal;"| Verlinkt inklusive der ersten Klammer
!style="background:#fee;font-weight:normal;"| Linked with alternative&nbsp;text
!style="background:#fee;font-weight:normal;"| Verlinkt mit alternativem Text
|- valign="top"
|- valign="top"
!style="background:#ccf;"| Text style
!style="background:#ccf;"| Text Stil
! {{tlx|tlg}} option<sup>1</sup>
! {{tlx|tlg}} option<sup>1</sup>
|style="font-weight:bold;"| &mdash;
|style="font-weight:bold;"| &mdash;
Zeile 20: Zeile 21:
!style="background:#eef;font-weight:normal;"| Normal
!style="background:#eef;font-weight:normal;"| Normal
|style="font-weight:bold;"| &mdash;
|style="font-weight:bold;"| &mdash;
| {{tlx|tl}}{{·}}{{tlx|tlp}}<sup>2</sup>{{·}}{{tlx|tlg}}<sup>1</sup>
| {{tlx|tl}}{{·}}{{tlx|tlp}}<sup>2</sup>{{·}}{{tlx|tlg}}<sup>1, 2</sup>
| {{tlx|tlf}}<sup>2</sup>
| {{tlx|tlf}}<sup>2</sup>
| {{tlx|tls}}{{·}}{{tlx|tlsp}}
| {{tlx|tls}}{{·}}{{tlx|tlsp}}
Zeile 30: Zeile 31:
| {{tlx|tlx}}
| {{tlx|tlx}}
| {{tlx|tlc}}<sup>2</sup>{{·}}{{tlx|tld}}{{·}}{{tlx|tnull}}
| {{tlx|tlc}}<sup>2</sup>{{·}}{{tlx|tld}}{{·}}{{tlx|tnull}}
| {{tlx|tlxs}}
| {{tlx|tlxs}}{{·}}{{tlx|tlxsp}}
|style="background-color:#ccc;" colspan="2"  | &nbsp;
|style="background-color:#ccc;" colspan="2"  | &nbsp;
|-
|-
!style="background:#eef;font-weight:normal;"| '''Bold'''
!style="background:#eef;font-weight:normal;"| '''Fett'''
|style="font-weight:bold;"| {{code|bold{{=}}yes}}
|style="font-weight:bold;"| {{code|bold{{=}}yes}}
| {{tlx|tlb}}
| {{tlx|tlb}}
|style="background-color:#ccc;" rowspan="3" colspan="4"  | &nbsp;
|style="background-color:#ccc;" rowspan="2" colspan="4"  | &nbsp;
|-
|-
!style="background:#eef;font-weight:normal;"| '''<code>Bold code</code>'''
!style="background:#eef;font-weight:normal;"| ''Kursiv''
|style="font-style:italic;"| {{code|italic{{=}}yes}}
| {{tlx|tli}}
|-
!style="background:#eef;font-weight:normal;"| '''<code>Fetter Code</code>'''
|style="font-weight:bold;"| {{code|bold{{=}}yes{{!}}code{{=}}yes}}
|style="font-weight:bold;"| {{code|bold{{=}}yes{{!}}code{{=}}yes}}
| {{tlx|tlxb}}
| {{tlx|tlxb}}
| {{tlx|tlcb}}
|style="background-color:#ccc;" rowspan ="2" colspan="3"  | &nbsp;
|-
|-
!style="background:#eef;font-weight:normal;" | ''<code>Italic code</code>''
!style="background:#eef;font-weight:normal;" | ''<code>Kursiver Code</code>''
|style="font-weight:bold;"| {{code|italic{{=}}yes{{!}}code{{=}}yes}}
|style="font-weight:bold;"| {{code|italic{{=}}yes{{!}}code{{=}}yes}}
| {{tlx|tlxi}}
| {{tlx|tlxi}}
| {{tlx|tlci}}
|}
|}
{{clear}}
{{-}}
<div align=center style="font-size:90%;">'''NOTES:'''&nbsp; 1 = {{tlx|tlg}} is the most general, allowing any combination of text style and/or link style options.<br />
<div align=center style="font-size:90%;">'''NOTES:'''&nbsp; 1 = {{tlx|tlg}} ist die allgemeine Vorlage, die alle mögliche Kombinationen an Textsstil und Linkarten erlaubt.<br />
2 = Prevents wrapping of text by placing it inside of {{tag|span|params=class="nowrap"}} tags.</div><br/>
2 = Schützt vor Zeilenumbrüchen durch die Verwendung des Tags {{tag|span|params=class="nowrap"}}</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|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}}
 
<noinclude>
 
[[Category:Documentation shared content templates]]


{| align="center" class="wikitable mw-collapsible" style="margin:1em auto 1em auto; width:auto; text-align:center; font-size:90%;"
|+ Beispiele für die Verwendung
|- <!--style="line-height:10pt;"-->
!style="width:12.0em;"|
!style="background:#fcc;"| Typ →
!style="background:#fee;font-weight:normal;"| Verlinkt
!style="background:#fee;font-weight:normal;"| Nicht verlinkt
!style="background:#fee;font-weight:normal;"| Linkt mit Ersetzung
!style="background:#fee;font-weight:normal;"| Verlinkt inklusive der ersten Klammer
!style="background:#fee;font-weight:normal;"| Verlinkt mit alternativem Text
|- valign="top"
!style="background:#ccf;"| Text Stil ↓
!
|style="font-weight:bold;"| &mdash;
|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;"| &mdash;
| {{tl|VCard}}{{·}}{{tlp|VCard}}{{·}}{{tlg|VCard}}
| {{tlf|VCard}}
| {{tls|VCard}}{{·}}{{tlsp|VCard}}
| {{tn|VCard}}
| {{tla|VCard|Listing}}
|-
!style="background:#eef;font-weight:normal;"| <code>Code</code>
|style="font-weight:bold;"| {{code|code{{=}}yes}} or<br />{{code|tt{{=}}yes}}
| {{tlx|VCard}}
| {{tlc|VCard}}{{·}}{{tld|VCard}}{{·}}{{tnull|VCard}}
| {{tlxs|VCard}}{{·}}{{tlxsp|VCard}}
|style="background-color:#ccc;" colspan="2"  | &nbsp;
|-
!style="background:#eef;font-weight:normal;"| '''Fett'''
|style="font-weight:bold;"| {{code|bold{{=}}yes}}
| {{tlb|VCard|param}}
|style="background-color:#ccc;" rowspan="2" colspan="4"  | &nbsp;
|-
!style="background:#eef;font-weight:normal;"| ''Kursiv''
|style="font-style:italic;"| {{code|italic{{=}}yes}}
| {{tli|VCard|param}}
|-
!style="background:#eef;font-weight:normal;"| '''<code>Fetter Code</code>'''
|style="font-weight:bold;"| {{code|bold{{=}}yes{{!}}code{{=}}yes}}
| {{tlxb|VCard|param}}
| {{tlcb|VCard|param}}
|style="background-color:#ccc;" rowspan ="2" colspan="3"  | &nbsp;
|-
!style="background:#eef;font-weight:normal;" | ''<code>Kursiver Code</code>''
|style="font-weight:bold;"| {{code|italic{{=}}yes{{!}}code{{=}}yes}}
| {{tlxi|VCard|param}}
| {{tlci|VCard|param}}
|}
{{-}}
{{Infobox
|1= Tipp
|2= Bei der Dokumentation von Hilfsvorlagen, die im allgemeinen sehr kurz sind, kannst du statt der Vorlage {{Tl|Tl}} auf {{Tl|Tn}} zurückgreifen. Dort werden die inneren Klammern mit in den Link aufgenommen. So lässt sich besser auf die Vorlage klicken, da der Zielbereich nicht so schmal ist.<br />
'''Bsp.:''' {{Tl|!!}} lässt sich schwerer anklicken als {{Tn|!!}}, da man genauer zielen muss.}}
; Hinweis
* Der Parameter {{Para|bold}} wirkt nur auf die Vorlagenbezeichnung
* Der Parameter {{Para|italic}} wirkt nur auf die Parameter
; Stilvergleich
* {{tlc|tl|Dokumentation|Parameter}} …ergibt… {{tl|Dokumentation|Parameter}} '''Beachte!''' Eine Darstellung der Parameter erfolgt hier nicht.
* {{tlc|tlp|Dokumentation|Parameter}} …ergibt… {{tlp|Dokumentation|Parameter}}
* {{tlc|tlf|Dokumentation|Parameter}} …ergibt… {{tlf|Dokumentation|Parameter}}
* {{tlc|tlc|Dokumentation|Parameter}} …ergibt… {{tlc|Dokumentation|Parameter}}
* {{tlc|tlx|Dokumentation|Parameter}} …ergibt… {{tlx|Dokumentation|Parameter}}
* {{tlc|tli|Dokumentation|Parameter}} …ergibt… {{tli|Dokumentation|Parameter}}
* {{tlc|tlb|Dokumentation|Parameter}} …ergibt… {{tlb|Dokumentation|Parameter}}
<noinclude><!-- Kategorien bitte auf die /Doku-Unterseite, Interwiki-Links bitte nach Wikidata! -->
{{Dokumentation}}
</noinclude>
</noinclude>