Template:Main other

Template page


Template documentation (for the above template, sometimes hidden or invisible)
Description
This template helps other templates detect if they are on a main space (article) page or some "other" type of page.
Usage
This template usually takes two parameters, like this:
{{main other |result if in mainspace |result if elsewhere}}
If the template is on a main space (article) page, it will return this:
result if in mainspace
If the template is on any other page, it will return this:
result if elsewhere

Visit Template:Main other/doc to edit this text! (How does this work?)