Template:Tlx

From MediaWiki
Revision as of 02:34, 10 April 2022 by Tigerpaw28 (talk | contribs) (Adding documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Description

[edit]

This template is a port of MediaWiki's Template:Tlx. It displays template calls without actually processing them, similar to using <pre> tags but with the name linked and without the background and border.

Usage

[edit]

Parameters

[edit]

This templates takes up to eight unnamed parameters, the first is the name of the template. The other seven are displayed as a parameter of the template call. It also has two named parameters. The first is SISTER, which can be used to pass a interwiki link prefix. The other can be specified as nowrap or yesno and, if provided, adds a nowrap class to control the wrapping behavior of the text.

Code

[edit]
{{tlx|speedydeletion|not needed anymore}}

Examples

[edit]

Code

[edit]
{{tlx|speedydeletion|not needed anymore}}

Result

[edit]

{{speedydeletion|not needed anymore}}

Code

[edit]
{{tlx|speedydeletion|not needed anymore|SISTER=gbwiki:}}

Result

[edit]

{{speedydeletion|not needed anymore}}

Code

[edit]
{{tlx|speedydeletion|not needed anymore|nowrap=true}}

Result

[edit]

{{speedydeletion|not needed anymore}}