Welcome to the Virtual Education Wiki ~ Open Education Wiki

Help:VisualEditor User guide

From Virtual Education Wiki
Revision as of 21:35, 7 March 2023 by Pbacsich (talk | contribs) (copied from https://www.mediawiki.org/wiki/Help:VisualEditor/User_guide)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<languages />

Template:PD Help Page

Template:VisualEditor Portal

Template:Ombox


<translate> Opening the visual editor</translate>

<translate> To edit a page using the visual editor, press on the "<tvar name=edit>Template:Int</tvar>" tab at the top of the page.</translate>

<translate> It may take a few seconds for the page to open for editing, and longer if the page is very long.

Pressing on the "<tvar name=editsource>Template:Int</tvar>" tab will open the classic wikitext source editor.</translate>

[[Template:Lm|frameless|border|center|300px]]

<translate> You can also open the visual editor by pressing on the "<tvar name=editsection>Template:Int</tvar>" link on each section.</translate> [[Template:Lm|frameless|border|center|300px]]

<translate> Getting started: the visual editor's toolbar</translate>

[[Template:Lm|frameless|center|950px|alt=<translate> Screenshot of the visual editor's toolbar</translate>]]
<translate> The visual editor's toolbar appears at the top of the screen when you begin editing. It includes some familiar icons:</translate>

<translate> <tvar name=undo>Template:Int</tvar> and <tvar name=redo>Template:Int</tvar> the changes you have made.</translate>

[[Template:Lm|frameless|border|300px|center]] <translate> Headings pull-down menu: allows you to change how the paragraph is formatted. To change the style of a paragraph, put your cursor in the paragraph and select an item in this menu (you don't have to highlight any text). Section titles are formatted "<tvar name=format>Template:Int</tvar>", and subsections are "<tvar name=subheading2>Template:Int</tvar>", "<tvar name=subheading3>Template:Int</tvar>", and so on.</translate> <translate> The normal format for text is "<tvar name=format>Template:Int</tvar>".</translate>

[[Template:Lm|frameless|border|300px|center]]

<translate> Formatting: Pressing the "A" opens a menu. </translate>

  • <translate> The "<tvar name=bold>Template:Int</tvar>" item (B) bolds the selected text.</translate>
  • <translate> The "<tvar name=italic>Template:Int</tvar>" item (I) italicizes the selected text.</translate>
  • <translate> The "<tvar name=superscript>Template:Int</tvar>" item (x2) causes the selected text to appear smaller than surrounding text and to be slightly higher than the surrounding text.</translate>
  • <translate> The "<tvar name=subscript>Template:Int</tvar>" item (x2) causes the selected text to appear smaller than surrounding text and to be slightly lower than the surrounding text.</translate>
  • <translate> The "<tvar name=strikethrough>Template:Int</tvar>" item (S) adds a solid bar through the selected text.</translate>
  • <translate> The "<tvar name=code>Template:Int</tvar>" item (a set of curly brackets: {}) changes the font of the selected text to a monospaced font, which sets it apart from surrounding (proportionally spaced) text.</translate>
  • <translate> The "<tvar name=underline>Template:Int</tvar>" item (U) adds a solid line beneath the selected text.</translate>
  • <translate> The "<tvar name=language>Template:Int</tvar>" item (<tvar name=languageletters>文A</tvar>) allows you to label the language (for example, Japanese) and direction (for example, right-to-left) of the selected text.</translate>
  • <translate> The final item (<tvar name=clearicon>File:VisualEditor MediaWiki theme clear icon bitmap.png</tvar>), called "<tvar name=clearbutton>Template:Int</tvar>", removes all character formatting from the selected text, including links.</translate>

<translate> If you have not selected any text, then when you press the "A" to open the menu, and then select an item, that formatting will apply to the text that you start typing, from wherever your cursor is located.</translate>


<translate> Linking tool: The chain icon is the [[<tvar name=1>#Editing links</tvar>|linking tool]]. Pressing on it (usually after selecting some text) opens the [[<tvar name=1>#Editing links</tvar>|link dialog]].</translate>

[[Template:Lm|frameless|border|130px|center]] <translate> <tvar name=cite>Template:Int</tvar> menu: The "<tvar name=cite>Template:Int</tvar>" menu is used to add inline citations (also called "footnotes" or "references"). All projects have access to basic reference formatting and the ability to reuse citations by using this menu.</translate>

[[Template:Lm|frameless|border|150px|center]] <translate> <tvar name=1>Template:Int</tvar> button:</translate> <translate> If the <tvar name=1>Template:Ll</tvar> service and/or citation tool is enabled on your wiki, you will see a <tvar name=citoid>Template:Int</tvar> button instead of a <tvar name=cite>Template:Int</tvar> menu.</translate>

<translate> Instructions for adding local citation templates to the "<tvar name=cite>Template:Int</tvar>" tab at a specific wiki are available at <tvar name=1>Template:Ll</tvar>.)

Instructions for enabling the <tvar name=2>Template:Int</tvar> tab are available at [[<tvar name=1>Special:MyLanguage/Citoid/Enabling Citoid on your wiki</tvar>|Enabling Citoid on your wiki]]

The citoid service tries to fill out citation templates automatically. </translate>


[[Template:Lm|frameless|border|300px|center]] <translate> Lists and indentation: The first two items allow you to format text as either a "<tvar name=bullet>Template:Int</tvar>" or a "<tvar name=numbered>Template:Int</tvar>". The last two items allow you to decrease or increase the indentation level of list items.</translate>

[[Template:Lm|frameless|border|250px|center]] <translate> <tvar name=toolbar>Template:Int</tvar>: The "<tvar name=toolbar>Template:Int</tvar>" menu may be different on some projects. Below is a list of all options that may appear.</translate>
  • <translate> The "<tvar name=media>Template:Int</tvar>" icon (a picture of mountains) opens the [[<tvar name=1>#Editing images and other media files</tvar>|media dialog]].</translate>
  • <translate> The "<tvar name=template>Template:Int</tvar>" icon (a puzzle piece) allows you to [[<tvar name=1>#Editing templates</tvar>|edit templates]].</translate>
  • <translate> The "Table" item allows you to insert a table.</translate>
  • <translate> The "<tvar name=comment>Template:Int</tvar>" item (a speech balloon) allows you to insert comments that are not visible to readers; these comments can be seen only when in edit mode, where they are indicated by an exclamation mark icon. In edit mode, pressing on the exclamation mark icon allows you to edit or delete the comment.</translate>
  • <translate> The "<tvar name=hiero-title>Template:Int</tvar>" icon (an ankh symbol - ☥) allows you to enter the hieroglyphics inserter. (See below.)</translate>
  • <translate> The "Code block" item allows you to insert code.</translate>
  • <translate> The "Musical notation" item allows you to insert a musical notation.</translate>
  • <translate> The "<tvar name=inspector>Template:Int</tvar>" icon (a set of photos) allows you to insert a gallery to the page.</translate>
  • <translate> The "<tvar name=formula-title>Template:Int</tvar>" icon (Σ) opens the [[<tvar name=1>#Editing mathematical formulae</tvar>|formula inserter dialog]].</translate>
  • <translate> The "Graph" item allows you to insert a graph.</translate>
  • <translate> The "<tvar name=signature>Template:Int</tvar>" item allows you to insert a signature that you use on the project.</translate> <translate> It will be greyed out (not selectable) when you are editing a type of page (a "namespace"), such as an article, where signatures should not be inserted.</translate>
  • <translate> The "<tvar name=referencelist>Template:Int</tvar>" icon (three books) opens a dialog in which you can specify where references will be displayed to the reader. Usually this needs to be done only once on a page.</translate>

<translate> Special character insertion: The "<tvar name=special>Template:Int</tvar>" (Ω) icon is next to the "<tvar name=toolbar>Template:Int</tvar>" menu. When pressed, it displays a dialog showing many special characters. By pressing on a specific character, you place it into the text. These special characters include some standard symbols, diacritics, and mathematical symbols.</translate> <translate> (This list may be customized locally. See <tvar name=1>Template:Ll</tvar> for instructions.)</translate>
[[Template:Lm|frameless|border|950px|center]]

<translate> The Edit notices button displays any notices for the page.</translate>

[[Template:Lm|frameless|400px|border|center]] <translate> The <tvar name=1>Template:Int</tvar> menu is to the left of the <tvar name=2>Template:Int</tvar> button and the <tvar name=3>Template:Int</tvar> menu. On this menu there is a button to open an <tvar name=4>Template:Int</tvar> dialog with the following (left side) tabs:</translate>
  • <translate> <tvar name=1>[[#Editing categories|Template:Int]]</tvar> allows you to add categories to this page and to adjust how the page is sorted, when displayed within a category by setting a different index to sort with.</translate>
  • <translate> <tvar name=1>[[#Editing page settings|Template:Int]]</tvar> allows you to make the page a redirect and adjust options of this redirect, to adjust settings regarding the displaying of the Table of Contents, to disable the edit links next to each heading, and to define the page as a disambiguation page.</translate>
  • <translate> <tvar name=1>Template:Int</tvar> allows you to adjust the settings regarding indexation of the page by search engines, showing a tab to add a new section, and the displayed title.</translate>
  • <translate> <tvar name=language>Template:Int</tvar> shows a list of pages in other languages that are linked to that page.</translate>
  • <translate> <tvar name=1>Template:Int</tvar> shows a list of links to each template used on this page.</translate>

<translate> The tabs of the <tvar name=1>Template:Int</tvar> dialog are also displayed in the <tvar name=2>Template:Int</tvar> menu and can be opened by clicking on it.</translate> <translate> Furthermore the <tvar name=2>Template:Int</tvar> menu contains the items <tvar name=3>Template:Int</tvar> or <tvar name=4>Template:Int</tvar> and the item <tvar name=5>[[Special:MyLanguage/Help:VisualEditor/User guide/Find and replace|Template:Int]]</tvar>, which opens a bar, where you can insert words or regular expressions you are searching for and those to replace them with, together with several buttons for options.</translate>


<translate> The <tvar name=1>Template:Int</tvar> button is next to the <tvar name=2>Template:Int</tvar> button. It allows you to switch to the wikitext editor.</translate>

<translate> Publishing changes</translate>

<translate> When you are finished editing, press the blue "<tvar name=save>Template:Int</tvar>" button in the toolbar. If you have made no changes, the button will be disabled (grayed out).</translate> <translate> To cancel all your editing changes, close your browser window, or press the "<tvar name=view>Template:Int</tvar>" tab above the edit toolbar.</translate> [[Template:Lm|frameless|border|300px|center]]

<translate> Pressing the blue "<tvar name=save>Template:Int</tvar>" button opens a dialog. You can then enter a brief summary of your actions, mark your edit as minor, and add the page to your watchlist. The box for the summary is the equivalent of the <tvar name=summary>Template:Int</tvar> field in the wikitext editor.</translate>

<translate> You can also review your changes using the "<tvar name=review>Template:Int</tvar>" button to confirm that they will function as intended before saving your changes. This is similar to the "<tvar name=showdiff>Template:Int</tvar>" button in the wikitext editor.

The "<tvar name=cancelsave>Template:Int</tvar>" button returns you to the page you were editing. You can publish all of your changes later. </translate>

[[Template:Lm|frameless|border|center|500px]]

Template:Anchor

<translate> Editing links</translate>

<translate> Links can be added through the "<tvar name=annotation>Template:Int</tvar>" icon (links in a chain) in the toolbar, or by using the shortcut Template:Key press (or Template:Key press on a Mac).</translate>

<translate> If you select (highlight) text and then press the "<tvar name=annotation>Template:Int</tvar>" button, that text will be used in creating the link. For a link that involves only one word, you can either select that word or just put the cursor within that word.</translate>


[[Template:Lm|frameless|border|center|400px]] <translate> When you use either the button or the shortcut, a dialog will open in which you may type the link.</translate>

<translate> The link tool will try to help with internal links by searching for likely matches.</translate> <translate> Once you have entered or selected the link, you complete the linking process by pressing Template:Key press or by pressing the "<tvar name=dialogdone>Template:Int</tvar>" button. Your link will immediately appear on the page, but as with other changes to the page, it will not be published until you publish the entire page.</translate>


[[Template:Lm|frameless|border|400px|center]] <translate> To link to a web page on another website, the process is similar: Choose the "<tvar name=1>Template:Int</tvar>" tab, and enter a URL in the box.</translate>

[[Template:Lm|frameless|border|400px|center]] <translate> External links without labels look like this: [1].</translate> <translate> You can add these by placing your cursor away from any word (e.g., after a space).</translate> <translate> Open the link tool by pressing on the button or pressing the shortcut keys.</translate> <translate> Type the URL in the box, and press the "<tvar name=dialogdone>Template:Int</tvar>" button to insert the link.</translate>

[[Template:Lm|frameless|border|400px|center]] <translate> To change or remove an existing link, press within the text for that link, then press the "<tvar name=annotation>Template:Int</tvar>" icon that appears near it. The dialog will appear, for editing. You can also get to the dialog with the Template:Key press keyboard shortcut.</translate> <translate> When a link is selected, it appears as blue framed.</translate>

<translate> In the link editing dialog, you can then change where the link goes. You can also remove the link entirely by pressing the "<tvar name=remove>Template:Int</tvar>" button in the upper right corner of the dialog.</translate> <translate> You can also open the link's target in another window by pressing on the copy of the link in the dialog box. (You might want do this to check if an external link is valid.)</translate>

<translate> If you want to exit the link label (the text displayed as a link) or continue to write after this link, you can press Template:Key press: </translate>

  • <translate> Pressing it once will escape the link editing dialog and put your cursor at the end of the element linked (blue framed, to edit this element)</translate>
  • <translate> Pressing it twice will put the cursor after the element linked, ready to type the rest of your text.</translate>

<translate> To edit the link label of an existing link, press within the link label and type the new one.</translate> <translate> But if you want to replace the entire label, please note:</translate>

  • <translate> If you have selected (highlighted) the entire link label, the link will be deleted by typing any key.</translate>
  • <translate> To edit the link label directly without deleting it, put the cursor within that link label, use the backspace and delete keys (no more than necessary), and a narrow blue link area will remain there.</translate> <translate> Now you may type in the new label for the kept link.</translate>
  • <translate> You can also [[<tvar name=Advanced>Special:MyLanguage/Help:VisualEditor/User guide/Links</tvar>|link to categories, files and more]].</translate>

Template:Anchor

<translate> Editing references</translate>

Template:Further

<translate>

Determining which system is in place

</translate>

<translate> Your wiki may use one of three footnote systems.</translate> <translate> The one shown on the right is the simplest system, where the "<tvar name=cite>Template:Int</tvar>" menu does not include any citation templates.</translate> <translate> If your wiki uses this system, then everything you need to know about footnotes is on this page.</translate> [[Template:Lm|frameless|border|center|200px]]

[[Template:Lm|frameless|border|center|100px]]
<translate> In the second system, you again start by pressing the <tvar name=1>Template:Int</tvar> button.</translate> <translate> Then a dialog box opens, which includes several popular citation templates set up for quick access in the "<tvar name=1>Template:Int</tvar>" tab.</translate> <translate> If your wiki uses this system, then you will find more details at <tvar name=help>Template:Ll</tvar></translate> [[Template:Lm|frameless|border|center|200px]]

<translate> In the third system, you again start by pressing the <tvar name=1>Template:Int</tvar> button.</translate> <translate> Then a dialog box opens, which includes an automatic citation process using the citoid service under the Automatic tab.</translate> <translate> If your wiki uses this system, you will find more details at <tvar name=help>Template:Ll</tvar></translate> [[Template:Lm|frameless|border|center|400px]]

<translate>

Editing an existing reference

</translate>

<translate> To edit an existing reference, press on it where it appears in the text (usually as a bracketed number). You will see either a "<tvar name=1>Template:Int</tvar>" icon (bookmark) or an icon (and name) for the template that was used to create this reference. In either case, pressing on the "<tvar name=2>Template:Int</tvar>" button will open a dialog where you can edit the reference.</translate> [[Template:Lm|frameless|border|400px|center]]

<translate> For the "<tvar name=1>Template:Int</tvar>" icon, pressing "<tvar name=2>Template:Int</tvar>" opens the reference dialog. To start changing the reference information, press on it.</translate>

<translate> Many wikis use templates to format references. If a template is used in your reference, then when you move your pointer over the reference information, all the information in that field will be highlighted.

If a template was used and you press on the reference information, then the <tvar name=1>Template:Int</tvar> icon (puzzle piece) will appear with some information. Press on the "<tvar name=2>Template:Int</tvar>" button to edit the content of the template in the template editor dialog.</translate>

[[Template:Lm|frameless|border|center|400px]]

<translate> 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 "<tvar name=1>Template:Int</tvar>" will open the template editor dialog.</translate> [[Template:Lm|frameless|border|center|400px]]

<translate> Inside the template 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 "<tvar name=add-param>Template:Int</tvar>" at the bottom of the editor.</translate> [[Template:Lm|frameless|border|center|400px]]

<translate> Press on "<tvar name=apply>Template:Int</tvar>" when you are done. </translate> [[Template:Lm|frameless|border|center|150px]]

<translate> Re-using an existing reference</translate>

<translate> 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.</translate>

<translate> 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 press on the "<tvar name=2>Template:Int</tvar>" item from the "<tvar name=1>Template:Int</tvar>" menu.

(Note: If your wiki has the second or third footnote system described above, you'll see a "<tvar name=1>Template:Int</tvar>" tab, in a dialog, instead of a "<tvar name=2>Template:Int</tvar>" item on the "<tvar name=3>Template:Int</tvar>" menu.) </translate>

[[Template:Lm|frameless|border|200px|center]]

<translate> In the <tvar name=1>Template:Int</tvar> 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 name=2>Template:Int</tvar>") to list only those references that include certain text.</translate> [[Template:Lm|frameless|border|400px|center]]

<translate> Adding a new reference</translate>

<translate> To add a citation using the "<tvar name=1>Template:Int</tvar>" menu, place your cursor where you want to add it in the text.</translate> <translate> Then click "<tvar name=1>Template:Int</tvar>".</translate> [[Template:Lm|frameless|border|200px|center]]

<translate> Using the "<tvar name=1>Template:Int</tvar>" citation</translate>

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

<translate> 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 name=referencelist>Template:Int</tvar>" tool.)</translate>

[[Template:Lm|frameless|border|400px|center]]

<translate> In the Reference dialog, if you want to include a citation template, or any other template, in your new reference, press the <tvar name=template>Template:Int</tvar> icon (puzzle piece) in the "<tvar name=insert>Template:Int</tvar>" toolbar menu within the Reference editor.</translate> [[Template:Lm|frameless|border|center|200px]]

<translate> Then, look for the template you want to use, add it and edit it as you would any other template. (See the [[<tvar name=1>#Editing templates</tvar>|Editing templates]] section, below, if you need more information about templates.)</translate>

<translate> After you are done editing your new template, press on "<tvar name=apply>Template:Int</tvar>" to return to the Reference editor, and "<tvar name=apply>Template:Int</tvar>" again to return to the page you are editing.</translate>

[[Template:Lm|frameless|border|center|400px]]

<translate> If there isn't already a list of references on the page (for example, if you are 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.</translate>

<translate> Place the cursor where you want to display the references list (usually at the bottom of the page), open the "<tvar name=insert>Template:Int</tvar>" menu and press the "<tvar name=referencelist>Template:Int</tvar>" icon (three books).</translate>

[[Template:Lm|frameless|border|center|200px]]

<translate> 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.</translate>

<translate> The final step in the References list dialog is to press "<tvar name=insert-button>Template:Int</tvar>".</translate>

[[Template:Lm|frameless|border|center|400px]]

<translate> Using standard cite templates</translate>

<translate> Your local wiki may have added extra citation templates to the "<tvar name=cite>Template:Int</tvar>" menu. If so, you have quick access to the most-used citation templates for your wiki.</translate> <translate> (Instructions for adding extra citation templates to your local wiki are available at <tvar name=1>Template:Ll</tvar>.)</translate> [[Template:Lm|frameless|border|200px|center]]

<translate> Pressing on a template icon such as "Cite book" will take you into the template 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.</translate> [[Template:Lm|frameless|border|430px|center]]

<translate> To add more parameters, scroll down in the template editor and press on the "<tvar name=add-param>Template:Int</tvar>" option.</translate>

<translate> Press on "<tvar name=insert-citation>Template:Int</tvar>" when you are done.</translate>

[[Template:Lm|frameless|border|200px|center]]

Template:Anchor

<translate> Editing images and other media files</translate>

<translate> Editing images</translate>

<translate> To add a new image (or another type of media file) to the page, press the "<tvar name=dialog>Template:Int</tvar>" icon (a picture of mountains) in the "<tvar name=toolbar>Template:Int</tvar>" menu. The image will be added wherever your cursor is.</translate> [[Template:Lm|frameless|border|200px|center]]

<translate> Pressing the "<tvar name=media>Template:Int</tvar>" icon opens a dialog that automatically searches Wikimedia Commons and your local wiki for media files related to the title of the page you are editing.</translate>

<translate> You can change the search by changing the text in the dialog's search box.

To choose a file, press on its thumbnail image.

This places the image onto the page you are editing. </translate>

[[Template:Lm|frameless|border|center|500px]]

<translate> 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.</translate> [[Template:Lm|frameless|border|center|400px]]

<translate> The media dialog also allows you to add alternative text captions, to help users who use screen readers, or who have disabled image display.</translate> [[Template:Lm|frameless|border|center|400px]]

<translate> You can also set various parameters for the image in the "<tvar name=advancedsettings>Template:Int</tvar>" window. These include the alignment, the type, and size of the image.</translate> [[Template:Lm|frameless|border|center|400px]]

<translate> When you are done, press "<tvar name=apply>Template:Int</tvar>" to close the dialog and return to editing the page.</translate> [[Template:Lm|frameless|border|center|150px]]

<translate> For an existing image, you can add or edit a caption or other settings by pressing on the image, then pressing on the "<tvar name=media>Template:Int</tvar>" icon that appears below the picture.</translate>

<translate> 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. </translate>

[[Template:Lm|frameless|center|360px]]

<translate> Uploading images</translate>

<translate> You can upload images from a tab in the media dialog, or by dragging and dropping a file into the editor, or by pasting an image from your clipboard.</translate> [[Template:Lm|frameless|border|400px|center]]

<translate> Press the "<tvar name=1>Template:Int</tvar>" tab and select an image from your computer.</translate> <translate> You can type the file name, or drag an image into the box.</translate> <translate> If you dragged and dropped an image directly into the editor, or pasted one from your clipboard, this tab will open automatically.</translate> [[Template:Lm|frameless|400px|center]]

<translate> You need to describe the image and add categories to it so that other people can find it.</translate> [[Template:Lm|frameless|400px|center]]

<translate> The image will be inserted into the page when you are done.</translate> [[Template:Lm|frameless|200px|center]]

<translate> Editing media galleries</translate>

<translate> To add a new gallery, press the "<tvar name=gallery>Template:Int</tvar>" icon (a set of photos) on the "<tvar name=toolbar>Template:Int</tvar>" menu. (If you don't see this icon on that menu, then your local wiki has decided to delay implementing this functionality in the visual editor.) </translate> [[Template:Lm|frameless|border|150px|center]]

<translate> To edit an existing gallery in the visual editor, press that gallery. Then, near the bottom of the gallery, press the gallery icon (a set of photos). This brings up the gallery editor, with the full list of images included in the gallery.</translate> [[Template:Lm|frameless|border|center|500px]]
<translate> The gallery editor is currently a simple box that allows you to edit existing galleries using wikitext markup. To add a new image to an existing gallery, type the file name, followed by a bar (<tvar name=1>|</tvar>) and the caption for that image. You must put each image in the gallery on its own line.</translate> <translate> You can also edit this list to remove or rearrange images or to change captions.</translate>

<translate> When you press the "<tvar name=1>Template:Int</tvar>" button, you will exit the gallery editor. You should then see your changes, with the gallery as it will now appear to readers.

Remember that exiting the gallery editor does not publish your changes. As with other changes made using the visual editor, you must publish the entire page in order to publish your work.</translate>

[[Template:Lm|frameless|border|center|400px]]

Template:Anchor

<translate> Editing templates</translate>

<translate> 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 [[<tvar name=1>Special:MyLanguage/Help:Templates</tvar>|Templates help page]].

In the VisualEditor you can search for a relevant template, add an invocation or [[<tvar name=1>Special:MyLanguage/Manual:Glossary#Transclusion</tvar>|transclusion]] on the page you’re editing and, if needed, add custom content using [[<tvar name=2>Special:MyLanguage/Manual:Glossary#Parameter</tvar>|parameters]].

Insert new template

</translate>

<translate> To add a template to a page, place your cursor at the position on the page where you want the template to be inserted.</translate> <translate> Then open the <tvar name=1>Template:Int</tvar> menu and select "<tvar name=2>File:OOjs UI icon puzzle-ltr.svg Template:Int</tvar>".</translate> <translate> Alternatively, type two curly brackets <tvar name=1>Template:((</tvar> to open the same dialog.</translate> [[Template:Lm|frameless|border|500x500px|center]]
<translate> Find the template you want to insert by typing either its name or a relevant keyword.</translate> <translate> Results containing the search term in either the name or description will display in a dropdown.</translate> <translate> This should help you find a relevant template, even if you don’t know its exact name.</translate>

<translate> If you’re having trouble finding the kind of template you want by using keywords, you can look on other wiki pages with similar content and view or edit the page source to see which templates are in use.</translate> <translate> When you find the desired template’s name, you can type it into this field to insert it here.</translate>


<translate> You can also edit a template that’s already on a page.</translate> <translate> When you select the template you want to edit, it turns blue, and a box appears displaying "<tvar name=1>File:OOjs UI icon puzzle-ltr.svg Template:Int</tvar>".</translate> <translate> Then select the "<tvar name=1>Template:Int</tvar>" link or double click on the template itself to open the template.</translate>

<translate> Some templates are not visible to someone reading a page.</translate> <translate> In the visual editor, such hidden templates are still shown so that you can click and edit or delete them.</translate> <translate> The name of the template will be shown next to the puzzle icon and both will be grayed out.</translate>

Template:Anchor

<translate> Template parameters</translate>

<translate> You’ll see this dialog box when you’re adding a new template or editing one already in place.</translate> <translate> What you see in the box depends on whether the template in question contains <tvar name=1>Template:Ll</tvar>, helpful metadata added by other editors to make it easier to edit templates in the Visual Editor.</translate>

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


<translate> 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.</translate>


<translate> You can disable any optional parameter (which have blue checkboxes on the left side).</translate> <translate> If a parameter’s checkbox is grayed out and not clickable, the template requires that parameter, so it can’t be disabled.</translate>

<translate> When you insert a new template, you may find that some optional parameters are pre-selected.</translate> <translate> That means the author(s) of the template recommends the use of those parameters.</translate> <translate> It’s best to review all parameters that will be used in a template to ensure you understand their use.</translate>

<translate> Clicking an unchecked parameter adds it to the template.</translate> <translate> Clicking a parameter that’s already been added takes you to the parameter’s input field.</translate>

<translate> Some template parameters will show as “deprecated”.</translate> <translate> Don’t use deprecated parameters when inserting a template; they’re only visible to you because those parameters are in use on older pages where this template was included.</translate>


Template:Anchor <translate>

Adding undocumented parameters

</translate>

<translate> 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”.</translate> <translate> In these cases, you should consult the page for the template itself.</translate> <translate> There you can learn how to correctly employ and work with all of the template’s parameters.</translate> <translate> This includes learning the exact names of the parameters as written by the template author. </translate>

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

<translate> Example: </translate>

  • <translate> first unnamed parameter: “1”</translate>
  • <translate> first unnamed parameter’s value: “en_US”</translate>
  • <translate> second unnamed parameter: “2”</translate>
  • <translate> second unnamed parameter’s value: “yes”</translate>

<translate> 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.</translate>


Template:Anchor <translate>

Autogenerated parameters

</translate>

<translate> 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.</translate> <translate> 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.</translate>

Template:Anchor <translate>

Editing multi-part template content

</translate>

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

<translate> 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. </translate>

<translate> These related pieces of template content must be created in wikitext, but can be edited in the VisualEditor.</translate> <translate> In these cases you will see a notice at the top of the dialog to signal the situation and a specialized toolbar will be visible at the bottom of the sidebar.</translate> <translate> There you can use the icon buttons to add additional templates, additional wikitext, delete elements or change their order.</translate>


<translate>

Nested templates

</translate>

<translate> 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. </translate>

<translate> 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.</translate>


<translate>

Completing your edit

</translate>

<translate> When you have finished editing a template, you can click "<tvar name=apply>Template:Int</tvar>".</translate> <translate> Then you can preview your edit and make sure it looks the way you want and expect.</translate>

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

[[Template:Lm|frameless|border|center|150px]]

<translate>

Removing a template

</translate>

<translate> To remove a template in the VisualEditor, click the template box.</translate> <translate> Press the "Delete" or "Backspace" key on your keyboard.</translate> <translate> The template will disappear from the page.</translate>

<translate>

Editing on mobile

</translate>

<translate> 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.</translate>

<translate> Substituting templates</translate>

<translate> 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.</translate> <translate> This means if someone updates the code of a template, then every page which uses that template will also get updated when they publish.</translate>

<translate> There’s another, much less common way to use templates, though, and that’s to substitute a template.</translate> <translate> 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.</translate>

<translate> Most users won’t ever need to resort to substitution.</translate> <translate> 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.</translate>

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

<translate> When you’re finished, press “Insert”, which will insert the template content as you see it. </translate>

<translate>

Editing lists

</translate>

[[Template:Lm|frameless|border|300px|center]] <translate> You can use the visual editor to create lists, or to change the format of an existing list. There are two types of lists: unordered (bullet) and ordered (numbered).</translate>

<translate> To start a new list, just press on one of the two menu items shown here. Or, if you already have typed the list (on separate lines), select (highlight) the list you have typed, then press on one of the menu items.</translate>


[[Template:Lm|frameless|border|center|200px]]
 [[Template:Lm|frameless|border|center|200px]]
<translate> Shown here are examples of the two types of lists: unordered (bullet) and ordered (numbered).</translate>

[[Template:Lm|frameless|border|center|200px]] <translate> If you want to change the indentation level of part of an existing list, select the part of the list that you want to change.</translate>

[[Template:Lm|frameless|border|center|500px]] <translate> Then use the menu, or press the Tab key. (The Tab key increases indentation; use the shift key plus the Tab key to decrease indentation)</translate>

[[Template:Lm|frameless|border|center|400px]] <translate> Here is the result of increased indentation.</translate>

[[Template:Lm|frameless|border|center|300px]] <translate> You can even mix ordered (numbered) and unordered (bullet) lists, if the list items have different indentations.</translate>

<translate> Editing tables</translate>

[[Template:Lm|frameless|border|center|200px]] <translate> You can use the visual editor to insert and change tables.</translate>

<translate> You can even import a table by dragging a comma-separated value (.csv) file from your computer into the main editing window.</translate>


<translate> When you press on "Table", in the "<tvar name=toolbar>Template:Int</tvar>" menu, the visual editor inserts a blank four-by-four table.</translate>

<translate> Now the "Table" menu is available. From that menu, you can add a caption to the top of the table.</translate>

[[Template:Lm|frameless|border|center|170px]]

<translate> To select a cell, press it once.</translate> [[Template:Lm|frameless|border|center|400px]]

<translate> To edit the contents of the cell (for example, to add content or to correct a spelling error), double press in the cell. Or you can select the cell and then press Return.</translate>

<translate> To end your editing of a cell, just press elsewhere.</translate>

[[Template:Lm|frameless|border|center|400px]]

[[Template:Lm|frameless|border|center|253px]] <translate> You can add, move or delete a column or a row.</translate>

<translate> You can merge cells: Select them, then from the Table menu, press on "Merge cells".</translate> [[Template:Lm|frameless|border|center|350px]]

<translate> If you merge cells, only the text in one cell is kept; any text in the other cells is deleted when you merge the cells. If you decide that you wanted some or all of the text that was deleted, use the Undo button, move or copy the text you want, then merge the cells again.</translate> [[Template:Lm|frameless|border|center|350px]]

<translate> You can also split cells that were previously merged. All the content that was in the merged cell will remain in the first cell when you do the split. You can then cut and paste text to other cells, if you want.</translate> [[Template:Lm|frameless|border|center|350px]]

Template:Anchor

<translate> Editing categories</translate>

[[Template:Lm|frameless|border|200px|center]] <translate> To edit categories, on the "<tvar name=pagemenu>Template:Int</tvar>" menu, press the "<tvar name=categories-tool>Template:Int</tvar>" item.</translate>

[[Template:Lm|frameless|border|center|500px]] <translate> Pressing on "<tvar name=categories-tool>Template:Int</tvar>" opens a dialog that lists existing categories and allows you to add new ones, and to delete existing categories.</translate>

<translate> You also have the option of setting or changing the general (default) [[<tvar name=help>Special:MyLanguage/Help:Sorting#Sort order</tvar>|sorting key]], which determines where the page appears when listed with other pages in the same category.

For example, the default sorting key for the article "George Washington" is "Washington, George". In the category "Presidents of the United States", the article is listed under the letter "W", not the letter "G". </translate>


[[Template:Lm|frameless|border|center|500px]] <translate> To add a category for a page, type the name of the category into the field "<tvar name=apply>Template:Int</tvar>". As you type, the visual editor will search for possible matching, existing categories. You can either select an existing category, or you can add a category that doesn't yet have its own category page. (Until that category page is created, your new category will show as a red link after you publish all your editing changes.)</translate>

[[Template:Lm|frameless|border|center|400px]] <translate> To remove an existing category, press on it and press on the "<tvar name=remove>Template:Int</tvar>" icon (trash can) in the dialog that opens.</translate>

<translate> Pressing on a category also allows you to specify a sorting key for that specific category. Such a sorting key overrides the default sorting key.</translate>


[[Template:Lm|frameless|border|center|150px]] <translate> Press "<tvar name=apply>Template:Int</tvar>" when you are done editing categories to return to the page editor.</translate>

Template:Anchor

<translate> Editing page settings</translate>

[[Template:Lm|frameless|border|500px|center]] <translate> To edit a page's settings, press to open the "<tvar name=pagemenu>Template:Int</tvar>" menu, in the toolbar, and select the "<tvar name=page-settings>Template:Int</tvar>" button.</translate>

[[Template:Lm|frameless|border|center|500px]] <translate> The "<tvar name=page-settings>Template:Int</tvar>" button opens a dialog that shows several options.</translate>

[[Template:Lm|frameless|border|center|500px]] <translate> You can make a page a redirect to another page by checking the "<tvar name=redirect-label>Template:Int</tvar>" checkbox, and then typing the name of the page to which you want to send the reader who tries to go to the page that you are editing.</translate>

<translate> At the bottom is the option to prevent page renames from updating this redirect. This is very rarely used.</translate>


[[Template:Lm|frameless|border|center|500px]] <translate> You can change whether the page shows a Table of Contents by selecting one of these three buttons. The default option is "<tvar name=toc-default>Template:Int</tvar>", which shows a Table of Contents if there are three or more headings.</translate>

[[Template:Lm|frameless|border|center|400px]] <translate> You can make a page not show edit links next to each section header by checking this checkbox.</translate>

[[Template:Lm|frameless|border|center|300px]] <translate> Press "<tvar name=apply>Template:Int</tvar>" when you are done editing the <tvar name=pagemenu>Template:Int</tvar> to return to the page editor.</translate>

<translate> Editing maps</translate>

[[Template:Lm|frameless|border|400px|center]] <translate> You can add and change maps. See <tvar name=1>Template:Ll</tvar>.</translate>

Template:Anchor

<translate> Editing mathematical formulae</translate>

<translate> To add a new mathematical formula to the page, place your cursor where you want it to be inserted, and press on the "<tvar name=formula-title>Template:Int</tvar>" icon ("Σ") in the "<tvar name=insert>Template:Int</tvar>" menu on the toolbar.</translate> [[Template:Lm|frameless|border|400px|center]]

<translate> A window will open in which you can type the formula, using LaTeX syntax. the visual editor will update the formula as you type it, so you can see how it will look as you make changes. Once you are happy with the formula, press the "<tvar name=dialogdone>Template:Int</tvar>" button.</translate> [[Template:Lm|frameless|border|400px|center]]

<translate> To edit an existing mathematical formula on the page, press on it and then press on the "Σ" icon that appears. This will open up the formula window, where you make changes.</translate> [[Template:Lm|frameless|border|400px|center]]

<translate> Mathematical formulae can be placed inline or centered as a block.</translate> [[Template:Lm|frameless|border|400px|center]]

<translate>

Editing musical scores

</translate>

<translate> To add a new musical notation to a page, place your cursor where you want the musical notation to be inserted.</translate> <translate> Then, from the "Insert" menu on the toolbar, press the "Musical notation" option.</translate>

<translate> To edit an existing musical notation on the page, double press on it. </translate>

[[Template:Lm|frameless|border|400px|center]]

<translate> This will open the "Musical notation" dialog. Here the notation can be edited by scale, either in ABC or in Lilypond format.</translate> <translate> You can also link the notation to an audio or MIDI file.</translate> <translate> Once you are finished, press the "Done" button to close the dialog and publish your changes.</translate> [[Template:Lm|frameless|border|400px|center]]

<translate> Editing poems and other special items</translate>

<translate> Some items, such as association lists and poems, are not yet fully supported by the visual editor.</translate> [[Template:Lm|frameless|border|400px|center]]

<translate> In most cases, the existing items can be edited, but new ones cannot be inserted in the visual editor.</translate>

<translate> Until they are fully supported, you can copy an existing one from another page, or edit the source wikitext directly.</translate>

[[Template:Lm|frameless|border|400px|center]]

<translate> Switching between the visual and wikitext editors</translate>

<translate> To switch from the visual editor to the wikitext editor, press the <tvar name=1>[[ ]]</tvar> button on the far right of the toolbar.</translate>

[[Template:Lm |frameless|border|200px|center]]

<translate> You'll see a diff. (If you pressed on "<tvar name=1>Template:Int</tvar>", you'll just see wikitext, ready to edit with the wikitext editor.)</translate>

<translate> Scroll down, and you'll see the wikitext editing area.</translate>

[[Template:Lm |frameless|border|500px|center]]

<translate> You can also switch from the wikitext editor to the visual editor. To do that, press the pencil icon on the far right of the toolbar.</translate>

[[Template:Lm |frameless|border|150px|center]]

<translate> Keyboard shortcuts</translate>

<translate> Many editors are used to entering wikitext directly, especially bold, italics and wikilinks. [[<tvar name=Keyboard>mw:VisualEditor/Portal/Keyboard shortcuts</tvar>|Keyboard shortcuts]] allow to quickly insert similar formatting without having to use toolbar items. Here are the common general shortcuts in the visual editor:</translate>

<translate> PC shortcut</translate> <translate> Action</translate> <translate> Mac shortcut</translate>

Template:Key press <translate> Bold</translate> Template:Key press

Template:Key press <translate> Italics</translate> Template:Key press

Template:Key press <translate> Insert link</translate> Template:Key press

Template:Key press <translate> Cut</translate> Template:Key press

Template:Key press <translate> Copy</translate> Template:Key press

Template:Key press <translate> Paste</translate> Template:Key press

Template:Key press <translate> Undo</translate> Template:Key press

[[Category:VisualEditor{{#translation:}}|User guide]] [[Category:Help{{#translation:}}]]