Difference between revisions of "Template:Mainonly/doc"
Jump to navigation
Jump to search
Oath2order (talk | contribs) (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...") |
m |
||
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}}