Template:Template link: Difference between revisions
Jump to navigation
Jump to search
update documentation style |
if input is given like {{tl|Template:<name>}}, the output should just be {{<name>}}, not {{Template:<name>}} |
||
Line 1: | Line 1: | ||
<includeonly><code>{{[[:{{#if: {{#pos: {{{1}}} | : }} || Template: }}{{{1}}}|{{{1}}}]]{{ #if: {{{2|}}} | {{!}}{{{2}}} }}{{ #if: {{{3|}}} | {{!}}{{{3}}} }}{{ #if: {{{4|}}} | {{!}}{{{4}}} }}{{ #if: {{{5|}}} | {{!}}{{{5}}} }}}}</code></includeonly><noinclude> | <includeonly><code>{{[[:{{#if: {{#pos: {{{1}}} | : }} || Template: }}{{{1}}}|{{ #ifeq: {{NAMESPACE:{{{1}}}}} | Template | {{PAGENAME:{{{1}}}}} | {{{1}}} }}]]{{ #if: {{{2|}}} | {{!}}{{{2}}} }}{{ #if: {{{3|}}} | {{!}}{{{3}}} }}{{ #if: {{{4|}}} | {{!}}{{{4}}} }}{{ #if: {{{5|}}} | {{!}}{{{5}}} }}}}</code></includeonly><noinclude> | ||
{{/doc}} | |||
[[Category:Templates]][[fr:Modèle:M]] | |||
</noinclude> | </noinclude> |