Template:Tnull/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Animum m omg grammar |
meta>Davidgothberg Adding "See also" to other similar templates. And modernising doc page header and footer. |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | |||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | |||
'''Tnull''' is used to nullify templates in the monospaced font. It is similar to {{tl2|tlx}} in the way that it has support for many parameters. | '''Tnull''' is used to nullify templates in the monospaced font. It is similar to {{tl2|tlx}} in the way that it has support for many parameters. | ||
=== Example === | |||
Typing <tt><code>{{tnull|foo|bar|baz|boo}}</code></tt> in the edit-form would yield <tt>{{foo|bar|baz|boo}}</tt> in the "read-mode". | |||
=== Note === | |||
If there is an "=" in ''any'' parameter, you must use <tt>parameter_number=text</tt>. So to nullify something like {{tl2|click}}, use the syntax <tt><code>{{tnull|click|2=image=IMAGE NAME|3=width=WIDTH|4=height=HEIGHT|5=link=PAGE TO WHICH TO LINK}}</code></tt>, which would yield {{tnull|click|2=image=IMAGE NAME|3=width=WIDTH|4=height=HEIGHT|5=link=PAGE TO LINK TO}} | |||
=== See also === | |||
* {{tl|tlc}} – No link, several parameters and text in <code><code></code></code> style. | |||
* {{tl|tld}} – No link, several parameters and <tt>teletype</tt> text style. | |||
* {{tl|tlf}} – No link, several parameters and normal text style. | |||
* {{tl|tl}} – Template link, no parameters and normal text style. | |||
* {{tl|tlx}} – Template link, several parameters and interwiki links, <tt>teletype</tt> text style. | |||
* {{tl|tn}} – Same as {{tlf|tl}}, but shows the braces as part of the link. | |||
<includeonly> | <includeonly> | ||
[[Category:Typing-aid templates| | <!-- ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE --> | ||
[[Category:Typing-aid templates|{{PAGENAME}}]] | |||
</includeonly> | </includeonly> |
Revision as of 03:05, 5 May 2008
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. |
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
If there is an "=" in any parameter, you must use parameter_number=text. So to nullify something like {{click}}
, use the syntax {{tnull|click|2=image=IMAGE NAME|3=width=WIDTH|4=height=HEIGHT|5=link=PAGE TO WHICH TO LINK}}
, which would yield {{click|image=IMAGE NAME|width=WIDTH|height=HEIGHT|link=PAGE TO LINK TO}}
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}}, but shows the braces as part of the link.