Template:Hatnote/doc

From MTG Wiki
Jump to navigation Jump to search
This is a template documentation subpage for Template:Hatnote.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.

Formats a hatnote intended to be placed at the top of a page (like a hat), usually for clarifications about the page's topic and often linking other very closely related or easily mixed-up pages. As Wikipedia says, "Broadly speaking, a hatnote should answer a reader's question (maybe preemptively): Am I on the right page?"

Example:

This documentation is very brief. For a fuller one, see Wikipedia:Template:Hatnote.

Generated by:

{{hatnote|This documentation is very brief. For a fuller one, see [[Wikipedia:Template:Hatnote]]}}

The only parameter is the text of the note. Italics are automatic, but additional wiki formatting is allowed. Don't forget a period if it's a sentence.

Several other templates use this as a base template and may be preferable to using this one directly; see Category:Hatnote templates for details.