Template:Tl/doc

From Welcome to Elderfield Wiki
Jump to navigation Jump to search
{{#if: This code is adapted from Wikipedia. |

This code is adapted from Wikipedia.

}}

For the original code, see the following pages:

Saved #arraymap:Module:Template link general,Template:Tlx content
{{#arraymap:Module:Template link general,Template:Tlx|,|%s|%s}}

This component is preserved in source form.

This template uses one or more modules written in the Lua programming language.

For more information, see Wikipedia:Lua or the Lua reference manual on mediawiki.org. Modules used include:

Saved #arraymap:Template link content
{{#arraymap:Template link|,|%s|'''%s'''}}

This component is preserved in source form.

.


This template returns an exemplaric use of a template while linking to the template description page, if the template exists.

Usage

{{tl|

unnamed parameter 1

Template name (without Template: prefix)

unnamed parameter 2 - 9

Optional. Template parameters

nl

Optional flag to display an un-linked template usage.


Examples

{{tl|stub}} returns {{stub}}

{{tl|stub|1}} returns {{stub}}

{{tl|stub|1|2|nl{{=}}y}} returns {{stub}}

{{tl|for|page|t1{{=}}alt text}} returns {{for}}


See also