Template:Main

From Sword of Moonlight Wiki
Jump to navigation Jump to search
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Main/doc to edit this documentation. (How does this work?)

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|Special:WantedPages}}
Main article: Special:WantedPages
{{Main|Special:WantedPages#Section Title}}
Main article: Special:WantedPages
{{Main|Special:WantedPages|Special:UncategorizedPages}}
{{Main|Special:WantedPages|Special:UncategorizedPages|Special:UncategorizedCategories}}
{{Main|Special:WantedPages{{!}}Page 1}} (Custom link label)
Main article: Page 1

Dependencies

This template requires the {{Hatnote}} metatemplate.

Source

Roughly based on Wikipedia's For Template.