Difference between revisions of "Template:Mainonly/doc"
Jump to navigation
Jump to search
Margotbean (talk | contribs) |
Margotbean (talk | contribs) m (Text replacement - "==Usage==" to "==Use==") |
||
Line 2: | Line 2: | ||
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. | 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. | ||
− | == | + | ==Use== |
This template can be used by entering the following onto a relevant page. | This template can be used by entering the following onto a relevant page. | ||
Revision as of 21:01, 8 January 2023
Description
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.
Use
This template can be used by entering the following onto a relevant page.
{{Mainonly}}