Help:VisualEditor/User guide/ms



Membuka VisualEditor


Mula: bar perkakas VisualEditor




Menyimpan perubahan


Menyunting pautan


Menyunting imej dan fail media lain


Menyunting rujukan
{| cellpadding="15"
 * colspan=2 |
 * colspan=2 |

Menyunting rujukan sedia ada

 * colspan=2 |
 * frameless|border|300px|center
 * Bagi menyunting rujukan sedia ada, petik rujukan dalam teks, dan petik ikon "Rujukan" (tanda buku) yang kelihatan berhampirannya, atau ikon pada palang.
 * colspan=2 |
 * frameless|border|center|500px
 * Memetik ikon Rujukan membuka dialog yang memuatkan penyunting mini; ini akan membolehkan anda untuk menyunting teks rujukan.
 * colspan=2 |
 * frameless|border|center|500px
 * Memetik ikon Rujukan membuka dialog yang memuatkan penyunting mini; ini akan membolehkan anda untuk menyunting teks rujukan.
 * Memetik ikon Rujukan membuka dialog yang memuatkan penyunting mini; ini akan membolehkan anda untuk menyunting teks rujukan.

Anda boleh memformatnya seperti laman biasa, misalnya dengan menambah teks italik/condong, ataupun pautan.
 * colspan=2 |
 * frameless|border|center|500px
 * Banyak wiki menggunakan templat untuk memformat rujukan mengijut piawai tertentu. Anda akan nampak ini jika anda menyunting rujukan sedia ada; kandungannya akan berwarna biru apabila anda memilihnya.
 * frameless|border|center|500px
 * Banyak wiki menggunakan templat untuk memformat rujukan mengijut piawai tertentu. Anda akan nampak ini jika anda menyunting rujukan sedia ada; kandungannya akan berwarna biru apabila anda memilihnya.

Click on the Transclusion icon (puzzle piece) to edit the content of the template.
 * colspan=2 |
 * VisualEditor - Editing references 5.png
 * Memetik ikon Transklusi (kepingan susun suai gambar) akan membolehkan anda untuk menyunting parameter templat secara individu.
 * colspan=2 |
 * VisualEditor - Apply changes.png
 * Petik "Kenakan perubahan" apabila sudah selesai, dan anda kan dibawa kembali ke penyunting rujukan.
 * colspan=2 |
 * VisualEditor - Apply changes.png
 * Petik "Kenakan perubahan" apabila sudah selesai, dan anda kan dibawa kembali ke penyunting rujukan.
 * Petik "Kenakan perubahan" apabila sudah selesai, dan anda kan dibawa kembali ke penyunting rujukan.

Jika tiada lagi yang mahu disunting, petik "kenakan perubahan" sekali lagi untuk pulang kepada laman.
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Menyunting rujukan sedia ada

 * colspan=2 |
 * VisualEditor - Toolbar - Reference.png
 * Jika laman sudahpun mempunyai rujukan, anda boleh emilih untuk menggunakan petikan sedia ada, jika ia berkaitan dengan teks yang anda mahu gunakan.
 * VisualEditor - Toolbar - Reference.png
 * Jika laman sudahpun mempunyai rujukan, anda boleh emilih untuk menggunakan petikan sedia ada, jika ia berkaitan dengan teks yang anda mahu gunakan.

Bagi mengguna semula rujukan sedia ada, letakkan kursor anda di tempat di mana anda mahu ia kelihatan dalam teks, dan petik ikon "Rujukan" icon (tanda buku) pada palang. Cari rujukan yang anda mahu yang terdapat dalam senarai, dan pilih rujukan tersebut.
 * colspan=2 |
 * VisualEditor - Editing references 21.png
 * Dalam penyunting rujukan, petik butang yang berkata "Guna rujukan sedia ada", pada bahagian kiri bawah tetingkap.
 * colspan=2 |
 * VisualEditor - Editing references 18.png
 * Jika terdapat banyak rujukan, anda boleh menggunakan palan gelintar (dilabel "Apa yang mahu anda rujuk?") untuk hanya memaparkan rujukan yang sepadan dengan teks yang dipilih.
 * colspan=2 |
 * VisualEditor - Editing references 18.png
 * Jika terdapat banyak rujukan, anda boleh menggunakan palan gelintar (dilabel "Apa yang mahu anda rujuk?") untuk hanya memaparkan rujukan yang sepadan dengan teks yang dipilih.
 * Jika terdapat banyak rujukan, anda boleh menggunakan palan gelintar (dilabel "Apa yang mahu anda rujuk?") untuk hanya memaparkan rujukan yang sepadan dengan teks yang dipilih.
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Menambah rujukan baharu

 * colspan=2 |
 * VisualEditor - Toolbar - Reference.png
 * To add a new reference, place your cursor where you want to add it in the text, and click on the "Reference" icon (bookmark) in the toolbar.
 * colspan=2 |
 * VisualEditor - Editing references 20.png
 * In the reference editor, you can add, edit and format your citation.
 * colspan=2 |
 * VisualEditor - Editing references 20.png
 * In the reference editor, you can add, edit and format your citation.
 * In the reference editor, you can add, edit and format your citation.

You can make the reference belong to a given group; this is used to display groups of references with the "References list" tool.
 * colspan=2 |
 * VisualEditor - Editing references 7.png
 * If you're adding a new reference and you want to include a template in it, click the Transclusion icon (puzzle piece) in the toolbar of the reference editor.
 * colspan=2 |
 * VisualEditor - Editing references 9.png
 * Then, look for the template you want to use, add it and edit it as you would an existing one.
 * colspan=2 |
 * VisualEditor - Editing references 9.png
 * Then, look for the template you want to use, add it and edit it as you would an existing one.
 * Then, look for the template you want to use, add it and edit it as you would an existing one.

Click on "Apply changes" to return to the reference editor, and "Apply changes" again to return to the page.
 * colspan=2 |
 * VisualEditor - Editing references 10.png
 * If there isn't already a list of references on the page (for example, if you're adding the first reference of the page), you need to add it in order for the text of your reference to be displayed.
 * VisualEditor - Editing references 10.png
 * If there isn't already a list of references on the page (for example, if you're adding the first reference of the page), you need to add it in order for the text of your reference to be displayed.

