Information icon-grey.svg
This is a documentation subpage for Template:Mainonly.
It contains usage information, categories, and other content that is not part of the original template page.

This Mainonly template allows a particular piece of text to only be displayed when included in the main namespace. Useful for adding category links to templates. Nameless first parameter is the text to be included.

See also

Community content is available under CC-BY-SA unless otherwise noted.