|
|
| (One intermediate revision by one other user not shown) |
| Line 1: |
Line 1: |
| {{bearbeiten}}
| | #redirect [[Template:Tlx/doc]] |
| {{Vorlagendokumentation/Dokuseite}}
| |
| <onlyinclude>Die Vorlage {{tlx|Tly}} erzeugt Beispielsyntax für die angegebene Vorlage. Bis zu sieben Parameter können übergeben werden.
| |
| | |
| Siehe Vorlage auf Commons [https://www.mediawiki.org/wiki/Template:Tlx Template:Tlx]
| |
| == Verwendung ==
| |
| {{tlx|Tly|Seitenname|weit=|but=|pre=}}
| |
| | |
| ergibt
| |
| | |
| {{Tly|CreateNewPage|Seitenname|weit=|but=|pre=}}
| |
| | |
| == Code ==
| |
| <div style="background-color: #aaa;width:90%; {{round corners}};padding:1em;">
| |
| <div style="background-color: #fff;padding:1em;{{border-radius|0.5em}}">
| |
| <code style="white-space:pre-wrap;">{{msgnw:Tly}}</code></div></div>
| |
| | |
| == Parameter ==
| |
| | |
| <table style="width:80%;margin-left: 1em;border: 0px;border-collapse: collapse;text-align: left;padding: 0.5em 0 0 0">
| |
| <caption style="background-color: #666;{{Border-radius|1em 1em 0 0}}
| |
| color: #666;font-family: serif;font-size: 0.4em;
| |
| border: 1px solid #666;padding: 0.5em 0 0 0;>x</caption>
| |
| <tr style="background-color: #666;
| |
| color: #fff;font-size:1.2em;font-family: serif;
| |
| border: 1px solid #666;padding: 0.5em 0 0 0;">
| |
| <th style="width:8%;padding-left:0.5em">Name</th>
| |
| <th style="width:60%;" colspan="2">Beschreibung</th>
| |
| <th style="width:25%">Standard</th>
| |
| <th style="width:7%">Status</th></tr>
| |
| {{Tr-gradient}}<td style="font-family: monospace;font-size:1.2em;padding-left:0.5em">1</td>
| |
| <td colspan="2">Name der anzuzeigenden Vorlage</td><td><span class="mw-templatedata-doc-muted" style="color:#777; font-variant:small-caps">Tlx</span></td><td>erforderlich</td></tr>
| |
| {{Tr-gradient|bott=1}}<td style="font-family: monospace;font-size:1.2em;padding-left:0.5em">2-8</td>
| |
| <td colspan="2">Parameter der Vorlage (max. 7)</td><td><span class="mw-templatedata-doc-muted" style="color:#777; font-variant:small-caps">leer</span></td>
| |
| <td style="padding-right:0.5em">optional</td></tr>
| |
| </table>
| |
| </onlyinclude>
| |