Wikipedia:Manual gaya penulisan/Senarai: Perbezaan antara semakan

Kandungan dihapus Kandungan ditambah
PM Poon (bincang | sumb.)
Tiada ringkasan suntingan
 
PM Poon (bincang | sumb.)
Tiada ringkasan suntingan
Baris 4:
{{gaya}}
 
==ListSenaraikan basicsasas-asas==
{|border=1
!wikitext!!rendering
Baris 79:
|}
 
==Garis kosing dalam butiran senarai ataupun antara butiran senarai==
==A blank line within a list item or between list items==
 
 
(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.)
Baris 87 ⟶ 88:
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.
 
===UsingMengguna <nowiki><br><br></nowiki>===
 
One way to produce a paragraph break in a list is to use <nowiki><br><br></nowiki>. The spacing between paragraphs may look odd, however.
Baris 101 ⟶ 102:
#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.<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.
 
===UsingMengguna <nowiki><p> anddan </p></nowiki>===
 
To get more convincing spacing, you can instead put <nowiki><p> and </p></nowiki> tags around each paragraph in the list item.
Baris 115 ⟶ 116:
#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.<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>
 
==Senarai bernombor melintasi bahagaian==
==Numbered list across sections==
 
Since this disturbs section numbering it is on a separate page [[Help:List/Numbered list across sections]].
Baris 183 ⟶ 184:
See also {{tim|List demo}} and [[Help:Section#Subdivisions in general|subdivisions]].
 
==Jarak engsot tambahan untuk senarai==
==Extra indentation of lists==
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).
<pre>
Baris 214 ⟶ 215:
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.
 
==Senarai bernombor yang berbilang lajur==
==Multi-column numbered lists==
 
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).