Place the cursor where you want to display references (usually at the bottom of the page), and click the "References list" icon (three books) to add it.
 * colspan=2 |
 * VisualEditor - Editing references 11.png
 * To simply add a references list, click "Apply changes" on the dialog.
 * VisualEditor - Editing references 11.png
 * To simply add a references list, click "Apply changes" on the dialog.

If you created groups of references, you can specify a group in this dialog, to selectively display references that belong to it.
 * }
 * }



Editing templates
{| cellpadding="15"
 * To add a new template to the page, place your cursor where you want the template to be inserted, and click on the "Transclusion" icon (puzzle piece) in the toolbar.
 * VisualEditor - Toolbar - Transclusion.png
 * colspan=2 |
 * Enter the name of the template you want to insert, and click "Add template".
 * VisualEditor - Template editing 4.png
 * colspan=2 |
 * You can also edit templates that are already on the page by selecting them (they turn blue), and clicking on the "Transclusion" icon (puzzle piece) that appears, or the one in the toolbar.
 * VisualEditor - Template editing 1.png
 * colspan=2 |
 * Adding a new template or opening an existing one opens the "Transclusion" dialog, with a list of individual parameters and their values.
 * You can also edit templates that are already on the page by selecting them (they turn blue), and clicking on the "Transclusion" icon (puzzle piece) that appears, or the one in the toolbar.
 * VisualEditor - Template editing 1.png
 * colspan=2 |
 * Adding a new template or opening an existing one opens the "Transclusion" dialog, with a list of individual parameters and their values.
 * colspan=2 |
 * Adding a new template or opening an existing one opens the "Transclusion" dialog, with a list of individual parameters and their values.
 * Adding a new template or opening an existing one opens the "Transclusion" dialog, with a list of individual parameters and their values.

You can add parameters or edit those already listed.
 * VisualEditor - Template editing 2.png
 * colspan=2 |
 * To change a parameter's value, select the parameter in the list, and edit its value in the adjacent window.
 * VisualEditor - Template editing 3.png
 * colspan=2 |
 * When a template embeds other templates, these sub-templates will appear as parameters. They can be edited or removed by clicking on the name of the sub-template.
 * colspan=2 |
 * When a template embeds other templates, these sub-templates will appear as parameters. They can be edited or removed by clicking on the name of the sub-template.
 * When a template embeds other templates, these sub-templates will appear as parameters. They can be edited or removed by clicking on the name of the sub-template.
 * When a template embeds other templates, these sub-templates will appear as parameters. They can be edited or removed by clicking on the name of the sub-template.

New sub-templates are added by following the steps of adding a parameter. You may need to check the template documentation to make sure that the sub-template is supported.
 * VisualEditor - Template editing 5.png
 * colspan=2 |
 * When you're done, click "Apply changes" to close the dialog and return to the page editor.
 * VisualEditor - Apply changes.png
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Substituting templates

 * colspan=2 |
 * When a template must be substituted, type  (colon included) before the template's name.
 * When a template must be substituted, type  (colon included) before the template's name.
 * When a template must be substituted, type  (colon included) before the template's name.

Autocompletion doesn't work with ; if you need the autocompletion, add   only after finding the template you're looking for.

Then, click the green "" button.
 * VisualEditor - Template editing 7.png
 * colspan=2 |
 * Add any parameters as usual and "Apply changes".
 * VisualEditor - Template editing 6.png
 * colspan=2 |
 * You will not see the template expand on the page during this initial phase.
 * colspan=2 |
 * You will not see the template expand on the page during this initial phase.
 * You will not see the template expand on the page during this initial phase.
 * You will not see the template expand on the page during this initial phase.

After you finish your changes and save, the template appearance will change as substitution goes into effect.
 * VisualEditor - Template editing 8.png
 * }
 * }



Editing categories


Editing mathematical formulae and other special items
Some items, such as image galleries, mathematical formulae and music scores aren't yet supported by VisualEditor. Until they are, you will need to edit the source wikitext directly if you want to alter or add these.



Keyboard shortcuts
Many editors are used to entering wikitext directly, especially bold, italics and wikilinks. Keyboard shortcuts allow to quickly insert similar formatting without having to click the toolbar buttons. Common general shortcuts, and ones used by other editors, function in VisualEditor: