Jump to content

Template:Main other/doc: Difference between revisions

From SeptemWiki
No edit summary
No edit summary
 
Line 1: Line 1:
{{metatemplate}}
{{metatemplate}}


This is the "Main other" template.
This is the "Main other" template, borrowed from Wikipedia.


This template usually takes two parameters, like this:
This template usually takes two parameters, like this:


<nowiki>{{main other |result if in mainspace |result if elsewhere}}</nowiki>
{{tx|main other|result if in mainspace|result if elsewhere}}


This is used for various purposes, like to help templates which automatically put things into categories not put themselves or their documentation into those categories.
The first parameter is used if the final rendered page is in the {{c|Main:}} namespace; the second is used if it's in all other templates.
 
This is used for various purposes, like in templates which automatically put the pages where they are used into categories, so that they do not put themselves or their documentation into those categories.

Latest revision as of 20:00, 9 April 2016


This is the "Main other" template, borrowed from Wikipedia.

This template usually takes two parameters, like this:

{{main other|result if in mainspace|result if elsewhere}}

The first parameter is used if the final rendered page is in the Main: namespace; the second is used if it's in all other templates.

This is used for various purposes, like in templates which automatically put the pages where they are used into categories, so that they do not put themselves or their documentation into those categories.