Template:Tnull: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>@legacy41915546
(rm g)
>Pcjbot
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><tt>&#123;&#123;{{#ifeq:{{lcfirst:{{{1|}}}}}|{{lc:{{{1|}}}}}|{{lcfirst:{{{1|}}}}}|{{{1|}}}}}{{#if:{{{2|}}}|&#124;{{{2}}}|}}{{#if:{{{3|}}}|&#124;{{{3}}}|}}{{#if:{{{4|}}}|&#124;{{{4}}}|}}{{#if:{{{5|}}}|&#124;{{{5}}}|}}{{#if:{{{6|}}}|&#124;{{{6}}}|}}{{#if:{{{7|}}}|&#124;{{{7}}}|}}{{#if:{{{8|}}}|&#124;{{{8}}}|}}&#125;&#125;</tt>&nbsp;</includeonly><noinclude>{{pp-template|small=yes}}{{template doc}}</noinclude><noinclude>[[Category:Templates]]</noinclude>
<includeonly><code>&#123;&#123;{{#ifeq:{{lcfirst:{{{1|}}}}}|{{lc:{{{1|}}}}}|{{lcfirst:{{{1|}}}}}|{{{1|}}}}}{{#if:{{{2|}}}|&#124;{{{2}}}|}}{{#if:{{{3|}}}|&#124;{{{3}}}|}}{{#if:{{{4|}}}|&#124;{{{4}}}|}}{{#if:{{{5|}}}|&#124;{{{5}}}|}}{{#if:{{{6|}}}|&#124;{{{6}}}|}}{{#if:{{{7|}}}|&#124;{{{7}}}|}}{{#if:{{{8|}}}|&#124;{{{8}}}|}}&#125;&#125;</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.

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}}