Jump to content

සැකිල්ල:Template link null/උපදෙස්

Wikibooks වෙතින්

භාවිතය

[සංස්කරණය]

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.

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 = as in:

{{tnull|click|image=image name|width=width|height=height|link=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}}
  • {{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.
"https://si.wikibooks.org/w/index.php?title=සැකිල්ල:Template_link_null/උපදෙස්&oldid=27860" වෙතින් සම්ප්‍රවේශනය කෙරිණි