Difference between revisions of "Template:Tl"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
(remove {{pp-template}}) |
(added namespace detection, and optional subst, LANG, and SISTER parameters) |
||
Line 1: | Line 1: | ||
− | {{[[Template:{{{1}}}|{{{1}}}]]}}<noinclude> | + | <includeonly><nowiki>{{</nowiki>{{#if:{{{subst|}}}|[[Help:Templates#Substitution|subst]]:}}{{#ifeq:{{NAMESPACE:{{{1|{{FULLPAGENAME}}}}}}}||<!-- |
− | + | this is intended to be either a page in the main namespace or in the template namespace | |
+ | -->{{#ifeq:{{{1|{{FULLPAGENAME}}}}}|:{{PAGENAME:{{{1|{{FULLPAGENAME}}}}}}}<!-- | ||
+ | this is intended to be in the main namespace | ||
+ | -->|<nowiki>:</nowiki>[[:{{{LANG|}}}{{{SISTER|}}}{{{1|{{PAGENAME}}}}}|{{PAGENAME:{{{1|{{FULLPAGENAME}}}}}}}]]<!-- | ||
+ | this is intended to be in the template namespace | ||
+ | -->|[[:{{{LANG|}}}{{{SISTER|}}}Template:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]}}<!-- | ||
+ | namespace was included | ||
+ | -->|[[:{{{LANG|}}}{{{SISTER|}}}{{{1|{{FULLPAGENAME}}}}}|{{{1|{{FULLPAGENAME}}}}}]] | ||
+ | }}<nowiki>}}</nowiki></includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
− | |||
</noinclude> | </noinclude> |
Revision as of 15:33, 13 April 2012
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |