Vorlage:Ns has subpages: Unterschied zwischen den Versionen

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


{{documentation}}
{{documentation}}


</noinclude>
</noinclude>
Anonymer Benutzer