Help:VisualEditor/User guide/cy

 If you would like to try VisualEditor without editing an article, [//www.mediawiki.org/wiki/Project:Sandbox?veaction=edit here is a page] where you can freely test it. You don't need an account to use VisualEditor on that page.

Bwrw iddi: bar offer y Golygydd Gweledol
center|800px|alt=Screenshot of the VisualEditor toolbar

Golygu cyfeiriadau
{| cellpadding="15"
 * colspan=2 |
 * colspan=2 |

Golygu cyfeiriad

 * colspan=2 |
 * VisualEditor - Editing references 1.png
 * I olygu cyfeiriad sydd eisoes ar gael, cliciwch ar y cyfeiriad yn y testun. Yna cliciwch ar yr eicon "Cyfeiriad" (llun llyfrnod) sy'n ymddangos gerllaw, neu'r eicon yn y bar offer.
 * colspan=2 |
 * VisualEditor - Editing references 6.png
 * Mae dewis yr eicon "Cyfeiriadau" yn agor dialog sy'n cynnwys golygydd pitw, ble y medrwch olygu testun y cyfeiriad.
 * colspan=2 |
 * VisualEditor - Editing references 6.png
 * Mae dewis yr eicon "Cyfeiriadau" yn agor dialog sy'n cynnwys golygydd pitw, ble y medrwch olygu testun y cyfeiriad.
 * Mae dewis yr eicon "Cyfeiriadau" yn agor dialog sy'n cynnwys golygydd pitw, ble y medrwch olygu testun y cyfeiriad.

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 icon (puzzle piece) will appear. Click on that icon to edit the content of the template in the template mini-editor dialog.
 * colspan=2 |
 * VisualEditor - Editing References - Cite Web.png
 * If, instead of the "" 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.
 * colspan=2 |
 * VisualEditor - Editing references 5.png
 * 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 "" at the bottom of the mini-editor.
 * colspan=2 |
 * VisualEditor - Apply changes.png
 * Click on "" when you're done.
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * VisualEditor - Apply changes.png
 * Click on "" when you're done.
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Ailddefnyddio cyfeiriad

 * colspan=2 |
 * VisualEditor Cite menu re-use.png
 * Os oes cyfeiriadau ar y dudalen eisoes, gallwch ailddefnyddio un ohonynt os yw hefyd yn ffynhonnell i ddarn newydd o'r testun.
 * VisualEditor Cite menu re-use.png
 * Os oes cyfeiriadau ar y dudalen eisoes, gallwch ailddefnyddio un ohonynt os yw hefyd yn ffynhonnell i ddarn newydd o'r testun.

I ailddefnyddio cyfeiriad, gosodwch eich cyrchwr yn y man lle caiff ei ychwanegu. Yna cliciwch ar yr eicon "Cyfeiriad" (llun llyfrnod) yn y bar offer.
 * colspan=2 |
 * VisualEditor - Editing references 18.png
 * 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.
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Ychwanegu cyfeiriad newydd

 * colspan=2 |
 * VisualEditor references more.png
 * 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.
 * colspan=2 |
 * 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.
 * colspan=2 |
 * colspan=2 |

Using the "Basic" citation

 * colspan=2 |
 * VisualEditor - Editing references 20.png
 * Gwaith y golygydd cyfeiriadau yw ychwanegu ffynhonnell, ei golygu a'i fformatio.
 * VisualEditor - Editing references 20.png
 * Gwaith y golygydd cyfeiriadau yw ychwanegu ffynhonnell, ei golygu a'i fformatio.

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.)
 * colspan=2 |
 * border|center|300px
 * Os ydych yn ychwanegu cyfeiriad newydd ac am ddefnyddio nodyn ynddo, cliciwch yr eicon Trawsgynnwys (darn jigso) ym mar offer y golygydd cyfeiriadau.
 * colspan=2 |
 * VisualEditor - Editing references 9.png
 * 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 |
 * VisualEditor - Editing references 9.png
 * 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.)

O orffen golygu'r nodyn, cliciwch ar "Gweithreder y newidiadau" i ddychwelyd at y golygydd cyfeiriadau, a chlicio ar "Gweithreder y newidiadau" yn fanno i ddychwelyd i'r dudalen sydd ar y gweill.
 * colspan=2 |
 * border|center|300px
 * Os nad oes rhestr o gyfeiriadau ar y dudalen yn barod (e.e. os ydych wrthi'n ychwanegu'r cyfeiriad cyntaf ar y dudalen), yna mae angen ychwanegu hwn er mwyn i destun eich cyfeiriad gael ei ddangos.
 * border|center|300px
 * Os nad oes rhestr o gyfeiriadau ar y dudalen yn barod (e.e. os ydych wrthi'n ychwanegu'r cyfeiriad cyntaf ar y dudalen), yna mae angen ychwanegu hwn er mwyn i destun eich cyfeiriad gael ei ddangos.

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).
 * colspan=2 |
 * VisualEditor - Editing references 11.png
 * 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.
 * VisualEditor - Editing references 11.png
 * 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 "".
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Using standard cite templates

 * colspan=2 |
 * VisualEditor - Editing References - Cite Pulldown.png
 * 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.)
 * VisualEditor - Editing References - Cite Pulldown.png
 * 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.)


 * colspan=2 |
 * VisualEditor - Editing references - Cite book required fields.png
 * 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.
 * colspan=2 |
 * VisualEditor - Editing references - Add parameter.png
 * To add more parameters, scroll down in the template mini-editor and click on the "" option.
 * colspan=2 |
 * VisualEditor - Editing references - Add parameter.png
 * To add more parameters, scroll down in the template mini-editor and click on the "" option.
 * VisualEditor - Editing references - Add parameter.png
 * To add more parameters, scroll down in the template mini-editor and click on the "" option.

Click on "" when you're done.
 * }

Golygu nodiadau
{| 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 "" icon (puzzle piece) in the "" menu.
 * border|300px|center
 * colspan=2 |
 * Type 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 templates that are already on the page by selecting them (they turn blue), and clicking on the "" icon (puzzle piece) that appears.
 * VisualEditor - Template editing 1.png
 * colspan=2 |
 * Adding a new template or opening an existing one opens the "" 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.
 * You can also edit templates that are already on the page by selecting them (they turn blue), and clicking on the "" icon (puzzle piece) that appears.
 * VisualEditor - Template editing 1.png
 * colspan=2 |
 * Adding a new template or opening an existing one opens the "" 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.
 * colspan=2 |
 * Adding a new template or opening an existing one opens the "" 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.
 * Adding a new template or opening an existing one opens the "" 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.
 * VisualEditor - Template editing 2.png
 * colspan=2 |
 * For an existing template, you edit the parameters already listed, and you can add additional parameters by clicking "", at the very bottom of the dialog.
 * VisualEditor - Template editing 3.png
 * colspan=2 |
 * Pan fod nodyn yn cael ei gynnwys mewn nodyn arall, fe fydd yr is-nodyn yn ymddangos fel paramedr yn y brif nodyn. Gallwch olygu'r is-nodiadau, neu cael eu gwared, drwy glicio ar enw'r is-nodyn.
 * colspan=2 |
 * Pan fod nodyn yn cael ei gynnwys mewn nodyn arall, fe fydd yr is-nodyn yn ymddangos fel paramedr yn y brif nodyn. Gallwch olygu'r is-nodiadau, neu cael eu gwared, drwy glicio ar enw'r is-nodyn.
 * Pan fod nodyn yn cael ei gynnwys mewn nodyn arall, fe fydd yr is-nodyn yn ymddangos fel paramedr yn y brif nodyn. Gallwch olygu'r is-nodiadau, neu cael eu gwared, drwy glicio ar enw'r is-nodyn.
 * Pan fod nodyn yn cael ei gynnwys mewn nodyn arall, fe fydd yr is-nodyn yn ymddangos fel paramedr yn y brif nodyn. Gallwch olygu'r is-nodiadau, neu cael eu gwared, drwy glicio ar enw'r is-nodyn.

Gallwch ychwanegu is-nodiadau drwy ddilyn yr un camau ag wrth ychwanegu paramedr. Efallai y bydd yn rhaid edrych ar ddogfennaeth y nodyn er mwyn cadarnhau fod yr is-nodyn yn cael ei gynnal.
 * VisualEditor - Template editing 5.png
 * colspan=2 |
 * Wedi i chi gwblhau eich gwaith, dewiswch "Gweithreder y newidiadau" i gau'r dialog a dychwelyd i'r golygydd.
 * 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 "".
 * VisualEditor - Template editing 6.png
 * colspan=2 |
 * You will see the template expand on the page after you click "". When you're ready save the page.
 * VisualEditor - Template editing 8.png
 * }
 * You will see the template expand on the page after you click "". When you're ready save the page.
 * VisualEditor - Template editing 8.png
 * }
 * }

Golygu fformwlâu mathemategol ac eitemau arbennig eraill
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.

Llwybrau byr ar y bysellfwrdd
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: