Template:Template link: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
m Majr moved page Template:Tl to Template:Template link: Use redirect for shortcut name
allow linking to templates in any namespace; unnest parameters 2-5
Line 1: Line 1:
<includeonly><tt>{{[[Template:{{{1}}}|{{{1}}}]]{{#if: {{{2|}}}|{{!}}{{{2}}}{{#if: {{{3|}}}|{{!}}{{{3}}}{{#if: {{{4|}}}|{{!}}{{{4}}}{{#if: {{{5|}}}|{{!}}{{{5}}} }} }} }} }}}}</tt></includeonly><noinclude>
<includeonl y><code>{{[[{{ #ifeq: {{ #pos: {{{1}}} | : }} | 0 || {{ #if: {{NAMESPACE:{{{1}}}}} | {{NAMESPACE:{{{1}}}}} | {{ #if: {{{ns|}}} | {{{ns}}} | Template }} }} }}:{{{1}}}|{{{1}}}]]{{ #if: {{{2|}}} | {{!}}{{{2}}} }}{{ #if: {{{3|}}} | {{!}}{{{3}}} }}{{ #if: {{{4|}}} | {{!}}{{{4}}} }}{{ #if: {{{5|}}} | {{!}}{{{5}}} }}}}</code></includeonly><noinclude>
{{/doc}}
{{/doc}}


[[Category:Templates]][[fr:Modèle:M]]
[[Category:Templates]][[fr:Modèle:M]]
</noinclude>
</noinclude>

Revision as of 14:05, 2 September 2014

<includeonl y>{{[[Template:{{{1}}}|{{{1}}}]]}}</includeonly> Template:Template link/docfr:Modèle:M