Still working to recover. Please don't edit quite yet.

Difference between revisions of "Template:tnull"

From Anarchopedia
Jump to: navigation, search
(Новая: <includeonly><tt>{{{{#ifeq:{{lcfirst:{{{1|}}}}}|{{lc:{{{1|}}}}}|{{lcfirst:{{{1|}}}}}|{{{1|}}}}}{{#if:{{{2|}}}||{{{2}}}|}}{{#if:{{{3|}}}||{{{3}}}|}}{{#if:{{{4|}}}|&#12...)
 
 
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></includeonly><noinclude>{{documentation}}</noinclude>
+
<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></includeonly><noinclude>{{doc}}</noinclude>

Latest revision as of 03:45, 11 January 2012

[просмотр] [править] [история] [обновить]
20px|Документация|link=|alt=(i) Документация

Usage

Tnull is used to nullify templates in the monospaced font. It is similar to {{tlx}} in the way that it has support for many parameters.

Example

Typing {{tnull|foo|bar|baz|boo}} in the "edit-form" would yield {{foo|bar|baz|boo}} in the "read-mode".

Note on the "=" character

If there is a "=" character in any parameter, you must replace it with &#61; as in:

{{tnull|click|image&#61;image name|width&#61;width|height&#61;height|link&#61;page name}}

Or you can use parameter-number=value as in:

{{tnull|click|2=image=image name|3=width=width|4=height=height|5=link=page name}}

Either method would yield the following output:

{{click|image=image name|width=width|height=height|link=page name}}

See also

  • {{tlc}} – No link, several parameters and text in <code></code> style.
  • {{tld}} – No link, several parameters and teletype text style.
  • {{tlf}} – No link, several parameters and normal text style.
  • {{tl}} – Template link, no parameters and normal text style.
  • {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
  • {{tn}} – Same as {{tl}} except it shows the braces as part of the link.


tnull

Во избежание поломок страниц, использующих данный шаблон, желательно экспериментировать в своём личном пространстве.