Template:Mainonly: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{{1|}}}}}<noinclude>{{/doc}}</noinclude>") |
(No difference)
|
Latest revision as of 01:02, 3 October 2022
Template documentation
This documentation is transcluded from Template:Mainonly/doc. [edit] [history] [purge]
The Mainonly template allows a particular piece of text to only be displayed when included in the main (article) namespace. Primarily used when adding category links or categories to templates.
Usage
{{Mainonly|text}}
Example not available.
Template data
| Show/hide template's data | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date. This template allows a particular piece of text to only be displayed when included in the main (article) namespace.
| ||||||||||