Template:Main list/doc: Difference between revisions

m Text replacement - "[[WP:" to "[[wikipedia:WP:"
m Text replacement - "Help:Colon trick" to "wikipedia:Help:Colon trick"
 
Line 23: Line 23:


This template accepts the following parameters:
This template accepts the following parameters:
* <code>1</code> - the page to link to (required). Categories and files are automatically escaped with the [[Help:Colon trick|colon trick]], and links to sections are automatically formatted as ''page § section'', rather than the MediaWiki default of ''page#section''.
* <code>1</code> - the page to link to (required). Categories and files are automatically escaped with the [[wikipedia:Help:Colon trick|colon trick]], and links to sections are automatically formatted as ''page § section'', rather than the MediaWiki default of ''page#section''.
* <code>2</code> - a second page (optional). Same implications as the first parameter apply.
* <code>2</code> - a second page (optional). Same implications as the first parameter apply.
* <code>category</code> - if set to "no", "n", "false", or "0", suppresses the error tracking category ([[:Category:Hatnote templates with errors]]). This only has an effect if the first positional parameter (the page to link to) is omitted.
* <code>category</code> - if set to "no", "n", "false", or "0", suppresses the error tracking category ([[:Category:Hatnote templates with errors]]). This only has an effect if the first positional parameter (the page to link to) is omitted.