Template:Tlx

From FlightGear wiki
Jump to navigation Jump to search

{{[[Template:{{{1}}}|{{{1}}}]]}}

The following template description is not displayed when the template is inserted in an article.

Goal

This template is used to show a link to a template, together with its parameters as wiki markup.

Usage

{{tlx|template|parameter|...|parameter}}

Only the template parameter is mandatory.

template
Template to be linked to
parameter
Up to ten parameters

Example

{{tlx|distinguish|Template:Tl}}

{{distinguish|Template:Tl}}

{{tlx|tlx|1|2|3|4|5|6|7|8|9|10}}

{{tlx|1|2|3|4|5|6|7|8|9|10}}

Known issues

Some characters will break templates when used inside template parameters, one of them is the equal sign "=" when used directly behind other characters. A few was around that is to use {{=}} or <nowiki>=</nowiki> instead.

Sometimes there are other problems as well, but in many cases using numbered parameters will help. For example using:

{{tlx|fgdata commit|commit|3=''t=''}}

{{fgdata commit|commit|t=}}

instead of:

{{tlx|fgdata commit|commit|''t=''}}

{{fgdata commit|commit}}

Related templates

  • {{tl}} which does not show any parameters
  • {{tlxr}} which shows the parameters as separate rows