Wikipedia:Manual of Style/Layout
This guideline is a part of the English Wikipedia's Manual of Style. It is a generally accepted standard that editors should attempt to follow, though occasional exceptions may apply. Any substantive edit to this page should reflect consensus. When in doubt, discuss first on the talk page. |
Manual of Style (MoS) |
---|
This is a guide to laying out a typical basic article. Complicated articles may be best modeled on the layout of an existing article of appropriate structure. For advice on how to use wiki markup, see Help:Editing; and for guidance on writing style, see Manual of Style.
Lead section
The lead section may contain optional elements presented in the following order:
- Disambiguation links (dablinks)
- Deletion tags (CSD, PROD, and AFD notices)
- Maintenance tags
- Infoboxes
- Foreign character warning boxes
- Images
- Navigational boxes (navigational templates)
- Introductory text
- Table of contents moving to the heading of the first section
Body sections
Headings and sections
Sections and subsections are introduced by headings. These headings clarify articles by breaking up text, organizing content, and populating the table of contents. Very short or very long sections and subsections in an article look cluttered and inhibit the flow of the prose.
Headings follow a six-level hierarchy, starting at 1 and ending at 6. The level of the heading is defined by the number of equal signs on either side of the title. Heading 1 (=Heading 1=
) is automatically generated as the title of the article, and is never appropriate within the body of articles. Sections start at the second level (==Heading 2==
), with subsections at the third level (===Heading 3===
), and additional levels of subsections at the fourth level (====Heading 4====
), fifth level, and sixth level. Sections should be consecutive, such that they do not skip levels from sections to sub-subsections; the exact methodology is part of the Accessibility guideline.[1] Between sections, there should be a single blank line; multiple blank lines in the edit window create too much white space in the article.
Section templates and summary style
When a section is a summary of another article that provides a full exposition of the section, a link to that article should appear immediately under the section heading. You can use the {{Main}} template to generate a Main article; link.[2]
If one or more articles provide further information or additional details (rather than a full exposition—see above), references to such articles may be placed immediately after the section heading for that section, provided this does not duplicate a wikilink in the text. These additional references should be grouped along with the {{Main}} template (if there is one), for easy selection by the reader, rather than being scattered throughout the text of a section. You can use one of the following templates to generate these links:
{{Details}}
—this generates For more details on this topic, see:{{Further}}
—this generates Further information:{{See also}}
—this generates See also:
For example, to generate a "See also" link to the article on Wikipedia:How to edit a page, type {{see also|Wikipedia:How to edit a page}}
, which will generate:
Paragraphs
Sections usually consist of paragraphs of running prose. Between paragraphs—as between sections—there should be a single blank line and the first line of each paragraph is not indented. Bullet points should be minimized in the body and lead of the article, if they are used at all; however, a bulleted list may be useful to break up what would otherwise be a large, grey mass of text, particularly if the topic requires significant effort on the part of readers. However, bulleted lists are typical in the reference and reading sections towards the end of the article. Bullet points are usually not separated by blank lines.
The number of single-sentence paragraphs should be minimized, since they can inhibit the flow of the text; by the same token, paragraphs that exceed a certain length become hard to read. Short paragraphs and single sentences generally do not warrant their own subheading; in such circumstances, it may be preferable to use bullet points.
Standard appendices and footers
When certain optional standard appendix sections are used, they should appear at the bottom of an article, with ==level 2 headings==
,[3] followed by the various footers. In the rare cases when it is useful to sub-divide these sections (for example, to separate a list of magazine articles from a list of books), most editors prefer to use either definition list headings (;Books) or bold-faced text ("Books") instead of level 3 headings (===Books===).
Order of sections
Where present, appendix and footer sections are presented in this order.[4]
- Works or publications
- See also
- Notes and references
- Further reading
- External links[5]
- Navigation templates (footer navboxes)[6]
- Geographical coordinates (if not in Infobox) or {{coord missing}}
- Authority control template
- Persondata template
- Defaultsort
- Categories[7]
- Stub template
Works or publications
Contents: A bulleted list, usually ordered chronologically, of the works created by the subject of the article.
Title: Many different titles are used, depending on the subject matter. "Works" is preferred when the list includes items that are not written publications (e.g., music, films, paintings, choreography, or architectural designs), or if multiple types of works are included. "Bibliography", "Discography", or "Filmography" are occasionally used where appropriate; however, "Bibliography" is discouraged because it is not clear whether it is limited to the works of the subject of the article.[8] "Works" or "Publications" should be plural, even if it lists only a single item.[9]
See also section
Contents: A bulleted list of internal links to related Wikipedia articles. Consider using {{Columns-list}} or {{Div col}} if the list is lengthy. The links in the "See also" section do not have to be directly related to the topic of the article because one purpose of "See also" links is to enable readers to explore tangentially related topics.
The "See also" section should not link to pages that do not exist (red links) nor to disambiguation pages (unless used for further disambiguation in a disambiguation page).
Editors should provide a brief annotation when a link's relevance is not immediately apparent, when the meaning of the term may not be generally known, or when the term is ambiguous. For example:
- Related person – made a similar achievement on April 4, 2005
- Ischemia – restriction in blood supply
Whether a link belongs in the "See also" section is ultimately a matter of editorial judgment and common sense. The links in the "See also" section should be relevant, should reflect the links that would be present in a comprehensive article on the topic, and should be limited to a reasonable number. As a general rule, the "See also" section should not repeat links that appear in the article's body or its navigation boxes. Thus, many high-quality and comprehensive articles do not have a "See also" section, although some featured articles like 1740 Batavia massacre and Mary, Queen of Scots include this section.
Other internal links: {{Portal}} and {{Wikipedia books}} links are usually placed in this section.
Title: The most common title for this section is "See also".
Notes and references
Contents: This section, or series of sections, may contain any or all of the following:
- explanatory footnotes that give information which is too detailed or awkward to be in the body of the article,
- citation footnotes (either short citations or full citations) that connect specific material in the article with specific sources,
- full citations to sources, if short citations are used in the footnotes, or
- general references (full bibliographic citations to sources that were consulted in writing the article but that are not explicitly connected to any specific material in the article).
Editors may use any citation method they choose.
If there are both citation footnotes and explanatory footnotes, then they may be combined in a single section, or separated using the grouped footnotes function. General references and other full citations may similarly be either combined or separated. There may therefore be one, two, three, or four sections in all.
It is most common for only citation footnotes to be used, and therefore it is most common for only one section to be needed. Usually, if the sections are separated, then explanatory footnotes are listed first, short citations or other footnoted citations are next, and any full citations or general references are listed last.
Title: Editors may use any section title that they choose.[10] The most frequent choice is "References"; other articles use "Notes", "Footnotes", or "Works cited" (in diminishing order of popularity) for this material.
Several alternate titles ("Sources", "Citations", "Bibliography") may also be used, although each is problematic in some contexts: "Sources" may be confused with source code in computer-related articles, product purchase locations, river origins, Journalism sourcing, etc.; "Citations" may be confused with official awards or a summons to court; "Bibliography" may be confused with the complete list of printed works by the subject of a biography ("Works" or "Publications").
If multiple sections are wanted, then some possibilities include:
- for a list of explanatory footnotes or shortened citation footnotes: "Notes", "Endnotes", or "Footnotes"
- for a list of full citations or general references: "References" or "Works cited"
With the exception of "Bibliography", the heading should be plural even if it lists only a single item.[9]
Further reading
Contents: An optional bulleted list, usually alphabetized, of a reasonable number of publications that would help interested readers learn more about the article subject. Editors may include brief annotations. Publications listed in Further reading are cited in the same citation style used by the rest of the article. The Further reading section should not duplicate the content of the External links section, and should normally not duplicate the content of the References section, unless the References section is too long for a reader to use as part of a general reading list. This section is not intended as a repository for general references that were used to create the article content.
External links
Contents: A bulleted list of recommended relevant websites, each accompanied by a short description. These hyperlinks should not appear in the article's body text, nor should links used as references normally be duplicated in this section. "External links" should be plural, even if it lists only a single item.[9] This section may be substituted by a "Further reading" section.
Links to sister projects
Links to Wikimedia sister projects and {{Spoken Wikipedia}} should generally appear in "External links", not under "See also". Two exceptions are Wiktionary and Wikisource links that may even be linked inline (e.g., to the text of a document being discussed or to a word that might not be familiar to all readers).
More precisely, box-type templates such as {{Commons}}
shown at right have to be put at the beginning of the last section of the article (which is not necessarily the "External links" section) so that boxes will appear next to, rather than below, the list items. Do not make a section whose sole content is box-type templates.
If box-type templates are not good, either since they result in a long sequence of right-aligned boxes hanging off the bottom of the article, or there are not any external links except sister project ones, then consider using "inline" templates, such as {{Commons-inline}} in the "External links" section, so that links to sister projects appear as list items, like this:
- Media related to wikimedia foundation at Wikimedia Commons
Navigation templates
Contents: Navigation templates (footer navboxes), including succession boxes and geography boxes such as {{Geographic location}}
. Most navboxes do not appear in printed versions of Wikipedia articles.[11]
Formatting
Images
Images should ideally be spread evenly within the article, and relevant to the sections they are located in. All images should also have an explicative caption. An image that would otherwise overwhelm the available text space on a 800×600 window should be shrunk or formatted as a panorama. It is a good idea to try to maintain visual coherence by aligning the sizes of images and templates on a given page.
When placing images, be careful not to stack too many of them within the lead, or within a single section; if the images in a section spill over into the next section at 1024×768 screen resolution, that may mean that the section is too short or there are too many images in that section. If an article has many images—so many, in fact, that they lengthen the page beyond the length of the text itself—you can use a gallery. Another solution might be to create a page or category combining all of them at Wikimedia Commons and use a relevant template ({{Commons}}, {{Commons category}}, {{Commons-inline}} or {{Commons category-inline}}) to link to it instead, so that further images are readily found and available when the article is expanded. Please see WP:IG for further information on the use of galleries.
As a general rule, images should not be set to a larger fixed size than the 220px default. If an exception to the general rule is warranted, forcing an image size to be either larger or smaller than the 220px default is done by placing a parameter in the image coding in the form |XXXpx
. Lead images should usually be no wider than "300px" ("upright=1.35"). Larger images should generally be a maximum of 500 pixels tall and 400 pixels wide, so that they can comfortably be displayed on the smallest displays in common use.
Avoid referring to images as being on the left or right. Image placement is different for viewers of the mobile version of Wikipedia, and is meaningless to people having pages read to them by assistive software. Instead, use captions to identify images.
Links
As part of Wikifying articles,[12] you should link words in this article to other relevant articles. To create an intrawiki hyperlink, place two square brackets around important words or phrases, like this: [[Lion]]
. Normally, the first occurrence of a word is the one chosen for a link. Do not link to the same article more than once in a section. Avoid creating adjacent links to separate articles, because the reader cannot tell whether the link is to one or two articles without pointing to the link.
If the phrase or word in the article you are editing does not match the name of the article you want to link, use a piped link. Type the exact name of the target article followed by a pipe "|
" (vertical bar, shift backward slash on some keyboards) followed by the phrase you wish to see in the context of the article you are editing. Place two square brackets around this code. This creates a hyperlink that will allow the reader to click through to other Wikipedia articles:
Lennie and George came to a ranch near [[Soledad, California|Soledad]] southeast of [[Salinas, California]], to "work up a stake".
When saved, this produces:
Lennie and George came to a ranch near Soledad southeast of Salinas, California, to "work up a stake".
Horizontal rule
Horizontal rules—a series of hyphens (----
) resulting in a straight line—are deprecated; that is, they are no longer used in articles. Rules were once employed to separate multiple meanings of a single article's name, but this task is now accomplished through disambiguation pages.
Rules can be used to provide separation inside certain templates (for example, {{sidebar}} derivatives), within discussions, or when needed in some other formats.
See also
Specialized layout
Other project pages
- Help:Editing
- Help:Preferences
- Help:Section
- Wikipedia:Article titles
- Wikipedia:Disinfoboxes (essay)
- Wikipedia:Related information (essay)—optional heading for end of article navboxes
- Wikipedia:Talk page guidelines—shows how to use headings on talk pages
Footnotes
- ^ For example, skipping heading levels, such as jumping from
==Heading 2==
to====Heading 4====
without===Heading 3===
in the middle, violates Wikipedia:Accessibility as it reduces usability for readers on screen readers who use heading levels to navigate pages. - ^ Syntax:
{{main|Circumcision and law}}
This produces:
- ^ Syntax:
<nowiki>
==See also==
Which produces:
See also - ^ This sequence has been in place since at least 2003 (when "See also" was called "Related topics"). See, e.g., http://en.wikipedia.org/w/index.php?title=Wikipedia:Layout&oldid=2166480 See also Wikipedia:Perennial proposals#Changes to standard appendices. The original rationale for this ordering is that, with the exception of Works, sections which contain material outside Wikipedia (including Further reading and External links) should come after sections that contain Wikipedia material (including See also) to help keep the distinction clear. The sections containing notes and references often contain both kinds of material and, consequently, appear after the See also section (if any) and before the Further reading section (if any). Whatever the validity of the original rationale, there is now the additional factor that readers have come to expect the appendices to appear in this order.
- ^ There are several reasons why this section should appear as the last appendix section. So many articles have the External links section at the end that many people expect that. Some External links and references sections are very long, and when the name of the section is not visible on the screen, it could cause problems if someone meant to delete an external link, and deleted a reference instead. Keeping the External links last is also helpful to editors who patrol external links.
- ^ Rationale for placing navboxes at the end of the article.
- ^ While categories are entered on the editing page ahead of stub templates, they appear on the visual page in a separate box after the stub templates. One of the reasons this happens is that every stub template generates a stub category, and those stub categories appear after the "main" categories. Another is that certain bots and scripts are set up to expect the cats, stubs and ILLs to appear in that order, and will reposition them if they don't. Therefore, any manual attempt to change the order is doomed unless the bots and scripts are also altered.
- ^ Rationale for discouraging the use of "Bibliography."
- ^ a b c See, e.g., Wikipedia:External links#External links section.
- ^ One reason this guide does not standardize section headings for citations and explanatory notes is that Wikipedia draws editors from many disciplines (history, English, science, etc.), each with its own note and reference section naming convention (or conventions). For more, see Wikipedia:Perennial proposals#Changes to standard appendices, Wikipedia:Perennial proposals#Establish a house citation style and Template:Cnote2/example.
- ^ The rationale for not printing navigation boxes is that these templates contain wikilinks that are of no use to print readers.[1] There are two problems with this rationale: First, other wikilink content does print, for example See also and succession boxes. Second, some navigation boxes contain useful information regarding the relationship of the article to the subjects of related articles.
- ^ Wikipedia:What is an article states that the definition of an article used by the software that generates reports on article statistics, is that it contains at least one wiki link.