Vorlage:Tnull: Unterschied zwischen den Versionen
This is [[MediaWiki:Tagline]]. Set to <code>display:none</code> by chameleon skin.
K (Schützte „Vorlage:Tnull“: Häufig eingebundene Vorlage ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt))) |
(kein Unterschied)
|
Version vom 17. September 2014, 13:50 Uhr
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 {{[[Template:{{{1}}}|{{{1}}}]]}}?]:
{{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
| Link style → | Linked | Unlinked | Linked with alternative text | |
|---|---|---|---|---|
| Text style ↓ | ↓ {{tlg}} options1 →
|
N/A |
|
|
| Normal | N/A | {{tlg}}1, 2{{tl}}{{tlp}}2
|
{{tlf}}2
|
{{tla}}
|
Code
|
or
|
{{tlx}}
|
{{tlc}}2{{tld}}2{{tnull}}
|
N/A |
- 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>.
| The above documentation is transcluded from Vorlage:Tnull/doc. (edit | history) Please add categories to the /doc subpage. Subpages of this template. |