Template:DW/Mainonly
Template page
More actions
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Template loop detected: Template:DW/Mainonly/doc
The above text is transcluded from Template:DW/Mainonly/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:DW/Mainonly/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:DW/Mainonly/doc. (View all subpages of this 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
- Module:Mainonly - Provides the same function for use on Lua modules