Template:Tnull/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>DixonDBot m Migrating 4 interwiki links, now provided by Wikidata on d:Q7230920 |
meta>Paine Ellsworth →Note on the "=" character: include subsection on the pipe (|) character |
||
Line 16: | Line 16: | ||
Either method would yield the following output: | 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>}} | :{{tnull|click|2=image=<var>image name</var>|3=width=<var>width</var>|4=height=<var>height</var>|5=link=<var>page name</var>}} | ||
=== Note on the "|" character === | |||
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 === | === See also === |
Revision as of 05:45, 16 June 2013
This is a documentation subpage for Template:Tnull. It may contain 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 =
as in:
{{tnull|click|image=image name|width=width|height=height|link=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 |
as in:
{{tnull|look from|Alan||all the Alans}}
That would yield the following displayed output:
{{look from|Alan||all the Alans}}
See also