Changes

Jump to navigation Jump to search
m
Robot - Speedily moving category Template-related templates to Category:Template namespace templates per CFDS.
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
===Usage===
'''Tnull''' is used to nullify templates in the monospaced font. It is similar to {{tlx|tlx}} in the way that it has support for many parameters, but it does not link the template name. It is similar to {{tl|tlc}}, but does not prevent text wrapping.

===Example===
Typing <code>&#123;&#123;tnull|foo|bar|baz|boo&#125;&#125;</code> in the edit window would yield <code>&#123;&#123;foo|bar|baz|boo&#125;&#125;</code> in the rendered page.

===Special character handling===
===="=" (equality sign)====
If there is a "=" character (equality/equals sign) in ''any'' parameter, it must be replaced with <code>&amp;#61;</code> [or {{tl|{{=}}}}?]:
:<code>&#123;&#123;tnull|click|image&amp;#61;<var>image name</var>|width&amp;#61;<var>width</var>|height&amp;#61;<var>height</var>|link&amp;#61;<var>page name</var>&#125;&#125;</code>

Or you can use <code><var>parameter-number</var>=<var>value</var></code> as in:
:<code>&#123;&#123;tnull|click|2=image=<var>image name</var>|3=width=<var>width</var>|4=height=<var>height</var>|5=link=<var>page name</var>&#125;&#125;</code>

Either method would yield the following output:
:{{tnull|click|2=image=<var>image name</var>|3=width=<var>width</var>|4=height=<var>height</var>|5=link=<var>page name</var>}}

===="|" (vertical bar, pipe)====
If a second consecutive pipe (|) is used to denote that a parameter has been skipped, you must replace it with <code>&amp;#124;</code> as in:
:<code>&#123;&#123;tnull|look from|Alan|&amp;#124;all the Alans&#125;&#125;</code>

That would yield the following displayed output:
:{{tnull|look from|Alan|&#124;all the Alans}}

===See also===
{{Template-linking templates}}

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- ADD CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Template namespace templates]]
[[Category:Typing-aid templates]]
}}</includeonly>
Anonymous user

Navigation menu