Template:PageTitle

From Step Mods | Change The Game
Delta c.png

Template:PageTitle

A Stylish and SEO-Enhanced Article Header

by: Step Modifications  | Forum Topic

Purpose & Usage

Used at top of pages to include a standardized page-title header. Transclusion of this template onto a subpage will preserve the breadcrumb link to the parent root page.

Info-Logo.png

NOTE

This template allows the use of any image uploaded to the wiki. DM an administrator to add an image to this template if it does not exist.

  • The image size minimum for logos is 105x105 pixels
  • Updates SEO <meta> information on any page where it is used
  • Includes the __NOTITLE__ behavior switch by default

Required Parameters

title - Sets the title of the page and is also used as the SEO <meta> title of the page where the this template is used, so a descriptive title is recommended.

Values
Default: n/a, title = <Camel Case Title>

subtitle (required) - Adds a subtitle below the title. The subtitle is used as the SEO <meta> description of the page where the this template is used, so the subtitle should be relevant and descriptive, ideally using words not also used in the title.

Values
Default: n/a, subtitle=<Camel Case Subtitle>

Optional Parameters

logo - Displays the image to the left of the content. If the page is on any 'Gamespace' page (where {{NAMESPACE}} is a game name, like /wiki/SkyrimSE:{{PAGENAME}}), the applicable game logo will be displayed and cannot be overridden. The logo can be chosen on pages in other namespaces. If the logo argument is not used, the the Step 'delta' logo will be displayed.

Values
Default: logo = delta

author - Adds an author below the subtitle. The author can be set manually. If not set, the user name of the most recent article editor will be used.

Values
Default: n/a, author = <Author(s)>

forumtid - Sets a forum link for the page to the right of the author. The ForumTopicID can be found in the topic's URL:

https://stepmodifications.org/forum/topic/14917-system-setup-guide/
Values
Default: n/a, forumtid = <14917>

Examples

Minimal Call

The simplest call returns defaults depending on the namespace of the page where the this template is used.

Code:
{{PageTitle
  | title = Template:PageTitle
  | subtitle = A Stylish and SEO-Enhanced Article Header
}}
Result:
Delta c.png

Template:PageTitle

A Stylish and SEO-Enhanced Article Header

by: Z929669





Full Call

Because this page exists in the Template namespace, the logo is not forced.

Code:
{{PageTitle
  | logo=xedit
  | title = Template:PageTitle
  | subtitle = A Stylish and SEO-Enhanced Article Header
  | author = Step Modifications
  | forumtid = 999999999
}}
Result:
Tes5Editlogosmall.png

Template:PageTitle

A Stylish and SEO-Enhanced Article Header

by: Step Modifications  | Forum Topic




Available Logos

GameSpace Logos