Template:Tnull/doc View history

(Changed category)
(removing call to a missing template (no impact as we are in a /doc page))
 
(One intermediate revision by one other user not shown)
Line 24: Line 24:
:{{tnull|look from|Alan||all the Alans}}
:{{tnull|look from|Alan||all the Alans}}


=== See also ===
{{Tl-nav}}


<includeonly>
<includeonly>
<!-- ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE -->
<!-- ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE -->
[[Category:Text Formatting Templates]]
[[Category:Text formatting templates]]


</includeonly>
</includeonly>

Latest revision as of 12:03, 13 April 2015

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