Template:Main

Revision as of 16:01, 14 July 2026 by MDGarcia (talk | contribs) (Revamp as an indented Wikipedia-style section hatnote (multi-article grammar, backward compatible))

Purpose & Use

Place {{Main}} at the very top of a section, directly under its heading, to point readers to the main article(s) on that topic — in the style of Wikipedia's hatnote. It renders an indented, italic Main article: line.

Syntax

  • {{Main|Article}}
  • {{Main|Article#Section}} — links to a specific section
  • {{Main|Article 1|Article 2|Article 3|Article 4}} — up to four (renders Main articles: A, B, C and D)

Examples

Notes

Styling lives in the .tf-hatnote class in MediaWiki:Common.css (italic, left-indented). This is a lightweight version of Wikipedia's

] hatnote; it supports up to four articles and section anchors, but not custom link labels.