Difference between revisions of "Template:Mainonly/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
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}}]]
+
<includeonly>{{Addlanglinks}}</includeonly>
[[es:Plantilla:{{PAGENAME}}]]
 
[[ja:テンプレート:{{PAGENAME}}]]
 
[[pt:Predefinição:{{PAGENAME}}]]
 
[[ru:Шаблон:{{PAGENAME}}]]
 
[[zh:Template:{{PAGENAME}}]]</includeonly>
 

Revision as of 02:26, 7 April 2019

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}}