Template:PageTitle

From Step Mods | Change The Game

Forum Topic

Purpose & Usage[edit source]

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. Recommended size is approximately 512x512 pixels, which will be shrunk to fit the template.
  • This template includes the __NOTITLE__ behavior switch by default; therefore, it's not necessary to include it on a page when the PageTitle template is used.

Required Parameters[edit source]

title - Sets the title

Values
Default: n/a, title=TitleHere

Optional Parameters[edit source]

logo - Displays a logo to the left of the content

Values
Default: logo=delta

General Logos[edit source]

Game Logos[edit source]

subtitle - Activates and sets a subtitle line displayed below the title

Values
Default: n/a, subtitle=SubtitleHere

author - Activates and sets an author line displayed below the title or subtitle

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

forumtid - Activates and sets a forum link for the page. The ForumTopicID is found in the topic's URL:

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

Examples[edit source]

Default Call[edit source]

The simplest call returns defaults for the template.

Code: {{PageTitle|title=Title Here}}
Result:
Delta c.png

Title Here



Example 01 (all options)[edit source]

Code:
{{PageTitle|logo=delta|title=Your Title Here|subtitle=Your subtitle text here|author= Team XYZ|forumtid=423}}
Result:
Delta c.png

Your Title Here

Your subtitle text here

by: Team XYZ  | Forum Topic



Example 02 (alternate logo)[edit source]

Code:
{{PageTitle|logo=fo3|title=Your Title Here|subtitle=Your subtitle text here|author= Team XYZ|forumtid=423}}
Result:
Fo3 flare.png

Your Title Here

Your subtitle text here

by: Team XYZ  | Forum Topic



Example 03[edit source]

No Subtitle[edit source]

Code:
{{PageTitle|logo=delta|title=Your Title Here|author= Team XYZ|forumtid=423}}
Result:
Delta c.png

Your Title Here

by: Team XYZ  | Forum Topic