Template:tnull
{{tnull|...}}
- The following documentation is located at Template:tnull/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Usage
editTnull 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
editTyping {{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)
editIf 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)
editIf 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
editTemplateData for tnull
Show example template usage without expanding the template itself. Unlike {{tlx}}, does not link the template.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Template name | 1 | Name of the template to link
| Template | required |
1st parameter | 2 | no description | String | optional |
2nd parameter | 3 | no description | String | optional |
3rd parameter | 4 | no description | String | optional |
4th parameter | 5 | no description | String | optional |
5th parameter | 6 | no description | String | optional |
6th parameter | 7 | no description | String | optional |
7th parameter | 8 | no description | String | optional |
8th parameter | 9 | no description | String | optional |
9th parameter | 10 | no description | String | optional |
10th parameter | 11 | no description | String | optional |