Templat:Kembangkan bahagian

Daripada Wikipedia, ensiklopedia bebas.
(Dilencongkan dari Templat:Expand section)
Jump to navigation Jump to search
Pendokumenan templat[lihat] [sunting] [sejarah] [nyahcache]

This is the {{Expand section}} message box.

It can be placed at the top of article sections that need expansion, after the section title. It can also be used on other pages such as in "Wikipedia:" space. (This template currently only uses the "article message box" style, but that is a bug we are going to fix.)

This template can be used without any parameters, like this:

{{Expand section}}

It can also take the current month and year as a parameter, which is used in categorising the page into a corresponding category. (See more on that hereafter.) Like this:

{{Expand section|date=Jun 2018}}

or

{{Expand section|{{subst:DATE}}}}

There are bots that edit the pages and add the date parameter if you forget to do it. The date parameter causes no visible change in the message box itself, it only makes the page categorise properly.

This template can also take a |1= parameter with an explanation of what expansion the section needs. And you can of course feed the date parameter at the same time. Like this:

{{Expand section|1=examples and additional citations|date=Jun 2018}}

When multiple expansion issues need to be raised, a bullet list can be made:

{{Expand section|1=<nowiki />
* Career from 1952 to 1960
* Final days after 1972 retirement
|{{subst:DATE}}}}

(The <nowiki /> is required or the first item will not display correctly.) If this list were longer than three items, it would probably be better raised on the talk page.

Categorisation[sunting sumber]

When this template is used in main (article) space it places the article in Category:Articles to be expanded or in a dated category like Category:Articles to be expanded from Jun 2018 if the date parameter "date=Jun 2018" is specified. It also places the article in Category:All articles to be expanded.

Usage[sunting sumber]

DataTemplat[sunting sumber]

Berikut ialah pendokumenan TemplateData untuk templat ini yang digunakan oleh VisualEditor dan alatan-alatan lain.

Kembangkan bahagian

Boleh diletakkan pada awal bahagian rencana yang memerlukan pengembangan, selepas tajuk bahagian.

Parameter templat

Templat ini mempunyai pemformatan tersuai.

Parameter Keterangan Jenis Status
Sebab 1denganuntuk

Sebab templat ditambah, penjelasan pengembangan apa yang diperlukan dalam bahagian. Senarai peluru dengan baris dimulai '*' boleh diberikan.

Tersedia
kosong
Contoh
kosong
Nilai auto
kosong
Kandungan pilihan
Bahagian perbincangan bhg_bincangbincang

Pengepala bahagian dalam laman perbincangan di mana isu dibincangkan. Nota:Paramater bhg_bincang hanya akan dipaparkan jika parameter kecil ditetapkan ke 'tidak'.

Tersedia
kosong
Contoh
kosong
Nilai auto
kosong
Rentetan pilihan
Bulan dan tahun tarikh

Bulan dan tahun templat ditambah, cth. 'Julai 2017'.

Tersedia
kosong
Contoh
kosong
Nilai auto
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Rentetan disarankan
kecil kecil

Secara tersedia templat akan dipaparkan dalam saiz kecil. Ini boleh diubah dengan menetapkan small ke no. Tidak disyorkan dalam rencana.

Tersedia
yes
Contoh
no
Nilai auto
Boolean pilihan

See also[sunting sumber]