Template:Subpage: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{1|}}}|[[{{#ifeq: {{trim|{{lc:{{{2|}}}}}}}|prev|{{#titleparts: {{FULLPAGENAME}}|-1}}|{{FULLPAGENAME}}}}/{{trim|{{{1}}}}}|{{trim|{{{1}}}}}]]|}}</includeonly><noinclude> | <includeonly>{{#if: {{{1|}}}|[[{{#ifeq: {{trim|{{lc:{{{2|}}}}}}}|prev|{{#titleparts: {{FULLPAGENAME}}|-1}}|{{FULLPAGENAME}}}}/{{trim|{{{1}}}}}|{{trim|{{{text|{{{1}}}}}}}}]]|}}</includeonly><noinclude> | ||
This template provides a link to a page's subpages without having to manually type out the name of the page or subpage. On the Xenharmonic Wiki, many page titles contain slashes, such as [[3/2]], that do not indicate subpages, so automatic subpages in the main (article) namespace are disabled. | This template provides a link to a page's subpages without having to manually type out the name of the page or subpage. On the Xenharmonic Wiki, many page titles contain slashes, such as [[3/2]], that do not indicate subpages, so automatic subpages in the main (article) namespace are disabled. | ||