Help:VisualEditor/User guide/cy

 If you would like to try the visual editor without editing an article, [ here is a page] where you can freely test it. &#32; You don't need an account to use the visual editor on that page.

Bwrw iddi: bar offer y Golygydd Gweledol
center|950px|alt= Screenshot of the visual editor's toolbar

border|950px|center

Golygu cyfeiriadau
{| 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.
 * border|center|200px
 * 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
 * border|center|200px
 * colspan=2 |
 * border|center|100px
 * In the third system, you again start by pressing 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
 * border|center|400px
 * colspan=2 |
 * border|center|100px
 * In the third system, you again start by pressing 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
 * border|center|400px
 * colspan=2 |
 * In the third system, you again start by pressing 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
 * border|center|400px
 * colspan=2 |
 * colspan=2 |

Golygu cyfeiriad

 * To edit an existing reference, press on it where it appears in the text (usually as a bracketed number). You will see either a "" icon (bookmark) or an icon (and name) for the template that was used to create this reference. In either case, pressing on the "Edit" button will open a dialog where you can edit the reference.
 * border|400px|center
 * colspan=2 |
 * For the "" icon, pressing "Edit" opens the Reference dialog. To start changing the reference information, press on it.
 * colspan=2 |
 * For the "" icon, pressing "Edit" opens the Reference dialog. To start changing the reference information, press on it.
 * For the "" icon, pressing "Edit" opens the Reference dialog. To start changing the reference information, press on it.

Mae nifer o wicis yn defnyddio nodiadau i fformadu cyfeiriadau yn ôl patrwm arbennig. Mi wnewch chi sylwi ar hyn wrth i chi olygu cyfeiriad sy'n troi yn las pan 'da chi'n ei ddewis.

If a template was used and you press on the reference information, then the icon (puzzle piece) will appear with some information. Press on the "edit" button to edit the content of the template in the template mini-editor dialog.
 * border|center|400px
 * colspan=2 |
 * If what appears when you press on a reference is an icon for a standard template for citations (an example is at right), then pressing "Edit" will open the template mini-editor dialog.
 * border|center|400px
 * 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, press on "" at the bottom of the mini-editor.
 * border|center|400px
 * colspan=2 |
 * Cliciwch ar "" pan fyddwch yn barod.
 * border|center|150px
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * Cliciwch ar "" pan fyddwch yn barod.
 * border|center|150px
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Ailddefnyddio cyfeiriad

 * 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.

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.

(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.)
 * border|200px|center
 * colspan=2 |
 * Os oes llawer o gyfeiriadau i gael, gallwch ddefnyddio'r bar chwilio (a'r label "At beth ydych chi am gyfeirio?" arno) i ddangos dim ond y cyfeiriadau sy'n cyfateb i ryw destun benodol.
 * border|400px|center
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Ychwanegu cyfeiriad newydd

 * I ychwanegu cyfeiriad newydd, rhowch eich cyrchwr yn y man lle caiff ei ychwanegu. Yna cliciwch ar yr eicon "Cyfeirnod" (llun llyfrnod) yn y bar offer.
 * border|200px|center
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Using the "Basic" citation

 * Shown here is what you will see if you select the basic references item. Gwaith y golygydd cyfeiriadau yw ychwanegu ffynhonnell, ei golygu a'i fformatio.
 * Shown here is what you will see if you select the basic references item. Gwaith y golygydd cyfeiriadau yw ychwanegu ffynhonnell, ei golygu a'i fformatio.

Gallwch ychwanegu'r cyfeiriad at ryw grŵp o gyfeiriadau. Mae grŵp o gyfeiriadau yn cael eu dangos gyda'i gilydd drwy ddefnyddio'r teclyn "Rhestru cyfeiriadau".
 * border|400px|center
 * colspan=2 |
 * Os ydych yn ychwanegu cyfeiriad newydd ac am ddefnyddio nodyn ynddo, cliciwch yr eicon Trawsgynnwys (darn jigso) ym mar offer y golygydd cyfeiriadau.
 * border|center|200px
 * colspan=2 |
 * Yna, chwiliwch am y nodyn pwrpasol, ychwanegwch ef a'i olygu yn ôl eich gofyn.
 * colspan=2 |
 * Yna, chwiliwch am y nodyn pwrpasol, ychwanegwch ef a'i olygu yn ôl eich gofyn.
 * Yna, chwiliwch am y nodyn pwrpasol, ychwanegwch ef a'i olygu yn ôl eich gofyn.
 * Yna, chwiliwch am y nodyn pwrpasol, ychwanegwch ef a'i olygu yn ôl eich gofyn.

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.
 * border|center|400px
 * colspan=2 |
 * 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.
 * 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.
 * 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.

