Changes
Jump to navigation
Jump to search
Made it so the category is added to the doc pages of redirects too
{{#if: {{{main|}}}<!--
-->| This is a redirect for [[Module:Adjacent stations/{{{main}}}]].<!--
-->| This is a data module for [[Module:Adjacent stations]]. It supports {{#if: {{{former|}}} | former }} services {{#if: {{{place|}}} | in {{{place}}} }} operated by {{#if: {{{link|}}} | {{{link}}} | [[{{Replace|{{#titleparts: {{PAGENAME}} | 2 | 2 }}|/doc|}}]] }}{{#if: {{{previous_name|}}} | (formerly {{{previous_name}}}) }}{{#if: {{{including|}}} |, including {{{including}}} }}. {{#if: {{{for|}}} {{{for_link|}}} | For {{#if: {{{former|}}} | current services | {{{for}}} }}, use [[Module:Adjacent stations/{{{for_link|}}}]]. }} {{#if: {{{alias|}}} | <code>{{{alias}}}</code> can be used as an alias for <code>{{Replace|{{#titleparts: {{PAGENAME}} | 2 | 2 }}|/doc|}}</code>. }}<!--
-->}}{{#if:{{#invoke:String|endswith|{{PAGENAME}}|/doc}}|[[Category:Module documentation pages]]}}<noinclude>
{{Documentation}}</noinclude>
-->| This is a redirect for [[Module:Adjacent stations/{{{main}}}]].<!--
-->| This is a data module for [[Module:Adjacent stations]]. It supports {{#if: {{{former|}}} | former }} services {{#if: {{{place|}}} | in {{{place}}} }} operated by {{#if: {{{link|}}} | {{{link}}} | [[{{Replace|{{#titleparts: {{PAGENAME}} | 2 | 2 }}|/doc|}}]] }}{{#if: {{{previous_name|}}} | (formerly {{{previous_name}}}) }}{{#if: {{{including|}}} |, including {{{including}}} }}. {{#if: {{{for|}}} {{{for_link|}}} | For {{#if: {{{former|}}} | current services | {{{for}}} }}, use [[Module:Adjacent stations/{{{for_link|}}}]]. }} {{#if: {{{alias|}}} | <code>{{{alias}}}</code> can be used as an alias for <code>{{Replace|{{#titleparts: {{PAGENAME}} | 2 | 2 }}|/doc|}}</code>. }}<!--
-->}}{{#if:{{#invoke:String|endswith|{{PAGENAME}}|/doc}}|[[Category:Module documentation pages]]}}<noinclude>
{{Documentation}}</noinclude>