Template:Main list/doc: Difference between revisions
en>Fgnievinski |
Orangestar (talk | contribs) m Text replacement - "Help:Colon trick" to "wikipedia:Help:Colon trick" |
||
(2 intermediate revisions by the same user not shown) | |||
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. | ||
Line 44: | Line 44: | ||
# You tried to access [[Module:Main list]] directly by using {{tnull|#invoke:Main list|mainList|''text''}}. Use of #invoke in this way has been disabled for performance reasons. Please use {{tnull|Main list|''text''}} instead. | # You tried to access [[Module:Main list]] directly by using {{tnull|#invoke:Main list|mainList|''text''}}. Use of #invoke in this way has been disabled for performance reasons. Please use {{tnull|Main list|''text''}} instead. | ||
If you see this error message and are unsure of what to do, please post a message on [[WP:HD|the help desk]], and someone should be able to help you. | If you see this error message and are unsure of what to do, please post a message on [[wikipedia:WP:HD|the help desk]], and someone should be able to help you. | ||
Pages that contain this error message are tracked in [[:Category:Hatnote templates with errors]]. | Pages that contain this error message are tracked in [[:Category:Hatnote templates with errors]]. |