Szablon:Template link: Różnice pomiędzy wersjami

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja nieprzejrzana][wersja przejrzana]
Utworzono nową stronę "<includeonly><code>{{[[:{{#if: {{#pos: {{{1}}} | : }} || Szablon: }}{{{1}}}|{{ #ifeq: {{NAMESPACE:{{{1}}}}} | Szablon| {{PAGENAME:{{{1}}}}} | {{{1}}} }}]]{{ #if: {{{2|}}..."
 
KsawiBOT (dyskusja | edycje)
d standaryzacja szablonu dokumentacji
 
Linia 1: Linia 1:
<includeonly><code>{{[[:{{#if: {{#pos: {{{1}}} | : }} || Szablon: }}{{{1}}}|{{ #ifeq: {{NAMESPACE:{{{1}}}}} | Szablon| {{PAGENAME:{{{1}}}}} | {{{1}}} }}]]{{ #if: {{{2|}}} | {{!}}{{{2}}} }}{{ #if: {{{3|}}} | {{!}}{{{3}}} }}{{ #if: {{{4|}}} | {{!}}{{{4}}} }}{{ #if: {{{5|}}} | {{!}}{{{5}}} }}}}</code></includeonly><noinclude>
<includeonly><code>{{[[:{{#if: {{#pos: {{{1}}} | : }} || Szablon: }}{{{1}}}|{{ #ifeq: {{NAMESPACE:{{{1}}}}} | Szablon| {{PAGENAME:{{{1}}}}} | {{{1}}} }}]]{{ #if: {{{2|}}} | {{!}}{{{2}}} }}{{ #if: {{{3|}}} | {{!}}{{{3}}} }}{{ #if: {{{4|}}} | {{!}}{{{4}}} }}{{ #if: {{{5|}}} | {{!}}{{{5}}} }}}}</code></includeonly><noinclude>
<!-- categories/interwikis on the /doc subpage, not here -->
<!-- categories/interwikis on the /doc subpage, not here -->
{{/doc}}
{{Dokumentacja}}
</noinclude>
</noinclude>

Aktualna wersja na dzień 18:34, 6 wrz 2021

[ podgląd | edytuj | historia | odśwież ]Dokumentacja
Artykuł „Template link” jest w trakcie tłumaczenia.
Możesz pomóc tłumacząc go.

This template is used to easily link to a template, while displaying the template brackets.

Usage[edytuj kod]

{{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[edytuj kod]

{{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[edytuj kod]