Template:Mainonly/doc

Revision as of 16:04, 22 March 2024 by InvalidCards (talk | contribs) (Created page with "{{documentation}} 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. <includeonly>{{BASEPAGENAME}}</includeonly>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.