Template:Tnull/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Animum Use <code> |
meta>Animum m correct tag |
||
Line 2: | Line 2: | ||
'''Tnull''' is used to nullify templates in the monospaced font. It is similar to {{tl2|tlx}} in the way that it has support for up to six 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 up to six parameters. | ||
;Example: | ;Example: | ||
:Typing <tt><code>{{tnull|foo|bar|baz|boo}}</code></tt> in the edit-form would yield < | :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: | ;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 LINK TO}}</code></tt>, which would yield {{tnull|click|2=image=IMAGE NAME|3=width=WIDTH|4=height=HEIGHT|5=link=PAGE TO LINK TO}} | :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 LINK TO}}</code></tt>, which would yield {{tnull|click|2=image=IMAGE NAME|3=width=WIDTH|4=height=HEIGHT|5=link=PAGE TO LINK TO}} |
Revision as of 00:53, 12 April 2008
Template:Template doc page viewed directly
Tnull is used to nullify templates in the monospaced font. It is similar to {{tlx}}
in the way that it has support for up to six 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 LINK TO}}
, which would yield{{click|image=IMAGE NAME|width=WIDTH|height=HEIGHT|link=PAGE TO LINK TO}}