Transclude wikitext only into the (Main) namespace
{{Mainonly|included-text}}
- included-text
- wikitext, usually categories, to be transcluded only if the transclusing page is in (Main)
Example[edit]
{{Mainonly|
[[Category: Some category]]
[[Category: Some other category]]
}}