(Creating Template:Tnull/doc)
Tag: sourceedit
 
m (Protected "Template:Tnull/doc": Documentation of highly visible, high-use, high-risk, and/or intricate Template (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(No difference)

Latest revision as of 04:51, 16 September 2015

Usage

Template:Tnull/doc 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

  • {{tnull|foo|bar|baz|boo}} in the "edit-form"
produces …
{{foo|bar|baz|boo}} in the "read-mode"

Note on the "=" character

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

  • {{tlc}} – No link, several parameters and text in <code></code> style.
  • {{tld}} – No link, several parameters and teletype text style.
  • {{tlf}} – No link, several parameters and normal text style.
  • {{tl}} – Template link, no parameters and normal text style.
  • {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
  • {{tn}} – Same as {{tl}} except it shows the braces as part of the link.


Community content is available under CC-BY-SA unless otherwise noted.