Template:Subpage: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}}|[[{{#switch: {{trim|{{lc:{{{2|}}}}}}}
<includeonly>{{#if: {{{1|}}}|[[{{#switch: {{trim|{{lc:{{{2|}}}}}}}
| prev={{#titleparts: {{FULLPAGENAME}}|-1}}/{{trim|{{{text|{{{1}}}}}}}}{{#if: {{{s|}}}|&#35;{{{s}}}}}
| prev={{#titleparts: {{FULLPAGENAME}}|-1}}/{{trim|{{{text|{{{1}}}}}}}}{{#if: {{{s|}}}|&#35;{{{s}}}|}}
| lprev={{#titleparts: {{FULLPAGENAME}}|-1}}/{{lcfirst:{{trim|{{{text|{{{1}}}}}}}}}}{{#if: {{{s|}}}|&#35;{{{s}}}}}
| lprev={{#titleparts: {{FULLPAGENAME}}|-1}}/{{lcfirst:{{trim|{{{text|{{{1}}}}}}}}}}{{#if: {{{s|}}}|&#35;{{{s}}}|}}
| uprev={{#titleparts: {{FULLPAGENAME}}|-1}}/{{ucfirst:{{trim|{{{text|{{{1}}}}}}}}}}{{#if: {{{s|}}}|&#35;{{{s}}}}}
| uprev={{#titleparts: {{FULLPAGENAME}}|-1}}/{{ucfirst:{{trim|{{{text|{{{1}}}}}}}}}}{{#if: {{{s|}}}|&#35;{{{s}}}|}}
| #default={{FULLPAGENAME}}/{{trim|{{{text|{{{1}}}}}}}}{{#if: {{{s|}}}|&#35;{{{s}}}}}
| #default={{FULLPAGENAME}}/{{trim|{{{text|{{{1}}}}}}}}{{#if: {{{s|}}}|&#35;{{{s}}}|}}
}}|{{trim|{{{text|{{{1}}}}}}}}]]|}}</includeonly><noinclude>
}}|{{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.