Template:Tnull: Difference between revisions
Jump to navigation
Jump to search
>@legacy41915546 No edit summary |
>Pcjbot mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>< | <includeonly><code>{{{{#ifeq:{{lcfirst:{{{1|}}}}}|{{lc:{{{1|}}}}}|{{lcfirst:{{{1|}}}}}|{{{1|}}}}}{{#if:{{{2|}}}||{{{2}}}|}}{{#if:{{{3|}}}||{{{3}}}|}}{{#if:{{{4|}}}||{{{4}}}|}}{{#if:{{{5|}}}||{{{5}}}|}}{{#if:{{{6|}}}||{{{6}}}|}}{{#if:{{{7|}}}||{{{7}}}|}}{{#if:{{{8|}}}||{{{8}}}|}}}}</code></includeonly><noinclude>{{Tnull/doc}}[[Category:Templates]]</noinclude> |
Latest revision as of 18:41, 14 November 2018
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}}