Template:Tnull/doc: Difference between revisions
Jump to navigation
Jump to search
>LegacymtgsalvationUser8147 No edit summary |
>Yandere-sliver No edit summary |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | |||
'''Tnull''' is used to nullify templates in the monospaced font. It is similar to {{tl|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 {{tl|tlx}} in the way that it has support for up to six parameters. | ||
;Example: | ;Example: | ||
:Typing < | :Typing <code><code>{{tnull|foo|bar|baz|boo}}</code></code> in the edit-form would yield {{foo|bar|baz|boo}} in the "read-mode". | ||
;Note: | ;Note: | ||
:If there is an "=" in ''any'' parameter, you must use < | :If there is an "=" in ''any'' parameter, you must use <code>parameter number=text</code>. So to nullify something like <nowiki>{{helpme}}</nowiki>, use the syntax <code>{{tnull|click|2=image=IMAGE NAME|3=width=WIDTH|4=height=HEIGHT|5=link=PAGE TO LINK TO}}</code>, which would yield {{tnull|click|2=image=IMAGE NAME|3=width=WIDTH|4=height=HEIGHT|5=link=PAGE TO LINK TO}} | ||
Latest revision as of 02:55, 18 June 2019
This is a template documentation subpage for Template:Tnull.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.
It contains usage information, categories, interlanguage links 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 up to six parameters.
- Example
- Typing
in the edit-form would yield {{foo|bar|baz|boo}} in the "read-mode".{{tnull|foo|bar|baz|boo}}
- Note
- If there is an "=" in any parameter, you must use
parameter number=text
. So to nullify something like {{helpme}}, 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}}