Template:Tnull/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Paine Ellsworth
→‎Note on the "=" character: include subsection on the pipe (|) character
No edit summary
Line 23: Line 23:
That would yield the following displayed output:
That would yield the following displayed output:
:{{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:Typing-aid templates|{{PAGENAME}}]]
[[Category:Typing-aid templates|{{PAGENAME}}]]


</includeonly>
<includeonly>
[[kk:Үлгі:Tnull/doc]]
[[ja:Template:Tnull]]
</includeonly>
</includeonly>

Revision as of 13:22, 24 June 2013

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