Help:VisualEditor/User guide/Citations-Full

The toolbar
center|1200px|alt= Screenshot of the VisualEditor toolbar

Editing an existing reference
{| cellpadding="15"
 * colspan=2 |
 * colspan=2 |

File:VisualEditor - Editing references 1.png |frameless|border|400px|center]] To edit an existing reference, click 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. Clicking on this icon will open a dialog where you can edit the reference. File:VisualEditor - Editing references 6.png |frameless|border|center|500px]] If what appears is the "" icon, clicking on it opens the Reference dialog, where you can edit the reference's contents.
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

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. File:VisualEditor - Editing References - Cite Web.png |frameless|border|center|400px]] If, instead of the "" icon (bookmark), what appears when you click on a reference is an icon for a standard template for citations, then clicking on that icon will take you directly to the template mini-editor dialog. File:VisualEditor - Editing references 5.png |frameless|border|center|500px]] 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. Click on "" when you're done.
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * border|center|150px
 * border|center|150px
 * border|center|150px
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Re-using an existing reference
File:VisualEditor Citoid Re-use.png |frameless|border|500px|center]] 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 "" item from the "" menu. File:VisualEditor - Editing references 18.png |frameless|border|500px|center]] In the <tvar|reftitle></> 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 "<tvar|pholder></>") to list only those references that include certain text.
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Adding a new reference
Clicking on the Cite menu opens a dialog box with three tabs: Automatic, Manual, and Re-use

Manual


There are two types of footnotes that can be added from the Manual tab - using a standard template, or using the basic template.

Using standard cite templates
File:VisualEditor - Editing References - Cite Pulldown.png |frameless|border|130px|center]] 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.) File:VisualEditor - Editing references - Cite book required fields.png |frameless|border|430px|center]] 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. File:VisualEditor - Editing references - Add parameter.png |frameless|border|230px|center]] To add more parameters, scroll down in the template mini-editor and click on the "<tvar|transadd></>" option.
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Click on "<tvar|diagsert></>" when you're done.

Using the "Basic" citation
File:VisualEditor - Editing references 20.png |frameless|border|500px|center]] Shown here is what you will see if you select the "<tvar|verftip></>" item. In the Reference editor, you can add your citation, including formatting.
 * colspan=2 |
 * colspan=2 |

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 "<tvar|verltip></>" tool.) In the Reference dialog, if you want to include a template in your new reference, click the <tvar|temptip></> icon (puzzle piece) in the "<tvar|toolsert></>" toolbar menu within the Reference editor. File:VisualEditor - Editing references 9.png |frameless|border|center|500px]] 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 |
 * border|center|300px
 * border|center|300px
 * border|center|300px
 * colspan=2 |
 * colspan=2 |

After you're done editing your new template, click on "<tvar|actiapply></>" to return to the Reference editor, and "<tvar|actiapply></>" again to return to the page you're editing. 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.
 * colspan=2 |
 * border|center|300px
 * border|center|300px
 * border|center|300px

Place the cursor where you want to display the references list (usually at the bottom of the page), open the "<tvar|insert></>" menu and click the "<tvar|reflistip></>" 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.
 * colspan=2 |
 * border|center|500px
 * border|center|500px
 * border|center|500px

The final step in the References list dialog is to click "<tvar|diaginsert></>".


 * }

Adding a citation outside of a footnote
How to create a ==Further reading== list using Insert > Template > Cite book (etc.)