Plantilla:Tla
Aparença
{{[[Template:|]]}}
Ús
Aquesta plantilla funciona exactament igual que {{tl}} però li permet mostrar un text de l'etiqueta.
{{tla|quote|link to quote template}}→ {{link to quote template}}
When the second parameter is omitted, the original template name is displayed (i.e. {{tla}} reverts to {{tl}}):
{{tla|quote}}→ {{quote}}
Vegeu també
Format de propòsit general
| Estil d'enllaç → | Enllaçat | No enllaçat | Enllaçat with subst | Enllaçat including braces | Enllaçat with alternative text | |
|---|---|---|---|---|---|---|
| Text style ↓ | ↓ {{tlg}} options1 →
|
N/D | <syntaxhighlight lang="text" class="" style="" inline="1">nolink=yes</syntaxhighlight> | <syntaxhighlight lang="text" class="" style="" inline="1">subst=yes</syntaxhighlight> | <syntaxhighlight lang="text" class="" style="" inline="1">braceinside=yes</syntaxhighlight> | <syntaxhighlight lang="text" class="" style="" inline="1">alttext=Foo</syntaxhighlight> <syntaxhighlight lang="text" class="" style="" inline="1">2=Foo</syntaxhighlight> |
| Normal | N/D | {{tlg}}1, 2{{tl}}{{tlp}}2{{tlu}}4
|
{{tlf}}2
|
{{tls}}{{tlsp}}
|
{{tn}}
|
{{tla}}
|
Code
|
<syntaxhighlight lang="text" class="" style="" inline="1">code=yes</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">tt=yes</syntaxhighlight> |
{{tlx}}{{tltt}}{{tltt2}}
|
{{tlc}}2{{tld}}2{{tnull}}
|
{{tlxs}}{{tltts}}{{tltts3}}{{tltss}}3
|
N/D | |
| Bold | <syntaxhighlight lang="text" class="" style="" inline="1">bold=yes</syntaxhighlight> | {{tlb}}
|
N/D | |||
Bold code
|
code=yes</syntaxhighlight> | {{tlxb}}
| ||||
Italic code
|
code=yes</syntaxhighlight> | {{tlxi}}
| ||||
- 1
{{tlg}}is the most general, allowing any combination of text style and/or link style options. - 2 Prevents wrapping of text by placing it inside
<span class="nowrap">...</span>tags. - 3 Uses monospace font but not
<code>...</code>. - 4 Allows links to templates in any namespace.
Altres plantilles de format
| Exemple de codi | Efecte | Notes |
|---|---|---|
{{tl2|Hatnote|lang=fr}} |
{{hatnote}} |
Supports linking to sister projects (e.g., fr:Hatnote) |
{{tlu|User:Ahunt/SSHFS}} |
Plantilla:Tlu | Supports linking to any namespace |
{{xpd|Hatnote|Some hatnote text}} |
"{{hatnote|Some hatnote text}}" gives "" [1] |
Shows code, example and a link to expand the template code |
{{para|title|<var>book title</var>}} |
|title=book title |
Formats template parameters for display, with or without values |
Amb enllaços d'utilitat
| Exemple de codi | Efecte |
|---|---|
{{lts|Hatnote}} |
Plantilla:Hatnote (modifica discussió què hi enllaça historial) |
{{t links|Hatnote}} |
Plantilla:T links |
{{tfd links|Hatnote}} |
Plantilla:Tfd links |
{{tiw|Hatnote}} |
Plantilla:hatnote (què hi enllaça, edita) |
{{tltt|Hatnote}} |
Plantilla:Tltt |
{{tetl|Hatnote}} |
Plantilla:Tetl |
{{tsetl|Hatnote}} |
Plantilla:Tsetl |
{{ti|Hatnote}} |
Plantilla:Ti |
{{tic|Hatnote}} |
Plantilla:Tic |
{{tiw|Hatnote}} |
Plantilla:Hatnote (què hi enllaça, edita) |
{{tlt|Hatnote}} |
Plantilla:Tlt |
{{ttl|Hatnote}} |
Plantilla:Ttl |
{{twlh|Hatnote}} |
Plantilla:Twlh |
La documentació de més amunt està transclosa de Plantilla:Tla/ús. (modifica | historial)
Els editors poden fer proves amb aquesta plantilla al seu espai de proves ([{{fullurl:Special:Mypage/MediaWiki:Templatesandbox-suffix/⧼Lang⧽/Plantilla:Tla | action=edit&preload=Plantilla%3ATla}}&summary=Versi%C3%B3+per+a+proves+de+%5B%5BPlantilla%3ATla%5D%5D&editintro=Plantilla%3A%C3%9As+de+la+plantilla%2Fav%C3%ADs+d%27edici%C3%B3 crea] | [{{fullurl:Special:Mypage/MediaWiki:Templatesandbox-suffix/⧼Lang⧽/Plantilla:Tla | action=edit }} modifica])
Afegiu categories en la subpàgina /ús. Vegeu les subpàgines d'aquesta plantilla, utilització de paràmetres.
Els editors poden fer proves amb aquesta plantilla al seu espai de proves ([{{fullurl:Special:Mypage/MediaWiki:Templatesandbox-suffix/⧼Lang⧽/Plantilla:Tla | action=edit&preload=Plantilla%3ATla}}&summary=Versi%C3%B3+per+a+proves+de+%5B%5BPlantilla%3ATla%5D%5D&editintro=Plantilla%3A%C3%9As+de+la+plantilla%2Fav%C3%ADs+d%27edici%C3%B3 crea] | [{{fullurl:Special:Mypage/MediaWiki:Templatesandbox-suffix/⧼Lang⧽/Plantilla:Tla | action=edit }} modifica])
Afegiu categories en la subpàgina /ús. Vegeu les subpàgines d'aquesta plantilla, utilització de paràmetres.