Templat:Kembangkan bahagian

Daripada Wikipedia, ensiklopedia bebas.
(Dilencongkan dari Templat:Expand section)
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=April 2024}}

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=April 2024}}

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 April 2024 if the date parameter "date=April 2024" 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; lihat laporan penggunaan parameter bulanan untuk templat ini.

TemplateData untuk Kembangkan bahagian

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

Parameter templat[Sunting data templat]

Templat ini lebih menyukai pemformatan parameter dalam baris.

ParameterKeteranganJenisStatus
Sebab1 dengan untuk

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

Kandunganpilihan
Bahagian perbincanganbhg_bincang bincang

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

Rentetanpilihan
Bulan dan tahuntarikh

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

Nilai auto
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Rentetandisarankan
kecilkecil

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
Booleanpilihan

See also[sunting sumber]