Template:Tl: Difference between revisions

From Portals of Phereon Wiki
Content added Content deleted
m (1 revision imported)
No edit summary
Line 4: Line 4:
-->|<span title="Template:{{{1}}}">{{{1}}}</span><!--
-->|<span title="Template:{{{1}}}">{{{1}}}</span><!--
-->|[[Template:{{{1}}}|{{{1}}}]]<!--
-->|[[Template:{{{1}}}|{{{1}}}]]<!--
-->}}<!--
-->}}{{void|<!--
-->{{#if: {{{2|}}} | {{!}}{{{2}}} }}<!--
-->{{#if: {{{2|}}} | {{!}}{{{2}}} }}<!--
-->{{#if: {{{3|}}} | {{!}}{{{3}}} }}<!--
-->{{#if: {{{3|}}} | {{!}}{{{3}}} }}<!--
Line 13: Line 13:
-->{{#if: {{{8|}}} | {{!}}{{{8}}} }}<!--
-->{{#if: {{{8|}}} | {{!}}{{{8}}} }}<!--
-->{{#if: {{{9|}}} | {{!}}{{{9}}} }}<!--
-->{{#if: {{{9|}}} | {{!}}{{{9}}} }}<!--
-->{{)}}</code><!--
-->{{)}}</code>}}<!--
-->}}<!--
-->}}<!--



Revision as of 14:05, 2 December 2019

[view | edit | purge]Documentation

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

Usage

{{tl|<Template name>}}
{{tl|<Template name>|<Template parameters>}}
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.

Parameters with “=”

Use {{=}} instead of a normal equality symbol when using Tl.

Examples

{{tl|stub}} returns {{stub
{{tl|stub|1}} returns {{stub
{{tl|stub|1|2|nl=y}} returns {{stub
{{tl|see|page|t1{{=}}alt text}} returns {{see

See also

[view | edit | purge]The above documentation is transcluded fromTemplate:Tl/doc.