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>{{tnull|foo|bar|baz|boo}}</code> in the edit window would yield <code>{{foo|bar|baz|boo}}</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>&#61;</code> [or {{tl|{{=}}}}?]:
:<code>{{tnull|click|image&#61;<var>image name</var>|width&#61;<var>width</var>|height&#61;<var>height</var>|link&#61;<var>page name</var>}}</code>
Or you can use <code><var>parameter-number</var>=<var>value</var></code> as in:
:<code>{{tnull|click|2=image=<var>image name</var>|3=width=<var>width</var>|4=height=<var>height</var>|5=link=<var>page name</var>}}</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>&#124;</code> as in:
:<code>{{tnull|look from|Alan|&#124;all the Alans}}</code>
That would yield the following displayed output:
:{{tnull|look from|Alan||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>
<!-- 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>{{tnull|foo|bar|baz|boo}}</code> in the edit window would yield <code>{{foo|bar|baz|boo}}</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>&#61;</code> [or {{tl|{{=}}}}?]:
:<code>{{tnull|click|image&#61;<var>image name</var>|width&#61;<var>width</var>|height&#61;<var>height</var>|link&#61;<var>page name</var>}}</code>
Or you can use <code><var>parameter-number</var>=<var>value</var></code> as in:
:<code>{{tnull|click|2=image=<var>image name</var>|3=width=<var>width</var>|4=height=<var>height</var>|5=link=<var>page name</var>}}</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>&#124;</code> as in:
:<code>{{tnull|look from|Alan|&#124;all the Alans}}</code>
That would yield the following displayed output:
:{{tnull|look from|Alan||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>