Template:Tnull/doc: Difference between revisions
Jump to navigation
Jump to search
>@legacy41915546 No edit summary |
>Yandere-sliver No edit summary |
||
Line 3: | Line 3: | ||
:Typing <tt><code>{{tnull|foo|bar|baz|boo}}</code></tt> in the edit-form would yield {{foo|bar|baz|boo}} in the "read-mode". | :Typing <tt><code>{{tnull|foo|bar|baz|boo}}</code></tt> 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 <tt>parameter number=text</tt>. So to nullify something like <nowiki>{{helpme}}</nowiki>, use the syntax <tt>{{tnull|click|2=image=IMAGE NAME|3=width=WIDTH|4=height=HEIGHT|5=link=PAGE TO LINK TO}}</tt>, which would yield {{tnull|click|2=image=IMAGE NAME|3=width=WIDTH|4=height=HEIGHT|5=link=PAGE TO LINK TO}}<noinclude>[[ | :If there is an "=" in ''any'' parameter, you must use <tt>parameter number=text</tt>. So to nullify something like <nowiki>{{helpme}}</nowiki>, use the syntax <tt>{{tnull|click|2=image=IMAGE NAME|3=width=WIDTH|4=height=HEIGHT|5=link=PAGE TO LINK TO}}</tt>, which would yield {{tnull|click|2=image=IMAGE NAME|3=width=WIDTH|4=height=HEIGHT|5=link=PAGE TO LINK TO}}<noinclude>[[Template documentation pages]]</noinclude> |
Revision as of 12:38, 27 May 2018
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 {{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}}
Template documentation pages