Template:Tla
Appearance
{{[[Template:|]]}}
| This template is used on many pages, and changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them. |
Usage
[edit]This template works exactly like {{Tl}} with the addition of optionally displaying alternative label text.
{{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}}
See also
[edit]General-purpose formatting
[edit]| {{Tlg}} options[1] to achieve text style |
{{Tlg}} options to achieve link style[1] | |||||
|---|---|---|---|---|---|---|
| Linked DEFAULT
|
Unlinked nolink=yes
|
Linked with subst: subst=yes
|
Unlinked with subst: nolink=yes+subst=yes
|
Linked inc. inner braces braceinside=yes
|
Linked with custom text alttext=Foo
| |
| Normal DEFAULT
|
{{Tl}} {{Tlg}}[1] {{Tlp|1|2|…}}[2] {{Tlu}}[3] |
{{Tlf}} | {{subst:Tls}} {{subst:Tlsp}} {{subst:Tlsu}}[3] |
N/A | {{Tn}} | {{Tla}} (e.g., {{Foo}}) |
| Code code=yes
|
{{Tl2}}[4]{{Tlx}}{{T… l… expanded}}
|
{{Tlc}}{{Tnull}}[link]
|
{{subst:Tlxs}}
|
{{subst:Tlsc}}
|
N/A | |
| Monospace (<kbd>) kbd=yes[5] or plaincode=yes[6]
|
N/A | |||||
| ||||||
Other formatting templates
[edit]| Code example | Effect | Notes |
|---|---|---|
{{Hatnote|Some text}}
|
Some text
|
Used to create notes that appear at the tops of pages or sit just under section headers |
{{Module link|Age|age_generic}}
|
{{#invoke:Age|age_generic}} | Counterpart to {{Tl}} for linking to Lua modules |
{{Para|title|book_title}}
|
|title=book_title
|
Formats template parameters for display, with or without values |
{{Tag|ref}}
|
<ref>…</ref> | Formats HTML tags; can add content, choose opening, closing, paired or self-closing |
{{Parameter|foo}}
|
foo | Formats code so that it can be easily distinguished from running text |
{{Magic word|uc:}}
|
{{uc:}} | Magic word links |
{{Lts|Q}}
|
Template:Q (edit talk links history)
|
Links to template plus others to edit, Talk page, WhatLinksHere and history |
{{Tml3|Q|bracket=square}}
|
[[Q]] |
Offers choice of wrapping characters for template link: curly braces, square brackets or none |
{{Lte|Q}}
|
{{Q}}
|
|
{{T|Q}}
|
Q |
| The above documentation is transcluded from Template:Tla/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |