Trợ giúp:Soạn thảo trực quan/Hướng dẫn sử dụng
![]() |
Lưu ý: Khi bạn chỉnh sửa trang này, bạn đồng ý để phát hành đóng góp của bạn dưới CC0. Xem trang trợ giúp cộng đồng để biết thêm.
|
![]() |
- Tại sao chúng tôi đang xây dựng công cụ này?
- VisualEditor rollouts
- Hỏi đáp
- Hỏi đáp cho báo chí (tiếng Anh)
- Cách sử dụng Trình soạn thảo trực quan
- VisualEditor roadmap
- User testing reports
- Design portal
- Cập nhật các trang trợ giúp
- Bổ sung dữ liệu bản mẫu
- Giúp đỡ người dùng mới
- Trung tâm biên dịch
- Biên dịch và địa phương hóa tài liệu
Contents
- 1 Mở Trình soạn thảo trực quan
- 2 Bắt đầu: thanh công cụ của Trình soạn thảo trực quan
- 3 Lưu thay đổi
- 4 Sửa liên kết
- 5 Sửa chú thích tham khảo
- 6 Editing images and other media files
- 7 Sửa bản mẫu
- 8 Sửa thể loại
- 9 Thay đổi tùy chọn trang
- 10 Sửa đổi công thức toán
- 11 Sửa các phần tử đặc biệt như bài thơ
- 12 Phím tắt
Mở Trình soạn thảo trực quan[edit | edit source]
Để sửa đổi trang dùng Trình soạn thảo trực quan, hãy nhấn chuột vào nút “Edit” ở đầu trang.
Việc mở chế độ sửa đổi có thể mất vài giây trở lên đối với những trang dài. Nhấn chuột vào nút “Edit source” để mở trang sửa đổi mã wiki cũ. |
|
|
|
Bạn cũng có thể mở Trình soạn thảo trực quan bằng cách nhấn chuột vào liên kết “edit” bên cạnh một đề mục. |
Bắt đầu: thanh công cụ của Trình soạn thảo trực quan[edit | edit source]
Thanh công cụ xuất hiện trên đầu cửa sổ khi mở Trình soạn thảo trực quan. Nó bao gồm một số nút thường gặp: | |
|
|
Undo và Redo các thay đổi của bạn. | |
|
|
Trình đơn kéo xuống Đề mục: cho phép bạn đổi mức đề mục của văn bản. Các đề mục bình thường trong bài viết sử dụng mức “Heading”. The normal format for text is "Paragraph". | |
|
|
Formatting: Clicking the "A" opens a menu. For any item to have an effect, you must have first selected (highlighted) some text.
|
|
|
|
Đặt liên kết: Hình dây xích là công cụ đặt liên kết. | |
|
|
Cite menu: The "Cite" menu is used to add inline citations (also called "footnotes" or "references"). All projects have access to "Basic" reference formatting and the ability to "Re-use" citations, using this menu. This menu also gives you quick access to local citation templates, if these are enabled on your wiki.
(Instructions for adding local citation templates to the Cite menu at a specific wiki are available at VisualEditor/Citation tool.) |
|
|
|
Lists & indentation: The first two items allow you to format text as either a "Bullet list" or a "Numbered list". The last two items allow you to decrease or increase the indentation level of list items. | |
|
|
Insert: Trình đơn “Insert” trên thanh công cụ của trình soạn thảo trực quan trình bày một vài tác vụ khác, tùy theo dự án, chẳng hạn chú thích nguồn gốc và nhúng bản mẫu. Các tùy chọn này có thể xuất hiện:
|
|
|
|
Chèn ký tự đặc biệt: Nút “Special character” mở bảng ký tự tại con nháy. Bảng này chứa một số dấu, chữ có dấu, và ký hiệu toán học. Bấm một ký tự để chèn nó vào trang tại con nháy. (This list may be customized locally. See VisualEditor/Special characters for instructions.) | |
|
|
The Page options menu is to the left of the Save page button. On this menu there are options to adjust page settings, such as whether the page is a redirect, or how it is indexed; to add, edit, or delete categories; and to see, using the "Language" item, the list of articles on the same subject that are in other languages. You can also switch (one-way only) from VisualEditor to the classic wikitext source editor without losing the editing work you've done. |
Lưu thay đổi[edit | edit source]
Sau khi bạn sửa đổi xong xuôi, hãy bấm nút “Save page” màu xanh trên thanh công cụ. Nút chỉ cho phép bấm sau khi thực hiện thay đổi. To cancel all your editing changes, just close your browser window. | |
|
|
Pressing the green "Save page" button opens a dialog. You can then enter a brief summary of your actions, mark your edit as minor, and add the page to your Watchlist. The box for the summary is the equivalent of the Summary (?): field in the wikitext editor.
You can also review your changes using the "Review your changes" button to be sure they will work as intended before saving your changes. This is similar to the "Show changes" button in the wikitext editor. The "Cancel" button returns you to the page you were editing. You can save all of your changes later. |
Sửa liên kết[edit | edit source]
Để đặt liên kết, hãy bấm nút “Link” (hình dây xích) trên thanh công cụ, hoặc dùng tổ hợp phím tắt ⌃ Ctrl+K (hoặc ⌘ Command+K trên Mac).
If you select (highlight) text and then press the "Link" button, a link will be inserted using that text. For single-word links it's enough to just do it while the caret is on that word. |
|
|
|
Dù bạn bấm nút hay bấm phím tắt, một hộp thoại sẽ xuất hiện. Bạn có thể nhập tên bài hoặc địa chỉ URL. Trong lúc gõ, Trình soạn thảo trực quan tự động tìm kiếm các tên bài trong wiki mà bạn có thể muốn chọn.
VisualEditor will try to help with internal links by looking for likely matches as you begin to type. |
|
|
|
Once you have entered or selected the link, you complete the linking process by pressing ↵ Enter, pressing the "Done" button, or just clicking outside of the box. Your link will immediately appear on the VisualEditor page, but it will not be saved until you save the entire page. | |
|
|
To link to a web page on another website, the process is the similar: you enter a URL in the box, and it will be added as an "External link". | |
|
|
External links without labels look like this: [1]. You can add these by placing your cursor away from any word (e.g., after a space). Open the link tool by clicking on the button or pressing the shortcut keys. Type the URL in the box, and click the "Done" button to insert the link. | |
|
|
Để thay đổi hoặc xóa một liên kết hiện có trong bài, hãy nhấn chuột vào văn bản liên kết và bấm nút “Link” xuất hiện bên cạnh liên kết. Bạn cũng có thể bấm nút này trên thanh công cụ hoặc bấm phím tắt ⌃ Ctrl+K khi liên kết được chọn.
In the dialog, you can then change where the link goes. You can also remove the link altogether by pressing the "Remove" button in the lower left corner of the dialog. You can also open the link's target in another window by clicking on the "Open" button. (You might want do this to check if an external link is valid.) |
Sửa chú thích tham khảo[edit | edit source]
Sửa một chú thích đã tồn tại[edit | edit source] |
|
|
|
Để sửa một chú thích đã tồn tại, nhấn chuột vào nó trong văn bản và bấm nút “Basic” (hình dấu trang) ở bên cạnh hoặc nút trên thanh công cụ. | |
|
|
Nút “Basic” mở cửa sổ có một hộp sửa đổi nhỏ cho phép sửa đổi văn bản của lời chú thích.
Many wikis use templates to format references. If a template is used in your reference, then all the text in the template will be highlighted when you click on the reference information. If a template was used and you've clicked on information in that template, then the Template icon (puzzle piece) will appear. Click on that to edit the content of the template, in the template mini-editor dialog. |
|
|
|
If, instead of the "Basic" icon (bookmark), what appears when you click on a reference is an icon for a standard template for citations, clicking on that icon will take you directly to the template mini-editor dialog. | |
|
|
Inside the template mini-editor, you can add or remove types of information or change current content. Only fields (template parameters) that have content are supposed to be shown initially. To add fields, click on "Add more information" at the bottom of the mini-editor. | |
|
|
Click on "Apply changes" when you're done. | |
|
|
Sử dụng lại một chú thích đã tồn tại[edit | edit source] |
|
|
|
Nếu trang đã chú thích tham khảo, bạn có thể sử dụng lại một chú thích nếu nguồn này cũng có liên quan đến văn bản mà bạn đã chọn.
Để sử dụng lại một chú thích đã tồn tại, đưa con nháy vào vị trí mà bạn muốn chèn chú thích, kéo xuống trình đơn “Insert” và chọn “Basic”. |
|
|
|
In the Reference dialog, look at the list for the reference you want to reuse, and select it. If there are many references, you can use the search box (labeled "What do you want to reference?") to list only those references that include certain text. | |
|
|
Thêm chú thích mới[edit | edit source] |
|
|
|
To add a citation using the "Cite" menu, place your cursor where you want to add it in the text. Then select the appropriate citation type in the menu. | |
Using the "Basic" citation[edit | edit source] |
|
|
|
Trong cửa sổ chú thích tham khảo, bạn có thể thêm, sửa, và trang trí lời chú thích của bạn.
You can make the reference belong to a given group, although normally this is left blank. (This option is used to display groups of references with the "References list" tool.) |
|
|
|
Để đưa bản mẫu vào một chú thích tham khảo mới, kéo xuống trình đơn “Insert” trên thanh công cụ của cửa sổ sửa chú thích và chọn Bản mẫu (hình miếng ghép hình). | |
|
|
Then, look for the template you want to use, add it and edit it as you would any other template. (See the Editing templates section, below, if you need more information about templates.)
Bấm nút “Apply changes” để quay lại cửa sổ sửa chú thích, và bấm nút “Apply changes” lần nữa để quay lại trình soạn trang. |
|
|
|
Nếu chưa có danh sách chú thích tham khảo trên trang – thí dụ nếu bạn đang thêm chú thích đầu tiên của trang – bạn phải chèn danh sách chú thích để hiển thị lời chú thích.
Place the cursor where you want to display the references list (usually at the bottom of the page), open the "Insert" menu and click the "References list" icon (three books). |
|
|
|
If you are using several groups of references, which is relatively rare, you can specify the group in this dialog. Only the references that belong to that group will be displayed here.
The final step in the References list dialog is to click "Insert". |
|
Using standard cite templates[edit | edit source] |
|
|
|
Your local wiki may have added extra citation templates to this menu. This offers quick access to the most-used citation templates. (Instructions for adding extra citation templates to your local wiki are available at VisualEditor/Citation tool.) | |
|
|
Clicking on a template icon such as "Cite book" will take you into the template mini-editor for that template. Important information fields may be marked with an asterisk. While the most common fields will be shown, not all of them are required. | |
|
|
To add additional parameters, scroll down in the template mini-editor and click on the "Add more information" option.
Click on "Insert" when you're done. |
Editing images and other media files[edit | edit source]
Editing images[edit | edit source]
Để thêm hình mới (hoặc một loại tập tin phương tiện khác) vào trang, hãy kéo xuống trình đơn “Insert” và chọn “Media” (hình dãy núi). Hình sẽ được chèn vào vị trí của con nháy. | |
|
|
Clicking the "Media" icon opens a dialog that automatically searches Wikimedia Commons and your local wiki for media files related to the title of the page you're editing.
Thay đổi văn bản trong hộp tìm kiếm của hộp thoại để tìm tập tin phương tiện khác. Nhấn chuột vào một hình nhỏ để chọn tập tin. This places the image onto the page you are editing. |
|
|
|
After the image you selected is inserted into the page, another dialog will open. This dialog allows you to add and edit the caption of the image. The caption can contain formatting and links. | |
|
|
Cửa sổ phương tiện cũng cho phép thêm lời chú thích thay thế dành cho những người dùng trình đọc màn hình hoặc tắt hình ảnh trong trình duyệt. | |
|
|
You can also set various parameters for the image in the "Advanced settings" window. These include the alignment, the type, and size of the image. | |
|
|
Sau khi xong xuôi, hãy bấm “Apply changes” để đóng hộp thoại và trở về trình soạn thảo trang. | |
|
|
For an existing image, you can add or edit a caption or other settings by clicking on the image, then clicking on the "Media" icon that appears below the picture.
You can resize an existing image by clicking on it, then moving the resize icon (the two-headed arrow on the bottom left). You can also drag and drop an image to a place higher or lower on the page. |
Editing media galleries[edit | edit source]
|
|
To edit an existing gallery in VisualEditor, click that gallery. Then, near the bottom of the gallery, click the gallery icon (a set of photos). This brings up the gallery editor, with the full list of images included in the gallery. | |
The gallery editor is currently a simple box that allows you to edit existing galleries using wikitext markup. To add a new image to an existing gallery, type the file name, followed by a bar (| ) and the caption for that image. You must put each image in the gallery on its own line. You can also edit this list to remove or rearrange images or to change captions.
When you click the "Done" button, you will exit the gallery editor. You should then see your changes, with the gallery as it will now appear to readers. Remember that exiting the gallery editor does not save your changes. As with other changes made using VisualEditor, you must save the entire page in order to save your work. |
Sửa bản mẫu[edit | edit source]
To add a new template to the page, place your cursor where you want the template to be inserted, and click on the "Template" icon (puzzle piece) in the "Insert" menu. | |
|
|
Type the name of the template you want to insert. When you see it on the list, click on its name. Then click "Add template". | |
|
|
You can also edit templates that are already on the page by selecting them (they turn blue), and clicking on the "Template" icon (puzzle piece) that appears. | |
|
|
Adding a new template or opening an existing one opens the "Transclusion" dialog. If the template has have been updated to contain TemplateData information, then the dialog will show a list of individual parameters; otherwise, a link to the documentation will be available in the dialog.
If you are editing an existing template, and the template has been updated, then the dialog will show the values for the parameters. |
|
|
|
For an existing template, you edit the parameters already listed, and you can add additional parameters by clicking "Add more information", at the very bottom of the dialog. | |
|
|
Khi một bản mẫu nhúng bản mẫu khác, bản mẫu con sẽ xuất hiện trong tham số chứa nó. Bạn có thể sửa đổi hoặc tháo gỡ bản mẫu con ở trong hộp tham số này.
Để thêm một bản mẫu con, thêm một tham số mới. Bạn có thể cần tham khảo tài liệu bản mẫu để chắc chắn rằng bản mẫu mẹ hỗ trợ bản mẫu con. |
|
|
|
Sau khi xong xuôi, hãy bấm “Apply changes” để đóng hộp thoại và trở về trình soạn thảo trang. | |
|
|
Thay thế bản mẫu[edit | edit source] |
|
|
|
Khi nào cần thay thế một bản mẫu, viết thế: (kể cả dấu hai cấm) đằng trước tên bản mẫu.
Các đề xuất tự động sẽ không xuất hiện sau khi viết Sau đó, bấm nút “Add template” màu xanh. |
|
|
|
Thêm các tham số giống như bình thường và bấm nút “Apply changes”. | |
|
|
Kết quả bản mẫu sẽ không xuất hiện trên trang khi bấm “Apply changes”. Hãy lưu trang để bung bản mẫu. |
Sửa thể loại[edit | edit source]
To edit categories, on the "Page options" menu, click the "Categories" button. | |
|
|
The "Categories" button opens a dialog that lists existing categories and allows you to add new ones.
You have the option of setting or changing the general (default) sorting key, which used to determine where the page appears when listed with other pages in the same category. For example, the default sorting key for the article "George Washington" is "Washington, George", and so in the category "Presidents of the United States", the article is listed under the letter "W", not the letter "G". |
|
|
|
To add a category for a page, type the name of the category into the field "Add a category". As you type, VisualEditor will search for possible matching, existing categories. You can either select an existing category, or you can add a category that doesn't yet have its own category page. (Until that category page is created, your new category will show as a red link after you save all your editing changes.) | |
|
|
To remove an existing category, click on it and click on the "Remove" icon (trash can) in the dialog that opens.
Clicking on a category also allows you to specify a sorting key for that specific category. Such a sorting key overrides the default sorting key. |
|
|
|
Sau khi đâu vào đấy, bấm nút “Apply changes” để quay lại trình soạn trang. |
Thay đổi tùy chọn trang[edit | edit source]
To edit a page's settings, click to open the "Page options" menu, in the toolbar, and select the "Page settings" button. | |
|
|
The "Page settings" button opens a dialog that shows several options. | |
|
|
You can make a page a redirect to another page by checking the "Redirect this page to" checkbox, and then typing the name of the page to which you want to send the reader who tries to go to the page that you're editing.
At the bottom is the option to prevent page renames from updating this redirect. This is very rarely used. |
|
|
|
Bạn có thể ẩn hay hiện bảng mục lục của trang dùng ba nút này. Nút “Nếu cần” (mặc định) có nghĩa rằng trang sẽ có bảng mục lục nếu có ba đề mục trở lên. | |
|
|
Hộp kiểm này ẩn các liên kết “sửa” bên cạnh các đề mục. | |
|
|
Sau khi đâu vào đấy, bấm nút “Apply changes” để quay lại trình soạn trang. |
Sửa đổi công thức toán[edit | edit source]
Để chèn một công thức toán mới vào trang, để con nháy vào vị trí của công thức, mở trình đơn “Insert” và bấm nút “Công thức toán” (Σ). | |
|
|
A window will open in which you can type the formula, using LaTeX syntax. VisualEditor will update the formula as you type it, so you can see how it will look as you make changes. Once you are happy with the formula, click the "Done" button. | |
|
|
To edit an existing mathematical formula on the page, click on it and then click on the "Σ" icon that appears. This will open up the formula window, where you make changes. | |
|
Sửa các phần tử đặc biệt như bài thơ[edit | edit source]
Some items, such as poems and musical scores, are not yet supported by VisualEditor. Until they are, you will need to edit the source wikitext directly if you want to add these or change these.
Phím tắt[edit | edit source]
Many editors are used to entering wikitext directly, especially bold, italics and wikilinks. Keyboard shortcuts allow to quickly insert similar formatting without having to use toolbar items. Here are the common general shortcuts in VisualEditor:
Phím tắt PC | Tác động | Phím tắt Mac |
---|---|---|
|
||
⌃ Ctrl+B | Đậm | ⌘ Cmd+B |
|
||
⌃ Ctrl+I | Xiên | ⌘ Cmd+I |
|
||
⌃ Ctrl+K | Đặt liên kết | ⌘ Cmd+K |
|
||
⌃ Ctrl+X | Cắt | ⌘ Cmd+X |
|
||
⌃ Ctrl+C | Chép | ⌘ Cmd+C |
|
||
⌃ Ctrl+V | Dán | ⌘ Cmd+V |
|
||
⌃ Ctrl+Z | Hoàn tác | ⌘ Cmd+Z |