Template:Tnull/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>SMcCandlish m typo |
meta>Funandtrvl m rm extra punctuation where it's not supposed to be when cutting & pasting |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
===Usage=== | |||
'''Tnull''' is used to nullify templates in the monospaced font. It is similar to {{ | '''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. | ||
=== Example === | === Example === | ||
Typing <code>{{tnull|foo|bar|baz|boo}}</code> in the "edit-form" would yield <code>{{foo|bar|baz|boo}}</code> in the "read-mode". | |||
=== Note on the "=" character === | |||
If there is a "=" character in ''any'' parameter, you must replace it with <code>&#61;</code> as in: | |||
:<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: | 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>}} | ||
=== See also === | === See also === | ||
* {{tlx|tlc}} – No link, several parameters and text in <code><code></code></code> style. | |||
* {{ | * {{tlx|tld}} – No link, several parameters and <tt>teletype</tt> text style. | ||
* {{ | * {{tlx|tlf}} – No link, several parameters and normal text style. | ||
* {{ | * {{tlx|tl}} – Template link, no parameters and normal text style. | ||
* {{tlx|tlx}} – Template link, several parameters and interwiki links, <tt>teletype</tt> text style. | |||
* {{ | * {{tlx|tn}} – Same as {{tlx|tl}} except it shows the braces as part of the link. | ||
* {{ | |||
* {{ | |||
<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> |
Revision as of 03:28, 22 May 2009
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}}
See also
{{tlc}}
– No link, several parameters and text in<code></code>
style.{{tld}}
– No link, several parameters and teletype text style.{{tlf}}
– No link, several parameters and normal text style.{{tl}}
– Template link, no parameters and normal text style.{{tlx}}
– Template link, several parameters and interwiki links, teletype text style.{{tn}}
– Same as{{tl}}
except it shows the braces as part of the link.