Motorway Services Online

Retrieved from "https://motorwayservices.uk"

Template:Subpage

If one particular section of a page is taking up a lot of space, it makes sense to move that section away. More and more people are browsing with smartphones, and trying to scroll through a small novel isn't easy.

On that new page, the following code should be used:

{{Subpage
| The name of the parent page, such as Blyth.
| The main content goes here, like normal.

}}

This template automatically styles a sub-page.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Parent Page Name1

The name of the page that this is a sub-page of.

Example
Keele
Page namerequired
Alternative Page Name3

An alternative page name, generally used by History pages of service areas with two names.

Example
Forton
Stringoptional
Content2

The main content of the page.

Contentrequired
Change Page Titletitle

Change page title to something else. If provided, it will also declare that this isn't a history page.

Stringoptional
Move TOCtoc

If the Table of Contents is getting in the way, enter yes to move it

Default
false
Example
yes
Booleanoptional