Template:Ns has subpages: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
en>Amalthea
(Create subpage namespace detection template. Returns "yes" if the given namespace (or this namespace) has subpages enabled, an empty string otherwise.)
 
en>Amalthea
(fix: with an empty first parameter we have to assume that the user provided {{ns:0}})
Line 1:
{{#ifeq:{{BASEPAGENAME:{{#if:{{{1|}}}|{{{1NAMESPACE}}}|{{NAMESPACE}}}}:A/B}}|A|yes}}<noinclude>
 
{{documentation}}

Revision as of 16:27, 27 April 2009

yes

Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.