Template:Mainonly/doc: Difference between revisions
Appearance
imported>Oath2order Created page with "==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 te..." |
imported>Katzeus mNo edit summary |
||
| Line 8: | Line 8: | ||
<includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | ||
<includeonly>[[de:Vorlage:{{PAGENAME}}]] | |||
[[es:Plantilla:{{PAGENAME}}]] | |||
[[ja:テンプレート:{{PAGENAME}}]] | |||
[[pt:Predefinição:{{PAGENAME}}]] | |||
[[ru:Шаблон:{{PAGENAME}}]] | |||
[[zh:Template:{{PAGENAME}}]]</includeonly> | |||
Revision as of 22:59, 7 February 2017
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.
Usage
This template can be used by entering the following onto a relevant page.
{{Mainonly}}