Jump to content

Template:Tnull

From Meta, a Wikimedia project coordination wiki
Template documentation

Usage

[edit]

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

[edit]

Typing {{tnull|foo|bar|baz|boo}} in the "edit-form" would yield {{foo|bar|baz|boo}} in the "read-mode".

Note on the "=" character

[edit]

If there is a "=" character in any parameter, you must replace it with = as in:

{{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}}

See also

[edit]
  • {{tlc}} – No link, several parameters, and text in <code> style: {{tlc}}
  • {{tlf}} – No link, several parameters, and normal text style: {{tlf}}
  • {{tl}} – Template link, no parameters, and normal text style: {{tl}}
  • {{tlx}} – Template link, several parameters, and interwiki links: {{tlx}} (output styled presently like {{tlf}}, but formerly used <code> style, as other wikis' versions still do)