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

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

Parameters

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

{{tlx|speedydeletion|not needed anymore}}

Examples

Code

{{tlx|speedydeletion|not needed anymore}}

Result

{{speedydeletion|not needed anymore}}

Code

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

Result

{{speedydeletion|not needed anymore}}

Code

{{tlx|speedydeletion|not needed anymore|nowrap=true}}

Result

{{speedydeletion|not needed anymore}}