Template:Subpage: Difference between revisions

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