Template:Tnull
Usage
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, but it does not link the template name. It is similar to {{Tlc }}, but does not prevent text wrapping.
Example
Typing
in the edit window would yield {{foo|bar|baz|boo}}
Template:Foo
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 {{= }}?]:
{{click|image=image name|width=width|height=height|link=page name}}
Or you can use parameter-number=value
as in:
{{click|image=image name|width=width|height=height|link=page name}}
Either method would yield the following output:
[[Image:image name|width|link=page name|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:
{{look from|Alan||all the Alans}}
That would yield the following displayed output:
TemplateData
TemplateData documentation used by VisualEditor and other tools | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Show example template usage without expanding the template itself. Unlike {{tlx}}, does not link the template.
|
See also
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 2 3
{{tlg}}
is the most general template, allowing any combination of text style and/or link style options. - 1 2 3 Prevents wrapping of text by placing it inside
<span style="white-space:nowrap">...</span>
tags. - ↑ Allows links to templates in any namespace.
- 1 2 3 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.