ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Tnull
Appearance
Tnull is used to nullify templates in the monospaced font. It is similar to {{tlx}}
in the way that it has support for many parameters.
Example
[πΉπ½πΌπ°πΉπ³π΄πΉ]Typing {{tnull|foo|bar|baz|boo}}
in the edit window would yield {{foo|bar|baz|boo}}
in the rendered page.
Special character handling
[πΉπ½πΌπ°πΉπ³π΄πΉ]"=" (equality sign)
[πΉπ½πΌπ°πΉπ³π΄πΉ]If there is a "=" character (equality/equals sign) in any parameter, it must be replaced with =
[or {{=}}
?]:
{{tnull|click|image=image name|width=width|height=height|link=page name}}
Or you can use parameter-number=value
as in:
{{tnull|click|2=image=image name|3=width=width|4=height=height|5=link=page name}}
Either method would yield the following output:
{{Click|image=image name|width=width|height=height|link=page name}}
"|" (vertical bar, pipe)
[πΉπ½πΌπ°πΉπ³π΄πΉ]If a second consecutive pipe (|) is used to denote that a parameter has been skipped, you must replace it with |
as in:
{{tnull|look from|Alan||all the Alans}}
That would yield the following displayed output:
{{Look from|Alan||all the Alans}}
See also
[πΉπ½πΌπ°πΉπ³π΄πΉ]ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Navbar
General-purpose formatting
[πΉπ½πΌπ°πΉπ³π΄πΉ]Link style β | Linked | Unlinked | Linked with subst | Linked including braces | Linked with alternative text | |
---|---|---|---|---|---|---|
Text style β | β {{tlg}} options1 β
|
N/A | nolink=yes
|
subst=yes
|
braceinside=yes
|
alttext=Foo 2=Foo
|
Normal | N/A | {{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
|
N/A | |
Bold | bold=yes
|
{{Tlb}}
|
N/A | |||
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}} |
ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Tl2 | Supports linking to sister projects (e.g., fr:Hatnote) |
{{Tlu|User:Ahunt/SSHFS}} |
ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Tlu | Supports linking to any namespace |
{{Xpd|Hatnote|Some hatnote text}} |
ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Xpd | 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 |
With utility links
[πΉπ½πΌπ°πΉπ³π΄πΉ]Code example | Effect |
---|---|
{{Lts|Hatnote}} |
ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Lts |
{{T links|Hatnote}} |
ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:T links |
{{Tfd links|Hatnote}} |
ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Tfd links |
{{Tiw|Hatnote}} |
ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Tiw |
{{Tltt|Hatnote}} |
ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Tltt |
{{Tetl|Hatnote}} |
ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Tetl |
{{Tsetl|Hatnote}} |
ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Tsetl |
{{Ti|Hatnote}} |
ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Ti |
{{Tic|Hatnote}} |
ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Tic |
{{Tiw|Hatnote}} |
ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Tiw |
{{Tlt|Hatnote}} |
ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Tlt |
{{Ttl|Hatnote}} |
ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Ttl |
{{Twlh|Hatnote}} |
ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Twlh |