A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Template:Template below:

Template:Tlx - MediaWiki

This template creates example usage syntax for a template, and links the name to the template page. The name is derived from "Template list expanded".

Up to 7 pass parameters (numbered) for the specified template are displayed as 'placeholders', and more parameters are shown as "|...".

Examples

Code Result Remark {{tlx|x0}} {{x0}} {{tlx|x1|one}} {{x1|one}} {{tlx|x2|one|two}} {{x2|one|two}} {{tlx|x3|1|2|3}} {{x3|1|2|3}} {{tlx|x4|1|2|3|4}} {{x4|1|2|3|4}} up to 7 parameters, then ... {{tlx|x4|1|2|3&#124;4}} {{x4|1|2|3|4}} &#124; for more {{tlx|x1|x=u}} {{x1}} = won't work {{tlx|x1|x&#61;u}} {{x1|x=u}} &#61; is okay {{tlx|x1|<nowiki>x=u</nowiki>}} {{x1|x=u}} sticky nowiki is okay {{tlx|x1|2=x=u}} {{x1|x=u}} numbered parameter is okay {{tlx|x1|x{{=}}u}} {{x1|x=u}} {{=}} is okay {{tlx|x2| |two}} {{x2|two}} empty won't work {{tlx|x2|&#32;|two}} {{x2| |two}} &#32; is okay {{tlx|x2|&nbsp;|two}} {{x2| |two}} &nbsp; is okay {{tlx|x2|&#124; two}} {{x2|| two}} &#124; is okay {{tlx|x2|{{!}} two}} {{x2|| two}} {{!}} is dubious {{tlx|x2|2=|3=two}} {{x2|two}} empty really doesn't work {{tlx|x2|3=two|2=one}} {{x2|one|two}} right to left okay

TemplateData

Template list expanded.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

Parameter Description Type Status Nowrap? nowrap

Whether to add “<span style="white-space: nowrap">”.

Default
0
Auto value
1
Boolean optional Display text alttext

Displayed link text.

Default
{{{1}}}
Line optional Template 1

Linked template name.

Template required Parameter 1 2

First parameter value.

String optional Parameter 2 3

Second parameter value.

String optional Parameter 3 4

Third parameter value.

String optional Parameter 4 5

Fourth parameter value.

String optional Parameter 5 6

Fifth parameter value.

String optional Parameter 6 7

Sixth parameter value.

String optional Overflow 8

Overflow shown as “…”.

String optional Interwiki SISTER

Optional InterWiki link prefix.

String deprecated

See also

These tables: view · talk · edit

  1. 1.0 1.1 1.2 {{tlg}} is the most general template, allowing any combination of text style and/or link style options.
  2. 2.0 2.1 2.2 Prevents wrapping of text by placing it inside <span style="white-space:nowrap">...</span> tags.
  3. Allows links to templates in any namespace.
  4. 4.0 4.1 4.2 Displays monospaced font using <span style="font-family:monospace">...</span>.
  5. {{tlg|plaincode=1}} uses <code style="background:transparent;border:none">...</code> .
  6. {{tlg|kbd=1}} uses ‎<kbd> tags.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4