Bahasa lain

Wikipedia:Senarai

Jalan pintas:
WP:L
Laman ini merupakan panduan Wikipedia. Ia menjadi panduan yang dipersetujui ramai penyunting dalam sesuatu keadaan. Melainkan suntingan kecil, sila bincangkan dahulu sebarang cadangan perubahan pada polisi ini.
Tolong bantu menterjemahkan sebahagian rencana ini.
Ini memerlukan kemaskini dalam Bahasa Melayu piawai Dewan Bahasa dan Pustaka. Silalah membantu, bahan-bahan boleh didapati di en:Senarai.
Sumber-sumber bantuan: Kamus Dewan Bahasa.
Garis Panduan Gaya
Manual Gaya Penulisan Utama
Manual-manual tambahan
Bagaimana menyunting halaman
Garis panduan reka letak
Penulisan yang lebih baik
Unsur-unsur dasar
Tajuk rencana
Tajuk bahagian
Bahagian
Pautan
Imej: Tajuk
Imej: Tutorial
Kategori
Menyebut sumber-sumber
Unsur-unsur khas
Istilah teknikal dan takrif
Menerangkan jargon
Matematik: Simbol
Nama benda dan perkara
Nama khas
Nota kaki
Pengelasan orang
Perintah kendali: Contoh
Senarai
Tanda niaga
Tanda sengkang
Tarikh dan nombor
Gaya untuk halaman istimewa
Biografi
Halaman nyahkekaburan

Senarai kandungan

[sunting] Senaraikan asas-asas

Teks wiki rendering
* Senarai adalah mudah untuk dibuat:
** mulakan setiap baris dengan tanda "bintang"
*** lebih "bintang" bermakna tahap yang lebih mendalam
  • Senarai adalah mudah untuk dibuat:
    • mulakan setiap baris dengan tanda "bintang"
      • lebih "bintang" bermakna tahap yang lebih mendalam
*Baris baru
*dalam senarai   
menandakan penghujung senarai.
Sudah tentu
*anda boleh
*mulakan kembali.
  • Baris baru
  • dalam senarai

menandakan penghujung senarai. Sudah tentu

  • anda boleh
  • mulakan kembali.
# Senarai bernombor juga baik
## sangat teratur
## mudah diikut
  1. Senarai bernombor juga baik
    1. sangat teratur
    2. mudah diikut
* Anda juga boleh
**memutuskan baris<br>di dalam senraia<br>seperti ini
  • Anda juga boleh
    • memutuskan baris
      di dalam senarai
      seperti ini
; Definition list : list of definitions
; item : the item's definition
Definition list 
list of definitions
item 
the item's definition
* Anda juga boleh membuat senarai-senarai bercampur
*# and nest them
*#* seperti berikut
*#*; bolehkah saya mencampurkan senarai definisi?
*#*: ya
*#*; bagaimana?
*#*: ianya semudah
*#*:* a 
*#*:* b
*#*:* c
  • Anda juga boleh membuat senarai-senarai bercampur
    1. and nest them
      • seperti berikut
        bolehkah saya mencampurkan senarai definisi?
        ya
        bagaimana?
        ianya semudah
        • a
        • b
        • c

[sunting] Garis kosing dalam butiran senarai ataupun antara butiran senarai

(In this and the next section numbered lists are used in examples; unnumbered lists give a corresponding result, except that a possible problem of a list restarting with 1 is not applicable.)

A list item can only be one paragraph unless HTML tags are used within it. Otherwise, the new paragraph will end the list. If the list is unnumbered, a new list can be started, but if the list is numbered, the numbering will start over from 1.

In the case of a numbered list, the same is used to have a blank line between list items (more or less necessary if there is a multi-paragraph list item, otherwise the lay-out is confusing); in the case of an unnumbered list one can simply start a new one.

[sunting] Mengguna <br><br>

One way to produce a paragraph break in a list is to use <br><br>. The spacing between paragraphs may look odd, however.

Example:

#54f3ff dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text.<br><br>Def dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text.<br><br>
#ffffff dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text.<br><br>Jkl dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text.

