Ikariam Wiki
Advertisement


[edit]

Documentation



The template link template is a simple macro template used to display a template name as a link surrounded by braces, thus showing how the template name would be used in code. Its primary use is in instruction and documentation. A short example is that the code:

{{tl|example}}
generates
Format:Tl

More complex variations are described below.

Related templates

Format:Tl2 differs in that it displays an arguably clearer result like Format:Tlx, and also takes the named parameters 'SISTER=xx' and 'LANG=ll', so that it may also be used to list and link to templates on other English and non-English language sister projects.

Format:Tlx displays with the same enhanced presentation, and also expands several 'placeholder' parameters to generate a sample template call.

Usage

 {{Tl|template name to display}}

Example

Code Result
{{Tl|x0}} {{x0}}

See also

  • Format:Tl – Template link, up to three parameters and interwiki links.
  • Format:Tl – Template link, with up to eight parameters.
  • Format:Tl – Template link, up to three parameters and interwiki links.
  • Format:Tl – Template link, ditto subst'ed.
  • Format:Tl – See Lts discussion for more variants.
  • Format:Tl – Like Format:Tlx / Format:Tlx for any namespace.
  • Format:Tl – Same as tl, but shows the braces as part of the link.
  • Format:Tl – Show live example
  • Format:Tl, Format:Tl and Format:Tl – Template names without links.
  • Format:Tl and Format:Tl – Template link with tooltip, with no and one parameter respectively.
  • Format:Tl - For showing templates and their properties in a table
Advertisement