Rhowch y cyrchwr yn y man yr ydych am ddangos y cyfeiriadau (ar waelod y dudalen fel arfer), a chliciwch yr eicon "Rhestr cyfeiriadau" (tri llyfr).
 * border|center|200px
 * colspan=2 |
 * Os wnaethoch osod cyfeiriadau mewn grwpiau, gallwch osod enw rhyw grŵp yn y dialog, a chaiff y cyfeiriadau sy'n perthyn i'r grŵp hwnnw eu dangos.
 * Os wnaethoch osod cyfeiriadau mewn grwpiau, gallwch osod enw rhyw grŵp yn y dialog, a chaiff y cyfeiriadau sy'n perthyn i'r grŵp hwnnw eu dangos.
 * Os wnaethoch osod cyfeiriadau mewn grwpiau, gallwch osod enw rhyw grŵp yn y dialog, a chaiff y cyfeiriadau sy'n perthyn i'r grŵp hwnnw eu dangos.

The final step in the References list dialog is to press "".
 * 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 .)
 * border|200px|center
 * colspan=2 |
 * Pressing 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.
 * border|430px|center
 * colspan=2 |
 * To add more parameters, scroll down in the template mini-editor and press on the "" option.
 * border|430px|center
 * colspan=2 |
 * To add more parameters, scroll down in the template mini-editor and press on the "" option.
 * To add more parameters, scroll down in the template mini-editor and press on the "" option.
 * To add more parameters, scroll down in the template mini-editor and press on the "" option.

Press on "" when you are done.
 * border|200px|center
 * }

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

Editing images

 * I ychwanegu delwedd newydd (neu gyfryngau eraill) i'r dudalen, dewisiwch "Cyfryngau" yn y fwydlen (llun mynydd).
 * border|200px|center
 * colspan=2 |
 * Mae dewis "" yn agor dialog sy'n chwilio'n otomatig drwy Gomin Wikimedia am ffeiliau cyfrwng sy'n berthnasol i'r dudalen rydych yn ei golygu.
 * colspan=2 |
 * Mae dewis "" yn agor dialog sy'n chwilio'n otomatig drwy Gomin Wikimedia am ffeiliau cyfrwng sy'n berthnasol i'r dudalen rydych yn ei golygu.
 * Mae dewis "" yn agor dialog sy'n chwilio'n otomatig drwy Gomin Wikimedia am ffeiliau cyfrwng sy'n berthnasol i'r dudalen rydych yn ei golygu.

Gallwch chwilio am gyfryngau eraill drwy newid y testun ym mlwch dialog y chwiliad.

Cliciwch ar fân-lun (bawd) i ddewis ffeil.

This places the image onto the page you are editing.
 * border|center|500px
 * colspan=2 |
 * Mae'r dialog ar gyfer cyfryngau'n caniatau i chi ychwanegu testun, a all gynnwys fformat arbennig neu ddolenni.
 * border|center|400px
 * 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.
 * border|center|400px
 * 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.
 * border|center|400px
 * colspan=2 |
 * Wedi i chi gwblhau eich gwaith, dewiswch "" i gau'r dialog a dychwelyd i'r golygydd.
 * border|center|150px
 * colspan=2 |
 * For an existing image, you can add or edit a caption or other settings by pressing on the image, then pressing on the "" icon that appears below the picture.
 * border|center|400px
 * colspan=2 |
 * Wedi i chi gwblhau eich gwaith, dewiswch "" i gau'r dialog a dychwelyd i'r golygydd.
 * border|center|150px
 * colspan=2 |
 * For an existing image, you can add or edit a caption or other settings by pressing on the image, then pressing 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 pressing on the image, then pressing on the "" icon that appears below the picture.
 * For an existing image, you can add or edit a caption or other settings by pressing on the image, then pressing on the "" icon that appears below the picture.
 * For an existing image, you can add or edit a caption or other settings by pressing on the image, then pressing on the "" icon that appears below the picture.

