Template:Tlsu/doc: Difference between revisions
Appearance
Add {{tlsu}} to Category:Internal template-link templates |
m 1 revision imported: Initial setup |
(No difference)
|
Latest revision as of 18:46, 23 December 2024
This is a documentation subpage for Template:Tlsu. It contains usage information, categories and other content that is not part of the original Template page. |
Usage
{{tlsu|fullpagename}}
{{tlsu|fullpagename|param}}
{{tlsu|fullpagename|1|2|3|4|5|...}}
{{tlsu|fullpagename|1|2|3|4|5|...}}
{{tlsu|fullpagename|param=value}}
Up to 10 placeholders for parameters of the specified template
This template is nearly identical to Template:Tls, except that it is intended for all namespace transclusions and you can include parameters. For example, you can enter a subpage in your user space ({{subst :User:Example/Talk message|param1=y|param2|etc.}}).
See also
- {{Tls }} for full documentation
Text style ↓ | {{tlg}} options[note 1] to achieve text style |
Link style | ||
---|---|---|---|---|
Linked | Unlinked | Linked with subst | ||
{{tlg}} options[note 1] to achieve link style |
N/A | DEFAULT | nolink=1
|
subst=1
|
normal | DEFAULT |
|
| |
code
|
code=1
|
|
|
|
monospace | mono=1 |
N/A | ||
plaincode
|
plaincode=1 | |||
kbd | kbd=1 |
- ↑ 1.0 1.1 1.2
{{tlg}}
is the most general template, allowing any combination of text style and/or link style options. - ↑ 2.0 2.1 2.2 Prevents wrapping of text by placing it inside
<span style="white-space:nowrap">...</span>
tags. - ↑ Allows links to templates in any namespace.
- ↑ 4.0 4.1 4.2 Displays monospaced font using
<span style="font-family:monospace">...</span>
. - ↑
{{tlg|plaincode=1}}
uses<code style="background:transparent;border:none">...</code>
. - ↑
{{tlg|kbd=1}}
uses<kbd>
tags.