Szablon:Template link

Wersja z dnia 23:00, 26 maj 2015 autorstwa Lewandowski (dyskusja | edycje) (Utworzono nową stronę "<includeonly><code>{{[[:{{#if: {{#pos: {{{1}}} | : }} || Szablon: }}{{{1}}}|{{ #ifeq: {{NAMESPACE:{{{1}}}}} | Szablon| {{PAGENAME:{{{1}}}}} | {{{1}}} }}]]{{ #if: {{{2|}}...")
(różn.) ← poprzednia wersja | przejdź do aktualnej wersji (różn.) | następna wersja → (różn.)

Szablon:Doc/start Szablon:Shortcut This template is used to easily link to a template, while displaying the template brackets.

Usage

{{tl|template name}}

template name can be any page, using the same conventions as transclusion. Basically the "Template:" prefix is optional, and a colon is required to link the main space.

Parameters can also be added, to a maximum of 4. Note that ='s must be escaped using {{=}}

Examples

{{tl|OS}} gives:
{{OS}}

{{tl|Template:Block}} gives:
{{Block}}

{{tl|:Commands/infobox}} gives:
{{[[::Commands/infobox|

Commands/infobox]]}}

{{tl|move|Page to move to|Optional reason}} gives:
{{move|Page to move to|Optional reason}}

See also