Result:

  1. Abc dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text.

    Def dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text.

  2. Ghi dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text.

    Jkl dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text.

[sunting] Mengguna <p> dan </p>

To get more convincing spacing, you can instead put <p> and </p> tags around each paragraph in the list item.

Example:

#54f3ff dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text.<p>Def dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text.</p>
#ffffff dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text.<p>Jkl dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text.</p>

Result:

  1. Abc dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text.

    Def dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text.

  2. Ghi dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text.

    Jkl dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text dummy text.

[sunting] Senarai bernombor melintasi bahagaian

Since this disturbs section numbering it is on a separate page Help:List/Numbered list across sections.

[sunting] Continuing a list item after a sub-item

In HTML, a list item may contain several sublists, not necessarily adjacent; thus there may be parts of the list item not only before the first sublist, but also between sublists, and after the last one; however, in wiki-syntax, sublists follow the same rules as sections of a page: the only possible part of the list item not in sublists is before the first sublist.

In the case of an unnumbered first-level list in wikitext code this limitation can be overcome by splitting the list into multiple lists; indented text between the partial lists may visually serve as part of a list item after a sublist; however, this may give, depending on CSS, a blank line before and after each list, in which case, for uniformity, every first-level list item could be made a separate list.

Numbered lists illustrate that what should look like one list may, for the software, consist of multiple lists; unnumbered lists give a corresponding result, except that the problem of restarting with 1 is not applicable.

<ol>
  <li>list item A1
    <ol>
      <li>list item B1</li>
      <li>list item B2</li></ol>continuing list item A1
  </li>
  <li>list item A2</li>
</ol>
  1. list item A1
    1. list item B1
    2. list item B2
    continuing list item A1
  2. list item A2
vs.
#ffffff item A1
##ffffff item B1
##ffffff item B2
#:continuing list item A1
#ffffff item A2
  1. list item A1
    1. list item B1
    2. list item B2
    continuing list item A1
  2. list item A2

One level deeper, with a sublist item continuing after a sub-sublist, one gets even more blank lines; however, the continuation of the first-level list is not affected:

#ffffff item A1
##ffffff item B1
###ffffff item C1
##:continuing list item B1
##ffffff item B2
#ffffff item A2

gives

  1. list item A1
    1. list item B1
      1. list item C1
      continuing list item B1
    2. list item B2
  2. list item A2

See also Templat:Tim and subdivisions.

[sunting] Jarak engsot tambahan untuk senarai

In a numbered list in a large font, some browsers do not show more than two digits, unless extra indentation is applied (if there are multiple columns: for each column).

:#54f3ff
:#21f0ff
:#ffffff

gives

  1. abc
  2. def
  3. ghi

In the case that HTML has to be used (see next section), extra indentation of a list is achieved with the tags <ul>, </ul>:

<ul><ol><li>abc
<li>def
<li>ghi
</ol></ul>

gives

  1. abc
  2. def
  3. ghi

Some background explanation: a HTML list can have content before the first list item, distinguished from content before the list by its indentation; MediaWiki changes such content into a list item without a number displayed, but with implicit number 1; in particular a "list" can have content but no list items, which MediaWiki changes into a list with one unnumbered list item, which makes no difference: the only effect is indentation of the content; in the case mentioned the content is itself a numbered sublist.

[sunting] Senarai bernombor yang berbilang lajur

Specifying a starting value is useful for a numbered list with multiple columns, to avoid restarting from one in each column. This is only possible with HTML-syntax (for the first column either wiki-syntax or HTML-syntax can be used).

In combination with the extra indentation explained in the previous section:

{| valign="top"
|-
|<ul><ol start="125"><li>a<li>bb<li>ccc</ol></ul>
|<ul><ol start="128"><li>ddd<li>ee<li>f</ol></ul>
|}

gives

  1. a
  2. bb
  3. ccc
  1. ddd
  2. ee
  3. f

See also wikicities:Template:List of Wikicities (talk, backlinks, edit).

Templat:H:f Wikipedia


system wymiany linków system wymiany linków SEO Tools tanie kredyty gotówkowe kreatyna Plaza 3 star hotel Los Angeles krynica noclegi Sejm Tyk