13,255
edits
(Based on en WP:Template:Basepage subpage. This template is used by Template:Category handler) |
m (typo) |
||
| Line 63: | Line 63: | ||
== Alternatives == | == Alternatives == | ||
A subpage can be detected without using a template using the parser functions #if: and # | A subpage can be detected without using a template using the parser functions #if: and #titleparts: like below: | ||
<nowiki>{{#ifeq: {{#titleparts:{{PAGENAME}}|1|1}} | {{PAGENAME}} | <nowiki>{{#ifeq: {{#titleparts:{{PAGENAME}}|1|1}} | {{PAGENAME}} | ||
| ...then on base page... | | ...then on base page... | ||