Template:Main other/doc: Difference between revisions
Appearance
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: | ||
{{tx|main other|result if in mainspace|result if elsewhere}} | |||
This is used for various purposes, like | 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 a metatemplate; that is, a template that will rarely be used directly in articles, but rather used in other templates which will be used directly. |
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.