Jump to content

Help:VisualEditor/User guide/Citations-Full/cy

From mediawiki.org
This page is a translated version of the page Help:VisualEditor/User guide/Citations-Full and the translation is 0% complete.
PD Sylwch: Drwy olygu'r ddalen hon, rydych yn cytuno i ryddhau eich cyfraniad dan drwydded CC0. Gweler Dalennau cymorth y Parth Cyhoeddus am ragor o gymorth. PD

Overview

This page is a guide to adding footnotes (also called "citations", "inline citations" or "references") when both the VisualEditor's citation tool and the citoid service has been configured for your wiki.

The citoid service automatically creates a footnote when you give it a URL, DOI, ISBN, PMID, PMCID, QID, title, citation. It has a companion extension, Citoid, which uses VisualEditor's citation tool and citation templates.

The toolbar

The VisualEditor toolbar appears at the top of the screen when you begin editing. It includes the icons that will be needed in order to add citations to the page.

Prerequisites

Both the VisualEditor's citation tool and citoid should be enabled in your wiki. If neither citation tool nor the citoid service is configured, then a "Cyfeirio" dropdown menu will be available in the toolbar. If this is what you see, you are on the wrong help page. See the main user guide instead, which has instructions on using references in this system.

If either the citation tool or the citoid service are enabled, then the citation tool's "Cyfeirio" dropdown menu will be replaced by the the "Cyfeirio" button. This is what you should see.

Click on the "Cyfeirio" button. If the Awtomatig tab is disabled, you are accessing the wrong help page. Instead see Help:VisualEditor/User_guide/Citation templates

Add a new reference

Click on the "Cyfeirio" button in the toolbar. This will open a dialog box with three tabs: Awtomatig, Wrth law, and Ailddefnyddio.

(If the Awtomatig tab is disabled, this means citoid is not enabled. If the Manual tab is disabled, this means the citation tool is not enabled. Instructions on how to enable the citation tool are available at VisualEditor/Citation tool. Instructions on how to configure citoid are available at Citoid/Enabling Citoid on your wiki.)

Awtomatig


In the automatic field you can enter information about the book or other source you want to cite, and a citation template will be automatically generated. You can input a URL (website address), a unique identifier like an ISBN for books, DOI (Digital Object Identifier), PubMed ID, PMCID (including the PMC prefix), or QID (from Wikidata).

You can also type in a citation or the title of the work. You should be as specific as possible, as the citoid service's search feature returns only the first result from both WorldCat (which mostly contains books) and Crossref (which mostly contains academic papers), in a random order.

Wrth law

There are two ways to add footnotes from the Wrth law tab: using a standard citation template, or using the "Basic" form.

Using standard cite templates


Your local wiki may have added extra citation templates to this menu. This offers quick access to the most frequently used citation templates. (Instructions for adding extra citation templates to your local wiki are available at VisualEditor/Citation tool.)

Clicking on a template item such as " Book" will take you into the template editor for that citation template. Required information fields will be marked with an asterisk.

While some recommended parameters will also be shown, not all of them are required. You can remove them from the main dialog by unchecking the checkbox in the sidebar. If a parameter’s checkbox is greyed out and not clickable, that field is required and can't be removed. To add an entirely new field, use the shortcut Ctrl+⇧ Shift+D and then click on "Add undocumented parameter" at the bottom of the editor.


Click on "Mewnosod" when you're done.

Using the "Basic" citation


Clicking on "Cyfeiriad at ffynhonnell" will open the basic Reference editor, where you can type your citation, including formatting. You can also use the Basic form to insert a citation template that is not in the list of frequently used citation templates (see next).

You can make the reference belong to a given group, although normally this is left blank. (This option is used to display different groups of references separately with the "Rhestr cyfeiriadau" tool.)


In the Reference dialog, if you want to include a template in your new reference, click the "Nodyn" icon (puzzle piece) in the "Mewnosod" toolbar menu within the Reference editor.

Then, look for the template you want to use, add it and edit it as you would any other template.

After you're done editing your new template, click on "Gweithredu'r newidiadau" to return to the Reference editor, then "Gweithredu'r newidiadau" again to return to the page you're editing.

Re-use an existing reference

If the page already contains a citation that applies to the text you want to source, then you can choose to re-use the 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 "Cyfeirio" button in the toolbar, and click on the "Ail-ddefnyddio" tab from "Ychwanegu dyfyniad" dialog.

In the "Ail-ddefnyddio" tab, 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 "At ba ffynhonnell yr hoffech gyfeirio?") to list only those references that include certain text.


Edit an existing reference

To edit an existing reference, click on it where it appears in the text (usually as a bracketed number). You will see either an icon (and name) for the template that was used to create this reference, or a "Cyfeiriad at ffynhonnell" icon (bookmark). If you see the icon for the template, clicking on edit button will will take you directly to the template editor dialog.

Note Note: It is not possible to select and edit a footnote by clicking on it in the References list. Clicking on the References list will highlight the whole list and open the References list editor.


If, instead of the template icon, you see the "Cyfeiriad at ffynhonnell" icon (bookmark), clicking on the edit button will open a dialog where you can edit the reference. Clicking on this icon will open a dialog where you can edit the reference.

If you open a "Cyfeiriad at ffynhonnell" reference and it only contains a link, you may see any option to Trosi the reference. This will attempt to use the Automatic feature to replace the simple reference with a fully formatted reference.

If what appears is the "Cyfeiriad at ffynhonnell" icon, clicking on the Edit button opens the Reference dialog, where you can edit the reference's contents.

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 "Nodyn" icon (puzzle piece) will appear. Click on that icon to edit the content of the template in the template editor dialog. See the Using standard cite templates for further information about editing templates.


Click on "Gweithredu'r newidiadau" when you're done.

Position the list of references

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 "Mewnosod" menu and click the "Rhestr cyfeiriadau" 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 "Mewnosod".

Add a citation outside of a footnote

You can add citation templates directly into the article, without putting them in footnotes (this can be helpful if you want to create, say, a "Further Reading" list). The citoid service will not automatically fill in these citation templates.

Place your cursor where you want the citation template to appear (if you are creating a "Further Reading" list, this may be after a bullet point), then from the "Mewnosod" menu, click on the "Nodyn" icon (a puzzle piece).

Then, type the name (or part of the name) of the citation template you want to use, select it, click on "Add template", and edit it as you would any other template.

After you're done editing the template, click on "Mewnosod" to return to the Reference editor, and "Mewnosod" again to return to the page you're editing (if you are creating a "Further Reading" list, you will have to repeat the steps above at every bullet point of the list).

See also