Template:Main

From Voices of the Void Wiki
Jump to navigation Jump to search
Template-info.svg Documentation Edit this documentation at Template:Main/doc.

This hatnote template is meant to be in sections of an article mentioning information about another existing main article.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Article1

A main article.

Example
Article
Page namerequired
Second Article2

A second main article.

Example
Second Article
Page nameoptional
Third Article3

A third main article.

Example
Third Article
Page nameoptional

Examples

Code Result
{{Main|Page One}}
Main Article: Page One.
{{Main|Page One#Section Title}}
Main Article: Page One#Section Title.
{{Main|Page One|Page Two}}
Main Articles: Page One and Page Two.
{{Main|Page One|Page Two|Page Three}}
Main Articles: Page One, Page Two and Page Three.
{{Main|Page One{{!}}Page 1}} (Custom link label)
Main Article: Page 1.

Dependencies

This template requires the {{Hatnote}} metatemplate.

Source

Roughly based on Wikipedia's For Template.