Template:Tnull
From Ava Zinn Wiki
Contents
Usage[edit]
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, but it does not link the template name. It is similar to {{tlc}}, but does not prevent text wrapping.
Example[edit]
Typing {{tnull|foo|bar|baz|boo}}
in the edit window would yield {{foo|bar|baz|boo}}
in the rendered page.
Special character handling[edit]
"=" (equality sign)[edit]
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)[edit]
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[edit]
Template-linking templates
Templates by syntax[edit]
Link style → | Linked | Unlinked | Linked with subst | Linked including braces | Linked with alternative text | |
---|---|---|---|---|---|---|
Text style ↓ | ↓ {{tlg}} options1 →
|
N/A |
|
|
|
|
Normal | N/A | {{tlg}} 1, 2{{tl}} {{t links}} {{tlp}} 2
|
{{tlf}} 2
|
{{tls}} {{tlsp}}
|
{{tn}}
|
{{tla}}
|
Code
|
or
|
{{tlx}}
|
{{tlc}} 2{{tld}} 2{{tnull}}
|
{{tlxs}}
|
N/A | |
Bold |
|
{{tlb}}
|
N/A | |||
Bold code
|
|
{{tlxb}}
| ||||
Italic code
|
|
{{tlxi}}
|
1 =
2 = Prevents wrapping of text by placing it inside
{{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.Templates with example[edit]
{{lts|Hatnote}} |
→ | Template:Hatnote(edit talk links history) |
{{t links|Hatnote}} |
→ | Hatnote (edit · talk · history · links · /subpages · /doc · /doc edit · /sbox · /sbox diff · /test) |
{{tfd links|Hatnote}} |
→ | <div id="Template:Hatnote"/>Template:Hatnote (edit|talk|history|links|logs|delete) |
{{tiw|Hatnote}} |
→ | Template:hatnote (backlinks edit) |
{{tl|Hatnote}} |
→ | {{hatnote}}
|
{{tl2|Hatnote}} |
→ | {{hatnote}}
|
{{tla|Hatnote|some label}} |
→ | {{some label}} |
{{tlb|Hatnote}} |
→ | {{hatnote}} |
{{tlc|Hatnote}} |
→ | {{hatnote}}
|
{{tld|Hatnote}} |
→ | {{hatnote}}
|
{{tlf|Hatnote}} |
→ | {{hatnote}} |
{{tlg|Hatnote}} |
→ | {{hatnote}} |
{{tlp|Hatnote}} |
→ | {{hatnote}} |
{{tls|Hatnote}} |
→ | {{subst:hatnote}} |
{{tlsp|Hatnote}} |
→ | {{subst:hatnote}} |
{{tlu|Hatnote}} |
→ | {{hatnote}} |
{{tlx|Hatnote}} |
→ | {{hatnote}}
|
{{tlxb|Hatnote}} |
→ | {{hatnote}}
|
{{tlxi|Hatnote}} |
→ | {{hatnote}}
|
{{tlxs|Hatnote}} |
→ | {{subst:hatnote}}
|
{{tn|Hatnote}} |
→ | {{hatnote}} |
{{tnull|Hatnote}} |
→ | {{hatnote}}
|
{{xpd|Hatnote}} |
→ |
The above documentation is transcluded from Template:Tnull/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |