Help:VisualEditor/User guide/th

 หากคุณต้องการที่จะลองโปรแกรม visual editor โดยไม่ต้องแก้ไขบทความ [ นี่คือหน้า]ที่คุณสามารถทดสอบได้อย่างเสรี คุณไม่จำเป็นต้องมีบัญชีการใช้ visual editor ในหน้านั้น

เริ่มต้นใช้งาน: แถบเครื่องมือของ visual editor
center|1200px|alt=ภาพหน้าจอของแถบเครื่องมือ visual editor

border|1200px|center

การแก้ไขแหล่งอ้างอิง
{| cellpadding="15"
 * colspan=2 |

Determining which system is in place
แก้ไขแหล่งอ้างอิงที่มีอยู่ การคลิกไอคอนอ้างอิงจะเปิดหน้าต่างที่มีตัวแก้ไขขนาดเส็กสำหรับแก้ไขข้อความอ้างอิง
 * Your wiki may use one of three footnote systems. The one shown on the right is the simplest system, where the "" menu does not include any citation templates. If your wiki uses this system, then everything you need to know about footnotes is on this page.
 * VisualEditor cite menu default.png
 * colspan=2 |
 * The second system has the same type of "" menu, but with several popular citation templates set up for quick access. If your wiki uses this system, then you will find more details at Help:VisualEditor/User guide/Citations-Templates
 * VisualEditor references more.png
 * colspan=2 |
 * VisualEditor citoid Cite button.png
 * In the third system, you again start by clicking the Cite button. Then a dialog box opens, which includes an automatic citation process using the citoid service. If your wiki uses this system, you will find more details at
 * VisualEditor Citoid Automatic tab.png
 * colspan=2 |
 * VisualEditor citoid Cite button.png
 * In the third system, you again start by clicking the Cite button. Then a dialog box opens, which includes an automatic citation process using the citoid service. If your wiki uses this system, you will find more details at
 * VisualEditor Citoid Automatic tab.png
 * colspan=2 |
 * In the third system, you again start by clicking the Cite button. Then a dialog box opens, which includes an automatic citation process using the citoid service. If your wiki uses this system, you will find more details at
 * VisualEditor Citoid Automatic tab.png
 * colspan=2 |
 * colspan=2 |
 * ในการแก้ไขแหล่งอ้างอิงที่มีอยู่เดิม คลิกที่ตัวข้อความแล้วคลิกไอคอน "Reference" (รูปที่คั่นหนังสือ) ที่จะปรากฏขึ้นใกล้ๆ หรือคุณอาจคลิกไอคอนในแถบเครื่องมือก็ได้
 * VisualEditor - Editing references 1.png
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

หลายวิกิใช้แม่แบบในการจัดรูปแบบแหล่งอ้างอิงในมาตรฐานที่แตกต่างกัน คุณจะสังเกตได้เมื่อคุณแก้ไขแหล่งอ้างอิงที่มีอยู่และพบว่าเนื้อหาข้อความอ้างอิงเปลี่ยนเป็นสีฟ้าเมื่อคุณเลือกมัน

If a template was used and you click on the reference information, then the icon (puzzle piece) will appear with some information. Click on the "edit" button to edit the content of the template in the template mini-editor dialog.
 * VisualEditor - Editing references 6.png
 * colspan=2 |
 * If what appears when you click on a reference is an icon for a standard template for citations (an example is at right), then clicking "Edit" will open the template mini-editor dialog.
 * VisualEditor - Editing References - Cite Web.png
 * colspan=2 |
 * Inside the template mini-editor, you can add or remove types of information or change current content. Only fields (template parameters) that have content will show, initially. To add fields, click on "" at the bottom of the mini-editor.
 * VisualEditor - Editing references 5.png
 * colspan=2 |
 * คลิกที่ "Apply changes" เมื่อคุณเสร็จแล้ว จากนั้นคุณจะกลับสู่ตัวแก้ไขแหล่งอ้างอิง
 * border|center|150px
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * คลิกที่ "Apply changes" เมื่อคุณเสร็จแล้ว จากนั้นคุณจะกลับสู่ตัวแก้ไขแหล่งอ้างอิง
 * border|center|150px
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

การใช้ซ้ำแหล่งอ้างอิงที่มีอยู่

 * If the page already contains a citation that applies to the text you want to source, then you can choose to re-use that existing citation.
 * If the page already contains a citation that applies to the text you want to source, then you can choose to re-use that existing citation.

To re-use an existing reference, place your cursor in the body of the text where you want to add a new reference (number) for that citation. Then click on the "Re-use reference" item from the "" menu.

(Note: If your wiki has the third footnote system described above, you'll see a "Re-use" tab, in a dialog, instead of a "Re-use" item on the "" menu.)
 * VisualEditor Cite menu re-use.png
 * colspan=2 |
 * In the 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 "") to list only those references that include certain text.
 * VisualEditor - Editing references 18.png
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Adding a new reference

 * To add a citation using the "" menu, place your cursor where you want to add it in the text. Then select the appropriate citation type in the menu.
 * VisualEditor references more.png
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Using the "Basic" citation

 * Shown here is what you will see if you select the basic references item. In the Reference editor, you can add your citation, including formatting.
 * Shown here is what you will see if you select the basic references item. In the Reference editor, you can add your citation, including formatting.

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 "" tool.)
 * VisualEditor - Editing references 20.png
 * colspan=2 |
 * In the Reference dialog, if you want to include a citation template, or any other template, in your new reference, click the icon (puzzle piece) in the "" toolbar menu within the Reference editor.
 * border|center|200px
 * colspan=2 |
 * 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.)
 * colspan=2 |
 * 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.)
 * 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.)
 * 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.)

After you're done editing your new template, click on "" to return to the Reference editor, and "" again to return to the page you're editing.
 * VisualEditor - Editing references 9.png
 * colspan=2 |
 * If there isn't already a list of references on the page (for example, if you're adding the first reference for the page), you need to specify where the list of references, and their text, will be displayed to the reader.
 * If there isn't already a list of references on the page (for example, if you're adding the first reference for the page), you need to specify where the list of references, and their text, will be displayed to the reader.
 * If there isn't already a list of references on the page (for example, if you're adding the first reference for the page), you need to specify where the list of references, and their text, will be displayed to the reader.

Place the cursor where you want to display the references list (usually at the bottom of the page), open the "" menu and click the "" icon (three books).
 * border|center|200px
 * colspan=2 |
 * 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 on the page at the location where you are placing the group.
 * 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 on the page at the location where you are placing the group.
 * 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 on the page at the location where you are placing the group.

The final step in the References list dialog is to click "".
 * border|center|400px
 * colspan=2 |
 * colspan=2 |

Using standard cite templates

 * Your local wiki may have added extra citation templates to the "" menu. If so, you have quick access to the most-used citation templates for your wiki. (Instructions for adding extra citation templates to your local wiki are available at VisualEditor/Citation tool.)
 * VisualEditor - Editing References - Cite Pulldown.png
 * colspan=2 |
 * 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.
 * VisualEditor - Editing references - Cite book required fields.png
 * colspan=2 |
 * To add more parameters, scroll down in the template mini-editor and click on the "" option.
 * VisualEditor - Editing references - Cite book required fields.png
 * colspan=2 |
 * To add more parameters, scroll down in the template mini-editor and click on the "" option.
 * To add more parameters, scroll down in the template mini-editor and click on the "" option.
 * To add more parameters, scroll down in the template mini-editor and click on the "" option.

Click on "" when you're done.
 * VisualEditor - Editing references - Add parameter.png
 * }

Editing images and other media files
{| cellpadding="15"
 * colspan=2 |
 * colspan=2 |

Editing images
การคลิกไอคอน "สื่อ" จะเปิดหน้าต่างสำหรับค้นหาไฟล์สื่อจากวิกิมีเดียคอมมอนส์ที่เกี่ยวข้องกับหน้าที่คุณแก้ไขอยู่
 * การเพิ่มภาพใหม่ (หรือไฟล์สื่ออื่นๆ) ลงในหน้า คลิกที่ไอคอน "Media" (รูปภูเขา) ในแถบเครื่องมือ
 * border|200px|center
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

คุณอาจหาไฟล์สื่ออื่นๆ โดยการเปลี่ยนข้อความในกล่องค้นหา

คลิกที่รูปย่อเพื่อเลือกไฟล์

This places the image onto the page you are editing.
 * VisualEditor - Media editing 2.png
 * colspan=2 |
 * 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.
 * VisualEditor - Media editing 6.png
 * colspan=2 |
 * The media dialog also allows you to add alternative text captions, to help users who use screen readers, or who have disabled image display.
 * VisualEditor - Media editing 7.png
 * colspan=2 |
 * You can also set various parameters for the image in the "" window. These include the alignment, the type, and size of the image.
 * VisualEditor - Media editing 8.png
 * colspan=2 |
 * เมื่อคุณเสร็จแล้ว คลิก "Apply changes" เพื่อปิดหน้าต่างและย้อนกลับไปสู่ตัวแก้ไขหน้า
 * border|center|150px
 * colspan=2 |
 * For an existing image, you can add or edit a caption or other settings by clicking on the image, then clicking on the "" icon that appears below the picture.
 * VisualEditor - Media editing 8.png
 * colspan=2 |
 * เมื่อคุณเสร็จแล้ว คลิก "Apply changes" เพื่อปิดหน้าต่างและย้อนกลับไปสู่ตัวแก้ไขหน้า
 * border|center|150px
 * colspan=2 |
 * For an existing image, you can add or edit a caption or other settings by clicking on the image, then clicking on the "" icon that appears below the picture.
 * colspan=2 |
 * For an existing image, you can add or edit a caption or other settings by clicking on the image, then clicking on the "" icon that appears below the picture.
 * For an existing image, you can add or edit a caption or other settings by clicking on the image, then clicking on the "" icon that appears below the picture.
 * For an existing image, you can add or edit a caption or other settings by clicking on the image, then clicking on the "" 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 one or both bottom corners).

You can also drag and drop an image to a place higher or lower on the page.
 * VisualEditor - Media editing 3.png
 * }

Starting
{| cellpadding="15"
 * To add a new template to a page, place your cursor where you want the template to be inserted, and click on the "" icon (puzzle piece) in the "" menu.
 * border|300px|center
 * colspan=2 |
 * Start typing the name of the template you want to insert. When you see it on the list, click on its name. Then click "".
 * VisualEditor - Template editing 4.png
 * colspan=2 |
 * You can also edit a template that is already on the page. When you click on the template to select it, it turns blue, and a box appears with an "" icon (puzzle piece). Then click on the "" link.
 * VisualEditor - Template editing 1.png
 * colspan=2 |
 * Some templates are not visible to someone reading a page. In the visual editor, such hidden templates are shown as puzzle icons. The name of the template will be shown next to the puzzle icon.
 * VisualEditor template not visible.png
 * colspan=2 |
 * When you select the icon, the context menu is displayed, and you can edit the template.
 * VisualEditor template not visible context menu.png
 * colspan=2 |
 * colspan=2 |
 * Some templates are not visible to someone reading a page. In the visual editor, such hidden templates are shown as puzzle icons. The name of the template will be shown next to the puzzle icon.
 * VisualEditor template not visible.png
 * colspan=2 |
 * When you select the icon, the context menu is displayed, and you can edit the template.
 * VisualEditor template not visible context menu.png
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Template parameters

 * When you add a new template or open an existing one, the "" dialog is shown. The contents depends upon whether the template has been documented using the new system or not.
 * colspan=2 |
 * The template shown here has no TemplateData set up for it. The dialog therefore provides a link to documentation for the template. By visiting the documentation you should be able to figure out if the template has any parameters (fields), and what goes in each field. Use numbers as the name for each nameless parameter. The first un-named parameter is named, the second is named  , and so forth.
 * VisualEditor template with no TemplateData.png
 * colspan=2 |
 * If a template has been updated to contain TemplateData information, then the dialog will show a list of individual (named) parameters.
 * VisualEditor template with TemplateData.png
 * colspan=2 |
 * For an existing template, you can edit the parameters shown in the dialog, and you can add parameters by clicking "", at the very bottom of the dialog.
 * VisualEditor - Template editing 3.png
 * colspan=2 |
 * When a template embeds other templates, these sub-templates will appear inside the parameters that display them. They can be edited or removed inside the parameter field.
 * VisualEditor template with TemplateData.png
 * colspan=2 |
 * For an existing template, you can edit the parameters shown in the dialog, and you can add parameters by clicking "", at the very bottom of the dialog.
 * VisualEditor - Template editing 3.png
 * colspan=2 |
 * When a template embeds other templates, these sub-templates will appear inside the parameters that display them. They can be edited or removed inside the parameter field.
 * colspan=2 |
 * When a template embeds other templates, these sub-templates will appear inside the parameters that display them. They can be edited or removed inside the parameter field.
 * When a template embeds other templates, these sub-templates will appear inside the parameters that display them. They can be edited or removed inside the parameter field.
 * When a template embeds other templates, these sub-templates will appear inside the parameters that display them. They can be edited or removed inside the parameter field.

New sub-templates are added by following the steps for adding a parameter. You may need to check the template documentation to make sure that the sub-template is supported. Nested templates can currently be edited as wikitext only, without the facility offered by VisualEditor (see T52182).
 * VisualEditor - Template editing 5.png
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Finishing

 * When you have finished editing a template, click "" to close the dialog and return to editing the main page.
 * border|center|150px
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Substituting templates

 * 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 want to use autocompletion, first find the template you are looking for, and then add  in front of the template name.

Then, click the blue "" button.

Add any parameters as usual and click "".
 * VisualEditor - Template editing 7.png
 * colspan=2 |
 * You will see the template expand on the page after you click "".
 * VisualEditor - Template editing 8.png
 * }
 * VisualEditor - Template editing 8.png
 * }

ทางลัดบนคีย์บอร์ด
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 the visual editor: