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

K
imported>Nasa-verve
Keine Bearbeitungszusammenfassung
 
(64 dazwischenliegende Versionen von 22 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{{navbox
{{Navbar|Dokumentation Links auf Vorlagen/Übersicht|text=Diese Tabellen:|style=float: right;}}
|state = {{{state|uncollapsed}}}
{| align="center" class="wikitable mw-collapsible" style="margin:1em auto 1em auto; width:auto; text-align:center; font-size:90%;"
|name= tl-nav
|+ Vorlagen für die Verlinkung zu Vorlagen
|title = TemplateLinking Templates
|- <!--style="line-height:10pt;"-->
|group1 = TL
!style="width:12.0em;"|
|list1 = * {{tl|tl}} – Template link, no parameters and normal text style.
!style="background:#fcc;"| Typ →
* {{tl|tlc}} – Not linked, several parameters and text in <code>&lt;code&gt;&lt;/code&gt;</code> style.
!style="background:#fee;font-weight:normal;"| Verlinkt
* {{tl|tld}} – Not linked, several parameters and <tt>teletype</tt> text style.
!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 ↓
! {{tlx|tlg}} option<sup>1</sup>
|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;
| {{tlx|tl}}{{·}}{{tlx|tlp}}<sup>2</sup>{{·}}{{tlx|tlg}}<sup>1, 2</sup>
| {{tlx|tlf}}<sup>2</sup>
| {{tlx|tls}}{{·}}{{tlx|tlsp}}
| {{tlx|tn}}
| {{tlx|tla}}
|-
!style="background:#eef;font-weight:normal;"| <code>Code</code>
|style="font-weight:bold;"| {{code|code{{=}}yes}} or<br />{{code|tt{{=}}yes}}
| {{tlx|tlx}}
| {{tlx|tlc}}<sup>2</sup>{{·}}{{tlx|tld}}{{·}}{{tlx|tnull}}
| {{tlx|tlxs}}{{·}}{{tlx|tlxsp}}
|style="background-color:#ccc;" colspan="2"  | &nbsp;
|-
!style="background:#eef;font-weight:normal;"| '''Fett'''
|style="font-weight:bold;"| {{code|bold{{=}}yes}}
| {{tlx|tlb}}
|style="background-color:#ccc;" rowspan="2" colspan="4"  | &nbsp;
|-
!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}}
| {{tlx|tlxb}}
| {{tlx|tlcb}}
|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}}
| {{tlx|tlxi}}
| {{tlx|tlci}}
|}
{{-}}
<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 = Schützt vor Zeilenumbrüchen durch die Verwendung des Tags {{tag|span|params=class="nowrap"}}</div><br/>


* {{tl|tlf}} – Not linked, several parameters and normal text style.
{| align="center" class="wikitable mw-collapsible" style="margin:1em auto 1em auto; width:auto; text-align:center; font-size:90%;"
* {{tl|tlx}} – Template link, several parameters and interwiki links, <tt>teletype</tt> text style.
|+ Beispiele für die Verwendung
* {{tl|tn}} – Same as {{tlf|tl}}, but shows the braces as part of the link.
|- <!--style="line-height:10pt;"-->
 
!style="width:12.0em;"|
* {{tl|tla}} - Same as {{tlf|tl}}, but it allows you to give display different text than you are linking to.
!style="background:#fcc;"| Typ →
|below = See also: {{tl|lts}}, {{tl|tlxb}}, {{tl|para}}
!style="background:#fee;font-weight:normal;"| Verlinkt
}}<noinclude>
!style="background:#fee;font-weight:normal;"| Nicht verlinkt
[[Category:Internal link templates]]
!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>