FlightGear wiki:Manual of Style: Difference between revisions

Jump to navigation Jump to search
m
→‎Section headings: Add spaces to heading example
(Merged FlightGear_wiki:Style_guide; minor fixes)
m (→‎Section headings: Add spaces to heading example)
Line 15: Line 15:


=== Section headings ===
=== Section headings ===
Equal signs are used to mark the enclosed text as a section heading: <code>==Title==</code> for a primary section; <code>===Title===</code> for the next level (a subsection); and so on to the lowest-level subsection, with <code>=====Title=====</code>. (The highest heading level technically possible is <code>=Title=</code>; but do not use it in articles, because it is reserved for the automatically generated top-level heading at the top of the page containing the title of the whole article.) Spaces between the equal signs and the heading text are optional, and will not affect the way the heading is displayed. The heading must be typed on a separate line. Include one blank line above the heading, and optionally one blank line below it, for readability in the edit window (but not two or more consecutive blank lines, which will add unnecessary visible white space in the rendered page.)
Equal signs are used to mark the enclosed text as a section heading: <code>== Title ==</code> for a primary section; <code>=== Title ===</code> for the next level (a subsection); and so on to the lowest-level subsection, with <code>===== Title =====</code>. (The highest heading level technically possible is <code>= Title =</code>; but do not use it in articles, because it is reserved for the automatically generated top-level heading at the top of the page containing the title of the whole article.) Spaces between the equal signs and the heading text are optional, and will not affect the way the heading is displayed. The heading must be typed on a separate line. Include one blank line above the heading, and optionally one blank line below it, for readability in the edit window (but not two or more consecutive blank lines, which will add unnecessary visible white space in the rendered page.)


The provisions in [[#Article titles|Article titles]] (above) generally apply to section headings as well (for example, headings are in sentence case, not title case). The following points apply specifically to section headings:
The provisions in [[#Article titles|Article titles]] (above) generally apply to section headings as well (for example, headings are in sentence case, not title case). The following points apply specifically to section headings:
Line 21: Line 21:
* Section and subsection headings should preferably be unique within a page; otherwise section links may lead to the wrong place, and automatic edit summaries can be ambiguous.
* Section and subsection headings should preferably be unique within a page; otherwise section links may lead to the wrong place, and automatic edit summaries can be ambiguous.
* Citations should not be placed within or on the same line as section and subsection headings.
* Citations should not be placed within or on the same line as section and subsection headings.
* Headings should not contain images.  
* Headings should not contain images.


== Capital letters ==
== Capital letters ==

Navigation menu