Template:Tnull/doc View history

(Created doc page for template)
 
(Changed category)
Line 29: Line 29:
<includeonly>
<includeonly>
<!-- ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE -->
<!-- ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE -->
[[Category:Typing-aid templates|{{PAGENAME}}]]
[[Category:Text Formatting Templates]]


</includeonly>
</includeonly>

Revision as of 21:15, 7 March 2014

This is a documentation subpage for Template:Tnull.
It contains usage information, categories and other content that is not part of the original template page.

Usage

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.

Example

Typing {{tnull|foo|bar|baz|boo}} in the "edit-form" would yield {{foo|bar|baz|boo}} in the "read-mode".

Note on the "=" character

If there is a "=" character in any parameter, you must replace it with &#61; as in:

{{tnull|click|image&#61;image name|width&#61;width|height&#61;height|link&#61;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}}

Note on the "|" character

If a second consecutive pipe (|) is used to denote that a parameter has been skipped, you must replace it with &#124; as in:

{{tnull|look from|Alan|&#124;all the Alans}}

That would yield the following displayed output:

{{look from|Alan||all the Alans}}

See also

Template:Tl-nav