ढाँचा:Tlxu/doc
This is a documentation subpage for ढाँचा:Tlxu. It contains usage information, categories and other content that is not part of the original ढाँचा page. |
This template is used on ९,८००+ pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
सम्पादन{{tlxu|fullpagename}}
{{tlxu|User:Example/Talk message}} |
{{User:Example/Talk message}}
|
{{tlxu|Template_talk:tlxu}} |
{{Template_talk:tlxu}}
|
{{tlxu|Template talk:tlxu|param}} |
{{Template talk:tlxu|param}}
|
{{tlxu|fullpagename|1|2|3|4|5|6|7|8|9{{=}}10}} |
{{fullpagename|1|2|3|4|5|6|7|8|9=10}}
|
{{tlxu|fullpagename|1|2|3|4|5|6|7|8|9{{=}}10{{=}}more}} |
{{fullpagename|1|2|3|4|5|6|7|8|9=10=more}}
|
{{tlxu|fullpagename|param{{=}}value}} |
{{fullpagename|param=value}}
|
Up to 10 placeholders for parameters of the specified template
This template is nearly identical to Template:Tlx, except that it is intended for all namespace transclusions, and you can include parameters—as long as you use {{=}} signs or =
in place of equal signs. For example, you can enter a subpage in your user space ({{User:Example/Talk message|param1=y|param2|etc.}}
) or in a WikiProject ({{Wikipedia:WikiProject Songs/Unreferenced BLPs|param1=y|param2|etc.}}
).
See also
सम्पादन- {{tl}} for full documentation
General-purpose formatting
सम्पादनLink style → | Linked | Unlinked | Linked with subst | Linked including braces | Linked with alternative text | |
---|---|---|---|---|---|---|
Text style ↓ | ↓ {{tlg}} options1 →
|
लागू नभयाको | nolink=yes
|
subst=yes
|
braceinside=yes
|
alttext=Foo 2=Foo
|
Normal | लागू नभयाको | {{tlg}} 1, 2{{tl}} {{tlp}} 2{{tlu}} 4
|
{{tlf}} 2
|
{{tls}} {{tlsp}}
|
{{tn}}
|
{{tla}}
|
Code
|
code=yes ortt=yes
|
{{tlx}} {{tltt}} {{tltt2}}
|
{{tlc}} 2{{tld}} 2{{tnull}}
|
{{tlxs}} {{tltts}} {{Tltts3}} {{Tltss}} 3
|
लागू नभयाको | |
Bold | bold=yes
|
{{tlb}}
|
लागू नभयाको | |||
Bold code
|
bold=yes|code=yes
|
{{tlxb}}
| ||||
Italic code
|
italic=yes|code=yes
|
{{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.
Other formatting templates
सम्पादनCode example | Effect | Notes |
---|---|---|
{{tl2|Hatnote|lang=fr}} |
{{hatnote}} |
Supports linking to sister projects (e.g., fr:Hatnote) |
{{tlu|User:Ahunt/SSHFS}} |
{{User:Ahunt/SSHFS}} | Supports linking to any namespace |
{{xpd|Hatnote|Some hatnote text}} |
"{{hatnote|Some hatnote text||{{{4}}}}}" gives " " [१] |
Shows code, example and a link to expand the template code |
With utility links
सम्पादनCode example | Effect |
---|---|
{{lts|Hatnote}} |
Template:Hatnote(edit talk links history) |
{{t links|Hatnote}} |
Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) |
{{tfd links|Hatnote}} |
Template:Hatnote (edit · talk · history · links · logs · subpages · delete) |
{{tiw|Hatnote}} |
Template:hatnote (backlinks edit) |
{{tltt|Hatnote}} |
{{Hatnote}} |
{{tetl|Hatnote}} |
{{Hatnote}} |
{{Tlsetl|Hatnote}} |
{{subst:Hatnote}} |
{{ti|Hatnote}} |
Template:Hatnote (talk⧼dot-separator⧽links⧼dot-separator⧽edit) |
{{tic|Hatnote}} |
Template:Hatnote (talk links edit) |
{{tiw|Hatnote}} |
Template:Hatnote (backlinks edit) |
{{tlt|Hatnote}} |
{{Hatnote}} (talk) |
{{ttl|Hatnote}} |
{{Hatnote}} (t/l) |
{{Twlh|Hatnote}} |
Template:Hatnote (links, talk) |