Difference between revisions of "Module:Tlxs"
Jump to navigation
Jump to search
Module documentation
blackwiki>This, that and the other (merging some code from Template:Tlsx into this one) |
blackwiki>Anomie (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 16:59, 21 December 2011
Template:TfmTemplate:Tfm-inline
This is a copy of the master page Template:Tlxs at Meta.
Contents
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
{{tlxs|tlxs}}
produces
See also
| You might want to create a documentation page for this Scribunto module. Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages. Subpages of this module. |