Template:Tnull

From Ava Zinn Wiki
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

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

See also[edit]

Template-linking templates

Templates by syntax[edit]

1 = {{tlg}} is the most general, allowing any combination of text style and/or link style options.
2 = Prevents wrapping of text by placing it inside <span class="nowrap">...</span> tags.

Templates with example[edit]

{{lts|Hatnote}} Template:Hatnote(edit talk links history)
{{t links|Hatnote}} Hatnote (edit · talk · history · links · /subpages · /doc · /doc edit · /sbox · /sbox diff · /test)
{{tfd links|Hatnote}} <div id="Template:Hatnote"/>Template:Hatnote (edit|talk|history|links|logs|delete)
{{tiw|Hatnote}} Template:hatnote (backlinks edit)
{{tl|Hatnote}} {{hatnote}}
{{tl2|Hatnote}} {{hatnote}}
{{tla|Hatnote|some label}} {{some label}}
{{tlb|Hatnote}} {{hatnote}}
{{tlc|Hatnote}} {{hatnote}}
{{tld|Hatnote}} {{hatnote}}
{{tlf|Hatnote}} {{hatnote}}
{{tlg|Hatnote}} {{hatnote}}
{{tlp|Hatnote}} {{hatnote}}
{{tls|Hatnote}} {{subst:hatnote}}
{{tlsp|Hatnote}} {{subst:hatnote}}
{{tlu|Hatnote}} {{hatnote}}
{{tlx|Hatnote}} {{hatnote}}
{{tlxb|Hatnote}} {{hatnote}}
{{tlxi|Hatnote}} {{hatnote}}
{{tlxs|Hatnote}} {{subst:hatnote}}
{{tn|Hatnote}} {{hatnote}}
{{tnull|Hatnote}} {{hatnote}}
{{xpd|Hatnote}}