Template:Tlx: Difference between revisions

From PZwiki
m (update doc)
m (Automated Formatting for Infobox and Section Headers)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
{{Documentation/sandbox|doc =
{{Documentation/sandbox|doc =
'''Template link expanded''', shortened to {{tll|tlx}}, is used to provide stylized formatting to template displays without actually using the template itself. The code generated will be displayed inline.
'''Template link expanded''', shortened to {{tll|tlx}}, is used to provide stylized formatting to template displays without actually using the template itself. The code generated will be displayed inline.
==Usage==
==Usage==
===Parameters===
===Parameters===
;<code>1</code> <sup>(required)</sup>
;<code>1</code> {{sup|required}}
:The name of the template to be displayed.
:The name of the template to be displayed.
;<code>2</code> - <code>12</code>
;<code>2</code> - <code>12</code>

Latest revision as of 11:37, 7 March 2024

Notebook.pngTemplate Documentation

Template link expanded, shortened to {{tlx}}, is used to provide stylized formatting to template displays without actually using the template itself. The code generated will be displayed inline.

Usage

Parameters

1 Required
The name of the template to be displayed.
2 - 12
Parameters to be displayed within the template.
subst
If not empty, will display a link to the template with the subst: prefix.
SISTER
Interwiki prefix for the template. e.g. mw:.

Examples

How to translate

This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:

  1. Create a subpage of this template with the language code of the language you want to translate to.
  2. Copy the code wrapped in the <noinclude> tag in this template into the page you created.
    {{Translation guide}} template should be removed from the translated documentation.
  3. Translate the page according to the translation requirements of normal pages.

See also

Editors can experiment in this template's sandbox.