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|-}}}||{{{2}}}}}<!-- | -->{{#ifeq:{{{2|+}}}|{{{2|-}}}||{{{2}}}}}<!-- | ||
-->{{#ifeq:{{{3|+}}}|{{{3|-}}}||{{{3}}}}}<!-- | -->{{#ifeq:{{{3|+}}}|{{{3|-}}}||{{{3}}}}}<!-- |
Revision as of 17:59, 21 December 2011
Template:TfmTemplate:Tfm-inline
Template documentation
Contents
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
See also
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |