Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Main list/doc
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation subpage}} {{tsh|more}} {{lua|Module:Main list}} This template is used to make [[Wikipedia:Summary style|summary style]] explicit. It looks like this: {{Main list|Article}} It is used in sections for which there is also a separate more comprehensive list article on the subject. == Usage == ; Basic usage: {{tnull|Main list|''article''}} ; With a topic: {{tnull|Main list|''article 1''|''article 2''}} ; All parameters: {{tnull|Main list|''article 1''|''article 2''|4=category=''no''}} == Parameters == This template accepts the following parameters: * <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>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. == Examples == * {{tnull|Main list|Wikipedia:Hatnote#Hatnote templates }}<!-- --> → {{Main list|Wikipedia:Hatnote#Hatnote templates }} * {{tnull|Main list|Wikipedia:Hatnote#Hatnote templates |Wikipedia:Template messages/Cleanup#Cleanup}}<!-- --> → {{Main list|Wikipedia:Hatnote#Hatnote templates |Wikipedia:Template messages/Cleanup#Cleanup}} == Errors == If no page name is supplied, the template will output the following message: * {{Main list|category=no}} If you see this error message, it is for one of three reasons: # No parameters were specified (the template code was {{tnull|Main list}}). Please use {{tnull|Main list|''page''}} instead. # The page name was specified, but it contains an equals sign ("="). The equals sign has a special meaning in template code, and because of this it cannot be used in template parameters that do not specify a parameter name. For example, the template code {{tnull|Main list|<nowiki>2+2=4</nowiki>}} will produce this error. To work around this, you can specify the parameter name explicitly by using <code>1=</code> before the page name, like this: {{tnull|Main list|<nowiki>1=2+2=4</nowiki>}}. # 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 [[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]]. == Alternative == For cases where the present context provides no short list to which this template "a more comprehensive list" wording could refer, see the template {{tl|Main listing}}, which is just a pointer to the list article. ==TemplateData== {{Collapse top|[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}} {{TemplateData header|noheader=1}} <templatedata> { "description": "This template is used to show readers where to find more details about a particular topic. It is usually placed at the top of a section or article.", "params": { "1": { "label": "Article 1", "description": "The name of the article that you want to link to (required). Categories and files are automatically escaped with the colon trick, and links to sections are automatically formatted as \"page § section\", rather than the MediaWiki default of \"page#section\".", "type": "string", "required": true }, "2": { "label": "Article 2", "description": "Name of the second article you want to link to (optional). Categories and files are automatically escaped with the colon trick, and links to sections are automatically formatted as \"page § section\", rather than the MediaWiki default of \"page#section\".", "type": "string", "required": false }, "category": { "label": "Category", "description": "Set to \"no\", \"n\", \"false\", or \"0\" to suppresses the error tracking category (Category:Hatnote templates with errors). This only has an effect if the hatnote text is omitted.", "type": "boolean", "autovalue": "" } }, "format": "block" } </templatedata> {{Collapse bottom}} ==See also== * {{tl|For timeline}} * {{tl|Summarize}} for use where details of one article need to be summed up in another * {{tl|Summarize section}} for use where part of an article contains too many details {{Hatnote templates}} <includeonly>{{Sandbox other|| <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> [[Category:Cross-reference templates]] [[Category:Hatnote templates]] [[Category:Hatnote templates for lists]] [[Category:Wikipedia page-section templates]] [[mk:Шаблон:Главен список]] [[tr:Şablon:Analiste]] }}</includeonly>
Summary:
Please note that all contributions to Red Letter Media Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
RLMWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Collapse bottom
(
edit
)
Template:Collapse top
(
edit
)
Template:Dir
(
edit
)
Template:Documentation subpage
(
edit
)
Template:Hatnote templates
(
edit
)
Template:Hlist/styles.css
(
edit
)
Template:Icon
(
edit
)
Template:Lua
(
edit
)
Template:Main list
(
edit
)
Template:Main other
(
edit
)
Template:Mbox
(
edit
)
Template:Mbox/styles.css
(
edit
)
Template:Navbox
(
edit
)
Template:No redirect
(
edit
)
Template:Nowrap
(
edit
)
Template:Plainlist/styles.css
(
edit
)
Template:Sandbox other
(
edit
)
Template:Strong
(
edit
)
Template:TemplateData header
(
edit
)
Template:Template link
(
edit
)
Template:Template link null
(
edit
)
Template:Template other
(
edit
)
Template:Template parameter usage
(
edit
)
Template:Template shortcut
(
edit
)
Template:Terminate sentence
(
edit
)
Template:Tl
(
edit
)
Template:Tnull
(
edit
)
Template:Tsh
(
edit
)
Template:Yesno
(
edit
)
Template:Yesno-no
(
edit
)
Module:Arguments
(
edit
)
Module:Check for unknown parameters
(
edit
)
Module:Format link
(
edit
)
Module:Hatnote
(
edit
)
Module:Hatnote/styles.css
(
edit
)
Module:Hatnote list
(
edit
)
Module:Icon
(
edit
)
Module:Icon/data
(
edit
)
Module:List
(
edit
)
Module:Lua banner
(
edit
)
Module:Main list
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Message box/ombox.css
(
edit
)
Module:Navbar
(
edit
)
Module:Navbar/configuration
(
edit
)
Module:Navbar/styles.css
(
edit
)
Module:Navbox
(
edit
)
Module:Navbox/configuration
(
edit
)
Module:Navbox/styles.css
(
edit
)
Module:Redirect
(
edit
)
Module:Shortcut
(
edit
)
Module:Shortcut/config
(
edit
)
Module:Shortcut/styles.css
(
edit
)
Module:String
(
edit
)
Module:TableTools
(
edit
)
Module:Template link general
(
edit
)
Module:Text
(
edit
)
Module:Yesno
(
edit
)
Toggle limited content width