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.
Usage
This template can be used by entering the following onto a relevant page.
{{Mainonly}}