Template:tnull/documentation

Documentation for Template:tnull. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

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, but it does not link the template name. It is similar to {{tlc}}, but does not prevent text wrapping.

Example edit

Typing {{tnull|foo|bar|baz|boo}} in the edit window would yield {{foo|bar|baz|boo}} in the rendered page.

Special character handling edit

"=" (equality sign) edit

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) edit

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

TemplateData edit

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for tnull

Show example template usage without expanding the template itself. Unlike {{tlx}}, does not link the template.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Template name1

Name of the template to link

Example
Tlx
Templaterequired
1st parameter2

no description

Stringoptional
2nd parameter3

no description

Stringoptional
3rd parameter4

no description

Stringoptional
4th parameter5

no description

Stringoptional
5th parameter6

no description

Stringoptional
6th parameter7

no description

Stringoptional
7th parameter8

no description

Stringoptional
8th parameter9

no description

Stringoptional
9th parameter10

no description

Stringoptional
10th parameter11

no description

Stringoptional