Template:Template link expanded with subst: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
m
(merging some code from Template:Tlsx into this one)
 
(10 intermediate revisions by 5 users not shown)
Line 1:
{{#Invoke:Template link general|main|code=on|subst=on}}<noinclude>
<noinclude>{{tfm|Tlxs|Tlsx}}{{Tfm-inline|Tlxs|tiny=yes}}</noinclude><includeonly><tt><nowiki>{{</nowiki>[[Wikipedia:Substitution|subst]]:[[Template:{{{1|{{PAGENAME}}}}}|{{#ifeq:{{lcfirst:{{{1|{{PAGENAME}}}}}}}|{{lc:{{{1|{{PAGENAME}}}}}}}|{{lcfirst:{{{1|{{PAGENAME}}}}}}}|{{{1|{{PAGENAME}}}}}}}]]<!--
{{Documentation|content1=Template:Tlg/doc
-->{{#ifeq:{{{2|+}}}|{{{2|-}}}|&#124;{{{2}}}}}<!--
|content = {{tlg/doc|tlxs}}
-->{{#ifeq:{{{3|+}}}|{{{3|-}}}|&#124;{{{3}}}}}<!--
-->{{#ifeq:{{{4|+}}}|{{{4|-}}}|&#124;{{{4}}}}}<!--
-->{{#ifeq:{{{5|+}}}|{{{5|-}}}|&#124;{{{5}}}}}<!--
-->{{#ifeq:{{{6|+}}}|{{{6|-}}}|&#124;{{{6}}}}}<!--
-->{{#ifeq:{{{7|+}}}|{{{7|-}}}|&#124;{{{7}}}}}<!--
-->{{#ifeq:{{{8|+}}}|{{{8|-}}}|&#124;{{{8}}}}}<!--
-->{{#ifeq:{{{9|+}}}|{{{9|-}}}|&#124;{{{9}}}}}<!--
-->{{#ifeq:{{{10|+}}}|{{{10|-}}}|&#124;{{{10}}}}}<!--
-->{{#ifeq:{{{11|+}}}|{{{11|-}}}|&#124;<i>...</i>}}<!--
--><nowiki>}}</nowiki></tt></includeonly><noinclude>
 
{{Documentation|content=
 
{{FromMeta|Template:Tlxs}}
 
==Purpose==
This creates a template link to templatespace for templates which require substitution, and indicates such, for use in documentation pages.
 
==Syntax==
{{((}}tlxs{{!}} templatename {{))}}
 
==Example==
{{tlx|tlxs|tlxs}}
 
produces
 
{{tlxs|tlxs}}
 
==See also==
{{Tl-nav}}
 
}}
<!-- Add categories to the /doc subpage, not here! -->
 
[[Category:Internal link templates|{{PAGENAME}}]]
 
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu