Template:Tl: Difference between revisions
Content added Content deleted
m (1 revision) |
imported>FrozenPlum mNo edit summary |
||
(7 intermediate revisions by 6 users not shown) | |||
Line 1:
<onlyinclude><includeonly>{{#if:{{{1|}}}|<!--
<code>{{[[Template:{{{1}}}|{{{1}}}]]}}</code><noinclude>▼
--><code>{{((}}<!--
-->{{#if:{{{nl|}}}{{ifexists|1=Template:{{{1}}}|3=n}}<!--
-->|<span title="Template:{{{1}}}">{{{1}}}</span><!--
-->}}<!--
-->{{#if: {{{2|}}} | {{!}}{{{2}}} }}<!--
-->{{#if: {{{3|}}} | {{!}}{{{3}}} }}<!--
-->{{#if: {{{4|}}} | {{!}}{{{4}}} }}<!--
-->{{#if: {{{5|}}} | {{!}}{{{5}}} }}<!--
-->{{#if: {{{6|}}} | {{!}}{{{6}}} }}<!--
-->{{#if: {{{7|}}} | {{!}}{{{7}}} }}<!--
-->{{#if: {{{8|}}} | {{!}}{{{8}}} }}<!--
-->{{#if: {{{9|}}} | {{!}}{{{9}}} }}<!--
-->{{))}}</code><!--
-->}}</includeonly></onlyinclude>
{{Documentation}}
|
Latest revision as of 03:48, 29 March 2022
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|DPL3}}
returns{{DPL3}}
{{tl|DPL3|1}}
returns{{DPL3|1}}
{{tl|DPL3|1|2|nl=y}}
returns{{DPL3|1|2}}
{{tl|See|page|t1{{=}}alt text|nl=y}}
returns{{See|page|t1=alt text}}
See also
[view | edit | purge]The above documentation is transcluded from Template:Tl/doc.