Difference between revisions of "Template:Tlxs"

From MINR.ORG WIKI
(merging some code from Template:Tlsx into this one)
(make linking "subst" optional)
Line 1: Line 1:
<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}}}}}}}]]<!--
+
<noinclude>{{tfm|Tlxs|Tlsx}}{{Tfm-inline|Tlxs|tiny=yes}}</noinclude><includeonly><tt><nowiki>{{</nowiki>{{#ifeq:{{{link subst|yes}}}|yes
 +
|[[Wikipedia:Substitution|subst]]
 +
|subst
 +
}}:[[Template:{{{1|{{PAGENAME}}}}}|{{#ifeq:{{lcfirst:{{{1|{{PAGENAME}}}}}}}|{{lc:{{{1|{{PAGENAME}}}}}}}|{{lcfirst:{{{1|{{PAGENAME}}}}}}}|{{{1|{{PAGENAME}}}}}}}]]<!--
 
-->{{#ifeq:{{{2|+}}}|{{{2|-}}}|&#124;{{{2}}}}}<!--
 
-->{{#ifeq:{{{2|+}}}|{{{2|-}}}|&#124;{{{2}}}}}<!--
 
-->{{#ifeq:{{{3|+}}}|{{{3|-}}}|&#124;{{{3}}}}}<!--
 
-->{{#ifeq:{{{3|+}}}|{{{3|-}}}|&#124;{{{3}}}}}<!--

Revision as of 17:59, 21 December 2011

Template:TfmTemplate:Tfm-inline

Template documentation

Template:FromMeta

Purpose

This creates a template link to templatespace for templates which require substitution, and indicates such, for use in documentation pages.

Syntax

Template:((tlxs| templatename Template:))

Example

{{tlxs|tlxs}}

produces

{{subst:tlxs}}

See also

Template:Tl-nav