π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Tnull

π†π‚πŒ°πŒΌ Wikipedia
Jump to navigation Jump to search

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 window would yield {{foo|bar|baz|boo}} in the rendered page.

Special character handling[𐌹𐌽𐌼𐌰𐌹𐌳𐌴𐌹]

"=" (equality sign)[𐌹𐌽𐌼𐌰𐌹𐌳𐌴𐌹]

If there is a "=" character (equality/equals sign) in any parameter, it must be replaced with = [or {{=}}?]:

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

"|" (vertical bar, pipe)[𐌹𐌽𐌼𐌰𐌹𐌳𐌴𐌹]

If a second consecutive pipe (|) is used to denote that a parameter has been skipped, you must replace it with | as in:

{{tnull|look from|Alan||all the Alans}}

That would yield the following displayed output:

{{Look from|Alan||all the Alans}}

See also[𐌹𐌽𐌼𐌰𐌹𐌳𐌴𐌹]

π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Navbar

General-purpose formatting[𐌹𐌽𐌼𐌰𐌹𐌳𐌴𐌹]

  • 1 {{Tlg}} is the most general, allowing any combination of text style and/or link style options.
  • 2 Prevents wrapping of text by placing it inside <span class="nowrap">...</span> tags.
  • 3 Uses monospace font but not <code>...</code>.
  • 4 Allows links to templates in any namespace.

Other formatting templates[𐌹𐌽𐌼𐌰𐌹𐌳𐌴𐌹]

Code example Effect Notes
{{Tl2|Hatnote|lang=fr}} π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Tl2 Supports linking to sister projects (e.g., fr:Hatnote)
{{Tlu|User:Ahunt/SSHFS}} π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Tlu Supports linking to any namespace
{{Xpd|Hatnote|Some hatnote text}} π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Xpd Shows code, example and a link to expand the template code
{{Para|title|<var>book title</var>}} |title=book title Formats template parameters for display, with or without values

With utility links[𐌹𐌽𐌼𐌰𐌹𐌳𐌴𐌹]

Code example Effect
{{Lts|Hatnote}} π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Lts
{{T links|Hatnote}} π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:T links
{{Tfd links|Hatnote}} π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Tfd links
{{Tiw|Hatnote}} π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Tiw
{{Tltt|Hatnote}} π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Tltt
{{Tetl|Hatnote}} π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Tetl
{{Tsetl|Hatnote}} π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Tsetl
{{Ti|Hatnote}} π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Ti
{{Tic|Hatnote}} π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Tic
{{Tiw|Hatnote}} π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Tiw
{{Tlt|Hatnote}} π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Tlt
{{Ttl|Hatnote}} π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Ttl
{{Twlh|Hatnote}} π†πŒ°πŒΏπ‚πŒ°πŒΌπŒ΄πŒ»πŒ΄πŒΉπŒ½πƒ:Twlh