Template:Template link: Difference between revisions

From Modded Wiki
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>
<!-- categories/interwikis on the /doc subpage, not here -->
{{/doc}}
{{Documentation}}
 
[[Category:Templates]][[fr:Modèle:M]]
</noinclude>
</noinclude>

Revision as of 17:25, 25 December 2014