Template:MainArticle

From Red Faction Wiki
Revision as of 15:02, 1 February 2024 by SimpleArrows (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Creates text to show that a subject has more info on another page from the wiki. Place this directly under a heading.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page1

The name of the page with more info on the subject.

Example
Heroic System
Page namerequired
Display Label2

A display name of the linked page, usually a shortened version of the linked page or the name of the current page. Don't use unless absolutely necessary.

Example
Heroic
Stringoptional
{{MainArticle|WIKI_PAGE|DISPLAY_LABEL}}

Usage:

{{MainArticle|Heroic System}}

Output:

Icon Document.png This subject has an article with more information: Heroic System


Linking a section from a page:

If more information on the subject is within a section under a heading, you can add a hashtag and the name of the heading in front of the page's name, for example:

{{MainArticle|Heroic System#I Remember Sopot (Best Ending)|Heroic System}}
Icon Document.png This subject has an article with more information: Heroic System

Be sure to use the display label parameter to make the link appear as the page name.