Wikipedia:Manual gaya penulisan/Tajuk bahagian: Perbezaan antara semakan
Tiada ringkasan suntingan |
(Tiada perbezaan)
|
Semakan pada 05:18, 20 Januari 2006
Laman ini mendokumenkan garis panduan Wikipedia Bahasa Melayu. Ia merupakan piawai yang umumnya dipersetujui dan hendaklah diikuti oleh para penyunting, namun gunakan akal budi dan mungkin terdapat pengecualian. Perubahan yang dibuat terhadapnya hendaklah menunjukkan sepersetujuan; apabila ragu, bincangkan idea anda di laman perbincangan. |
Tolong bantu menterjemahkan sebahagian laman ini. Laman ini memerlukan kemaskini dalam Bahasa Melayu piawai Dewan Bahasa dan Pustaka. Sila membantu, bahan-bahan boleh didapati di Manual gaya penulisan/Tajuk bahagian (Inggeris). Jika anda ingin menilai laman ini, anda mungkin mahu menyemak di terjemahan Google. Walau bagaimanapun, jangan menambah terjemahan automatik kepada laman, kerana ini biasanya mempunyai kualiti yang sangat teruk. Sumber-sumber bantuan: Pusat Rujukan Persuratan Melayu. |
Manual gaya penulisan (MGP) |
---|
Headings are used to divide an article into sections. This helps both writers to structure their text better and makes it easier for readers to understand the article.
Susunan kata
Susunan kata
In general, heading titles should be nouns or noun phrases. See also is an exception to this rule. Thus "Behaviour in the wild", not "About their behaviour in the wild".
"The", "a" and "an" should be omitted from the beginning of heading titles. Thus "Mammals", not "The mammals".
Avoid restating the subject of the article or of an enclosing section in heading titles. It is assumed that you are writing about the same subject, so you usually do not need to refer to it again. Thus "Early life", not "His early life".
Tajuk dan susunan piawai
Some heading titles have standard wording, and for these, the wording or capitalisation must not be changed. Two equally acceptable sequences exist, as shown below, and the choice of one over the other depends on the system of references and notes being used in the article.
- See also
- Notes
- References
- External links
or
- See also
- References
- Notes
- External links
Huruf besar
Capitalise the first letter of the first word and any proper nouns in headings, but leave the rest lower case. Thus "Rules and regulations", not "Rules and Regulations".
Pautan
Avoid links within headers. Depending on settings, some users may not see them clearly. It is much better to put the appropriate link in the first sentence under the header.
Aksara khas
Avoid using special characters in headings, such as an ampersand (&), a plus sign (+), curly braces ({}), or square braces ([]). In place of the ampersand, use the word "and" unless the ampersand is part of a formal name.
Markap
Use the == (two equal signs) style markup for headings, not the ''' (triple apostrophes) used to make words appear bold in character formatting.
Start with "==", add the heading title, then end with "==".
The reasons for this are:
- Sections can be automatically numbered for users with that preference set.
- A table of contents can be automatically generated from the sections.
- Sections can be edited individually.
- Words within properly marked headers are given greater weight in searches.
- Visually impaired users may be using software which begins by giving a summary of the article, built from the heading tags.
Persarangan
Nest headings correctly, for the same reasons as above. The automatically-generated top-level heading of any page is a H1 which gives the article title. The headings within the article must therefore be H2, ie "==".
Below that, the sub-heading of "==" is "===", the sub-sub-heading below that is "====" and so on.
Example:
==Heading 1== ===Heading 1.1=== ====Heading 1.1.1==== ==Heading 2==
Ruang kosong
Spaces above and below headings are completely optional. Spaces between the == and the heading text are also optional (==Heading==
vs == Heading ==
). According to the Wikipedia:Manual of Style, these extra spaces will not affect the appearance of the heading in any way; the rendered page is identical. Multiple blank lines will add white space, however.
It is much like the issue of whether to use one or two spaces after a full stop. It only affects the appearance of the text in the edit box, so use whichever approach works for you.
Note that the Start a new discussion tab on a Talk: page inserts a blank line before and after the heading, and spaces in between the == and the heading text. Some editors find this easier to read in the wikitext source code.
Jadual kandungan (TOC)
For each article with more than three headings, a table of contents (TOC) is automatically generated from the section headings, unless:
- (for a user) preferences are set to turn it off
- (for an article) in the edit box the code __NOTOC__ is added
The TOC is put before the first section header unless it is placed manually with the code __TOC__. Thus there may be some introductory text before it, known as the "lead". See Wikipedia:Guide to writing better articles#Lead section for recommendations on the length of that section.
For more on tables of contents see Wikipedia:Section#Table of contents (TOC).
Mengambang TOC
The TOC can, when an editor chooses, be floated either right or left using {{TOCright}} or {{TOCleft}}. It is not always a good idea to do this. For more on floating the TOC, including guidelines on when it is advisable, see Wikipedia:Section#Floating the TOC.
Lihat juga
- Wikipedia:Section explains sections and table of contents which are generated with creation of headings.