You can resize an existing image by pressing 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.
 * center|360px
 * }

Editing templates
The powerful MediaWiki template system lets you insert dynamic content, text from other pages, and much more. For a detailed explanation and examples, see the Templates help page.

In the VisualEditor you can search for a relevant template, add an invocation or transclusion on the page you’re editing and, if needed, add custom content using parameters.

Insert new template
{| cellpadding="15"
 * I ychwanegu nodyn newydd, rhowch eich cyrchwr yn y man lle caiff ei ychwanegu. Yna cliciwch ar yr eicon "Trawsgynnwys" (llun darn jigso) yn y bar offer. Then open the menu and select "[[File:OOjs_UI_icon_puzzle-ltr.svg]] ". Alternatively, type two curly brackets {{ to open the same dialog.
 * border|300px|center
 * Start typing the name of the template you want to insert. When you see it on the list, press on its name. Then press "".
 * VisualEditor_Template_Search.png
 * colspan=2 |
 * You can also edit a template that’s already on a page. When you select the template you want to edit, it turns blue, and a box appears displaying "[[File:OOjs_UI_icon_puzzle-ltr.svg]] ". Then select the "" link or double click on the template itself to open the template.
 * VisualEditor_Template_Context_Menu.png
 * colspan=2 |
 * Some templates are not visible to someone reading a page. In the visual editor, such hidden templates are still shown so that you can click and edit or delete them. The name of the template will be shown next to the puzzle icon and both will be grayed out.
 * VisualEditor_Hidden_Templates.png
 * VisualEditor_Template_Context_Menu.png
 * colspan=2 |
 * Some templates are not visible to someone reading a page. In the visual editor, such hidden templates are still shown so that you can click and edit or delete them. The name of the template will be shown next to the puzzle icon and both will be grayed out.
 * VisualEditor_Hidden_Templates.png
 * Some templates are not visible to someone reading a page. In the visual editor, such hidden templates are still shown so that you can click and edit or delete them. The name of the template will be shown next to the puzzle icon and both will be grayed out.
 * VisualEditor_Hidden_Templates.png


 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Template parameters

 * You’ll see this dialog box when you’re adding a new template or editing one already in place. What you see in the box depends on whether the template in question contains, helpful metadata added by other editors to make it easier to edit templates in the Visual Editor.
 * You’ll see this dialog box when you’re adding a new template or editing one already in place. What you see in the box depends on whether the template in question contains, helpful metadata added by other editors to make it easier to edit templates in the Visual Editor.

When a template contains TemplateData, the VisualEditor can use it to present annotated fields for you to fill in.

For templates that have some community-provided TemplateData, the VisualEditor displays a list of the named parameters and, often, descriptions and instructions explaining the meaning and required format for each parameter’s values.
 * Template_parameters_in_VisualEditor.png
 * colspan="2" |
 * For an existing template, you can edit the parameters shown in the dialog, and you can add parameters by pressing "", at the very bottom of the dialog.
 * Template_parameter_list_in_VE_(old_UI).png
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Adding undocumented parameters

 * If you’re inserting or editing a template whose author hasn’t laid out its parameters in TemplateData, it has what we call “undocumented” or “unnamed parameters”. In these cases, you should consult the page for the template itself. There you can learn how to correctly employ and work with all of the template’s parameters. This includes learning the exact names of the parameters as written by the template author.
 * If you’re inserting or editing a template whose author hasn’t laid out its parameters in TemplateData, it has what we call “undocumented” or “unnamed parameters”. In these cases, you should consult the page for the template itself. There you can learn how to correctly employ and work with all of the template’s parameters. This includes learning the exact names of the parameters as written by the template author.

If you find in the documentation that the template expects parameters without have names, fill in numbers as placeholders for the parameter names using the undocumented parameter input, then add next to the values you want to provide as you normally would.

Example: * first unnamed parameter: “1” * first unnamed parameter’s value: “en_US” * second unnamed parameter: “2” * second unnamed parameter’s value: “yes”

If you accidentally include nonexistent, misspelled or erroneous parameters, the values you enter for those parameters won’t show up on the page you’re editing.
 * Template_without_TemplateData_in_VisualEditor_(old_UI).png
 * colspan=2 |
 * colspan="2" |
 * colspan="2" |
 * colspan="2" |

Autogenerated parameters

 * In this example, the template in question lacks TemplateData but it was possible to autogenerate the parameters. This means that the undocumented parameters have already been added for you, but the names may not be easily understandable and the dialog cannot display any directions or descriptions. As a result the dialog box provides a link to the template’s documentation, which should help you deduce and fill in the template’s various parameters.
 * Autogenerated_parameters_in_the_VisualEditor.png
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Editing multi-part template content

 * During editing, you may open template content consisting of multiple templates or a single template linked to some wikitext. This differs from the nested templates described below. In this case, the templates are better visualized as being stacked or connected.
 * During editing, you may open template content consisting of multiple templates or a single template linked to some wikitext. This differs from the nested templates described below. In this case, the templates are better visualized as being stacked or connected.

This content often contains “unbalanced templates,” templates which are incomplete on their own and need to be paired with some wikitext or another template in order to function.
 * Multi-part_template_content_in_the_VisualEditor.png
 * colspan=2 |
 * colspan="2" |
 * colspan="2" |
 * colspan="2" |

Nested templates

 * Templates can include other templates as the value for parameters. You’ll recognize it when you see a parameter whose value contains the double curly braces denoting a template.
 * Templates can include other templates as the value for parameters. You’ll recognize it when you see a parameter whose value contains the double curly braces denoting a template.

The VisualEditor can’t present this template within a template (a nested template) using the editor’s easy-to-use interface, so if you want to nest a template yourself, you’ll need to understand how to add the template by hand in wikitext into the appropriate parameter field.
 * Embedded_template_in_VisualEditor.png
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Completing your edit

 * Wedi i chi gwblhau'r Nodyn (template), dewiswch "" i gau'r ddialog a dychwelyd i'r golygydd. Then you can preview your edit and make sure it looks the way you want and expect.
 * Wedi i chi gwblhau'r Nodyn (template), dewiswch "" i gau'r ddialog a dychwelyd i'r golygydd. Then you can preview your edit and make sure it looks the way you want and expect.

You may also see an error message, which (like the other TemplateData mentioned above) is community-provided content and may vary in usefulness. You may need to consult the template’s own documentation to get to the bottom of some errors. If you’re still having trouble, consider posting about your problem on the template’s talk page.
 * border|center|150px
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Editing on mobile

 * When editing a template on a page using the VisualEditor on a mobile device, you’ll see that the sidebar starts out hidden. You can make it visible by pressing the “Show/hide options” button.
 * When editing a template on a page using the VisualEditor on a mobile device, you’ll see that the sidebar starts out hidden. You can make it visible by pressing the “Show/hide options” button.


 * VisualEditor_template_editing_on_mobile.png
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Substituting templates

 * When you insert a template in a wiki page, its content and appearance are reevaluated every time the page loads, based on the template code and the values of its parameters. This means if someone updates the code of a template, then every page which uses that template will also get updated when they publish.
 * When you insert a template in a wiki page, its content and appearance are reevaluated every time the page loads, based on the template code and the values of its parameters. This means if someone updates the code of a template, then every page which uses that template will also get updated when they publish.

There’s another, much less common way to use templates, though, and that’s to substitute a template. Doing this permanently includes the template content just as it appears at the moment you insert it. It will not update if the template code is later changed.

Most users won’t ever need to resort to substitution. Substitution is typically only useful when you need to capture the exact appearance of one version of a template, such as when content is under development and needs evaluation.

To substitute a template in the VisualEditor, insert a template using the name syntax. (Autocomplete doesn’t work in this case.) Then press the blue “Add template” button.

When you’re finished, press “Insert”, which will insert the template content as you see it.
 * SUBST_in_VE.png
 * }

Llwybrau byr ar y bysellfwrdd
Mae llawer o olygwyr yn gyfarwydd ag ysgrifennu cystrawen wici yn uniongyrchol, yn enwedig testun praff, italeiddio a chysylltau wici. Mae llwybrau byr yn ein galluogi i wneud gwaith fformatio tebyg i hyn yn gyflym, heb orfod clicio botymau'r bar offer. Mae llwybrau byr cyffredinol, a'r rhai a ddefnyddir mewn teclynau golygu eraill, hefyd yn gweithio yn y Golygydd Gweledol: