Welcome to the Virtual Education Wiki ~ Open Education Wiki

Help:VisualEditor User guide: Difference between revisions

From Virtual Education Wiki
Jump to navigation Jump to search
(copied from https://www.mediawiki.org/wiki/Help:VisualEditor/User_guide)
 
(added key data and links/cats)
Tag: Replaced
Line 1: Line 1:
<languages />
== Summary ==
<div style="max-width:70em; margin:auto;">{{PD Help Page}}</div>
{{VisualEditor Portal}}
<div style="max-width:70em; margin:auto;">
{{ombox|text=
<span class="plainlinks"><translate><!--T:205--> If you would like to try the visual editor without editing an article, [<tvar name=sandbox>{{fullurl:VisualEditor:Test|veaction=edit}}</tvar> here is a page] where you can freely test it.</translate></span> <translate><!--T:206--> You don't need an account to use the visual editor on that page.</translate>}}


__TOC__
== Source page ==
__NOEDITSECTION__


== <translate><!--T:112--> Opening the visual editor</translate> ==
This is https://www.mediawiki.org/wiki/Help:VisualEditor/User_guide


{| cellpadding="20" style="clear: both"
For this file see
|-
| <translate><!--T:113--> To edit a page using the visual editor, press on the "<tvar name=edit>{{int|vector-view-edit}}</tvar>" tab at the top of the page.</translate>


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


<!--T:115-->
Pressing on the "<tvar name=editsource>{{int|visualeditor-ca-editsource}}</tvar>" tab will open the classic wikitext source editor.</translate>
| [[{{lm|VisualEditor edit tab|png|-}}|frameless|border|center|300px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:117--> You can also open the visual editor by pressing on the "<tvar name=editsection>{{int|editsection}}</tvar>" link on each section.</translate>
| [[{{lm|VisualEditor - Section edit links|png|-}}|frameless|border|center|300px]]
|}


== <translate><!--T:1--> Getting started: the visual editor's toolbar</translate> ==
----
> [[Help:Index]]
<br>
>> [[Main Page]]


<div style="margin: 0 -50px;">
[[Category:ZWIKI help]]
[[{{lm|VisualEditor toolbar|png|-}}|frameless|center|950px|alt=<translate><!--T:3--> Screenshot of the visual editor's toolbar</translate>]]</div>
 
{| cellpadding="20"
|-
| colspan=2 | <translate><!--T:4--> The visual editor's toolbar appears at the top of the screen when you begin editing. It includes some familiar icons:</translate>
|-
| colspan=2 | <hr />
|-
| [[File:VisualEditor - Toolbar - Undo-redo.png|frameless|border|150px|center]]
| <translate><!--T:5--> <tvar name=undo>'''{{int|visualeditor-historybutton-undo-tooltip}}'''</tvar> and <tvar name=redo>'''{{int|visualeditor-historybutton-redo-tooltip}}'''</tvar> the changes you have made.</translate>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor Toolbar Headings|png|-}}|frameless|border|300px|center]]
| <translate><!--T:7--> '''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>{{int|visualeditor-formatdropdown-format-mw-heading2}}</tvar>", and subsections are "<tvar name=subheading2>{{int|visualeditor-formatdropdown-format-mw-heading3}}</tvar>", "<tvar name=subheading3>{{int|visualeditor-formatdropdown-format-mw-heading4}}</tvar>", and so on.</translate> <translate><!--T:224--> The normal format for text is "<tvar name=format>{{int|visualeditor-formatdropdown-format-paragraph}}</tvar>".</translate>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor Toolbar Formatting|png|-}}|frameless|border|300px|center]]
|
<translate><!--T:255--> '''Formatting:''' Pressing the "<u>'''''A'''''</u>" opens a menu. </translate>
* <translate><!--T:256--> The "<tvar name=bold>{{int|visualeditor-annotationbutton-bold-tooltip}}</tvar>" item ('''B''') bolds the selected text.</translate>
* <translate><!--T:257--> The "<tvar name=italic>{{int|visualeditor-annotationbutton-italic-tooltip}}</tvar>" item (''I'') italicizes the selected text.</translate>
* <translate><!--T:258--> The "<tvar name=superscript>{{int|visualeditor-annotationbutton-superscript-tooltip}}</tvar>" item (x<sup>2</sup>) causes the selected text to appear smaller than surrounding text and to be slightly higher than the surrounding text.</translate>
* <translate><!--T:259--> The "<tvar name=subscript>{{int|visualeditor-annotationbutton-subscript-tooltip}}</tvar>" item (x<sub>2</sub>) causes the selected text to appear smaller than surrounding text and to be slightly lower than the surrounding text.</translate>
* <translate><!--T:260--> The "<tvar name=strikethrough>{{int|visualeditor-annotationbutton-strikethrough-tooltip}}</tvar>" item (<s>S</s>) adds a solid bar through the selected text.</translate>
* <translate><!--T:251--> The "<tvar name=code>{{int|visualeditor-annotationbutton-code-tooltip}}</tvar>" item (a set of curly brackets: <code>{}</code>) changes the font of the selected text to a monospaced font, which sets it apart from surrounding (proportionally spaced) text.</translate>
* <translate><!--T:252--> The "<tvar name=underline>{{int|visualeditor-annotationbutton-underline-tooltip}}</tvar>" item (<u>U</u>) adds a solid line beneath the selected text.</translate>
* <translate><!--T:253--> The "<tvar name=language>{{int|visualeditor-annotationbutton-language-tooltip}}</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><!--T:254--> The final item (<tvar name=clearicon>[[File:VisualEditor MediaWiki theme clear icon bitmap.png]]</tvar>), called "<tvar name=clearbutton>{{int|visualeditor-clearbutton-tooltip}}</tvar>", removes all character formatting from the selected text, including links.</translate>
 
<translate><!--T:404--> If you have not selected any text, then when you press the "<u>'''''A'''''</u>" 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>
|-
| colspan=2 | <hr />
|-
| [[File:VisualEditor - Toolbar - Linking.png|frameless|border|300px|center]]
| <translate><!--T:169--> '''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>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor - Cite Pulldown|png|-}}|frameless|border|130px|center]]
| <translate><!--T:208--> '''<tvar name=cite>{{int|cite-ve-toolbar-group-label}}</tvar> menu:''' The "<tvar name=cite>{{int|cite-ve-toolbar-group-label}}</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>
 
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor citoid Cite button|png|-}}|frameless|border|150px|center]]
| '''<translate><!--T:281--> <tvar name=1>{{int|citoid-citoidtool-title}}</tvar> button:</translate>''' <translate><!--T:282--> If the <tvar name=1>{{ll|Citoid|Citoid}}</tvar> service and/or citation tool is enabled on your wiki, you will see a <tvar name=citoid>{{int|citoid-citoidtool-title}}</tvar> button instead of a <tvar name=cite>{{int|cite-ve-toolbar-group-label}}</tvar> menu.</translate>
 
<translate>
<!--T:209-->
Instructions for adding local citation templates to the "<tvar name=cite>{{int|citoid-citoiddialog-mode-manual}}</tvar>" tab at a specific wiki are available at <tvar name=1>{{ll|VisualEditor/Citation tool}}</tvar>.)
 
<!--T:523-->
Instructions for enabling the <tvar name=2>{{int|citoid-citoiddialog-mode-auto}}</tvar> tab are available at [[<tvar name=1>Special:MyLanguage/Citoid/Enabling Citoid on your wiki</tvar>|Enabling Citoid on your wiki]]
 
<!--T:283-->
The citoid service tries to fill out citation templates automatically.
</translate>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor Toolbar Lists and indentation|png|-}}|frameless|border|300px|center]]
| <translate><!--T:10--> '''Lists and indentation:''' The first two items allow you to format text as either a "<tvar name=bullet>{{int|visualeditor-listbutton-bullet-tooltip}}</tvar>" or a "<tvar name=numbered>{{int|visualeditor-listbutton-number-tooltip}}</tvar>". The last two items allow you to decrease or increase the indentation level of list items.</translate>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor Insert Menu|png|-}}|frameless|border|250px|center]]
| <translate><!--T:11--> '''<tvar name=toolbar>{{int|visualeditor-toolbar-insert}}</tvar>:''' The "<tvar name=toolbar>{{int|visualeditor-toolbar-insert}}</tvar>" menu may be different on some projects. Below is a list of '''all''' options that may appear.</translate>
* <translate><!--T:263--> The "<tvar name=media>{{int|visualeditor-dialogbutton-media-tooltip}}</tvar>" icon (a picture of mountains) opens the [[<tvar name=1>#Editing images and other media files</tvar>|media dialog]].</translate>
* <translate><!--T:265--> The "<tvar name=template>{{int|visualeditor-dialogbutton-template-tooltip}}</tvar>" icon (a puzzle piece) allows you to [[<tvar name=1>#Editing templates</tvar>|edit templates]].</translate>
* <translate><!--T:405--> The "Table" item allows you to insert a table.</translate>
* <translate><!--T:266--> The "<tvar name=comment>{{int|visualeditor-commentinspector-tooltip}}</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><!--T:261--> The "<tvar name=hiero-title>{{int|wikihiero-visualeditor-mwhieroinspector-title}}</tvar>" icon (an [[:w:ankh|ankh]] symbol - ☥) allows you to enter the hieroglyphics inserter. (See below.)</translate>
* <translate><!--T:406--> The "Code block" item allows you to insert code.</translate>
* <translate><!--T:407--> The "Musical notation" item allows you to insert a musical notation.</translate>
* <translate><!--T:264--> The "<tvar name=inspector>{{int|visualeditor-mwgallerydialog-title}}</tvar>" icon (a set of photos) allows you to insert a gallery to the page.</translate>
* <translate><!--T:267--> The "<tvar name=formula-title>{{int|math-visualeditor-mwmathdialog-title}}</tvar>" icon (Σ) opens the [[<tvar name=1>#Editing mathematical formulae</tvar>|formula inserter dialog]].</translate>
* <translate><!--T:408--> The "Graph" item allows you to insert a graph.</translate>
* <translate><!--T:409--> The "<tvar name=signature>{{int|visualeditor-mwsignature-tool}}</tvar>" item allows you to insert a signature that you use on the project.</translate> <translate><!--T:410--> 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><!--T:14--> The "<tvar name=referencelist>{{int|cite-ve-dialogbutton-referenceslist-tooltip}}</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>
|-
| colspan=2 | <hr />
|-
| colspan=2 | <translate><!--T:171--> '''Special character insertion:''' The "<tvar name=special>{{int|visualeditor-specialcharacter-button-tooltip}}</tvar>" (Ω) icon is next to the "<tvar name=toolbar>{{int|visualeditor-toolbar-insert}}</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><!--T:228--> (This list may be customized locally. See <tvar name=1>{{ll|VisualEditor/Special characters}}</tvar> for instructions.)</translate>
|}
<div style="margin: 0 -50px;">
[[{{lm|VisualEditor Toolbar SpecialCharacters|png|-}}|frameless|border|950px|center]]</div>
{| cellpadding="20"
|-
| colspan=2 | <hr />
|-
| [[File:VisualEditor toolbar edit notices icon.png|frameless|150px|border|center]]
| <translate><!--T:308--> The '''Edit notices''' button displays any notices for the page.</translate>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor More Settings|png|-}}|frameless|400px|border|center]]
| <translate><!--T:19--> The <tvar name=1>'''{{int|visualeditor-pagemenu-tooltip}}'''</tvar> menu is to the left of the ''<tvar name=2>{{int|publishchanges}}</tvar>'' button and the ''<tvar name=3>{{int|visualeditor-mweditmode-tooltip}}</tvar>'' menu. On this menu there is a button to open an ''<tvar name=4>{{int|visualeditor-meta-tool}}</tvar>'' dialog with the following (left side) tabs:</translate>
 
* <translate><!--T:434--> <tvar name=1>'''[[#Editing categories|{{int|visualeditor-categories-tool}}]]'''</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><!--T:435--> <tvar name=1>'''[[#Editing page settings|{{int|visualeditor-dialog-meta-settings-label}}]]'''</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><!--T:436--> <tvar name=1>'''{{int|visualeditor-advancedsettings-tool}}'''</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><!--T:437--> '''<tvar name=language>{{int|visualeditor-mwlanguagevariantinspector-filter-langs-label}}</tvar>''' shows a list of pages in other languages that are linked to that page.</translate>
* <translate><!--T:438--> <tvar name=1>'''{{int|visualeditor-templatesused-tool}}'''</tvar> shows a list of links to each template used on this page.</translate>
 
<translate><!--T:439--> The tabs of the <tvar name=1>{{int|visualeditor-dialog-meta-title}}</tvar> dialog are also displayed in the <tvar name=2>{{int|visualeditor-pagemenu-tooltip}}</tvar> menu and can be opened by clicking on it.</translate>
<translate><!--T:440--> Furthermore the <tvar name=2>{{int|visualeditor-pagemenu-tooltip}}</tvar> menu contains the items <tvar name=3>{{int|visualeditor-changedir-tool-ltr}}</tvar> or <tvar name=4>{{int|visualeditor-changedir-tool-rtl}}</tvar> and the item <tvar name=5>'''[[Special:MyLanguage/Help:VisualEditor/User guide/Find and replace|{{int|visualeditor-find-and-replace-title}}]]'''</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>
|-
| colspan=2 | <hr />
|-
| [[File:OOjs UI icon edit-ltr.svg|frameless|150px|border|center]]
| <translate><!--T:309--> The <tvar name=1>'''{{int|visualeditor-mweditmode-tooltip}}'''</tvar> button is next to the <tvar name=2>'''{{int|publishchanges}}'''</tvar> button. It allows you to switch to the wikitext editor.</translate>
|}
 
== <translate><!--T:20--> Publishing changes</translate> ==
 
{| cellpadding="20"
|-
| <translate><!--T:21--> When you are finished editing, press the blue "<tvar name=save>{{int|publishchanges}}</tvar>" button in the toolbar. If you have made no changes, the button will be disabled (grayed out).</translate> <translate><!--T:229--> To cancel all your editing changes, close your browser window, or press the "<tvar name=view>{{int|vector-view-view}}</tvar>" tab above the edit toolbar.</translate>
| [[{{lm|VisualEditor toolbar actions|png|-}}|frameless|border|300px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:23--> Pressing the blue "<tvar name=save>{{int|publishchanges-start}}</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>{{int|summary}}</tvar> field in the wikitext editor.</translate>
 
<translate>
<!--T:24-->
You can also review your changes using the "<tvar name=review>{{int|visualeditor-savedialog-label-review}}</tvar>" button to confirm that they will function as intended before saving your changes. This is similar to the "<tvar name=showdiff>{{int|showdiff}}</tvar>" button in the wikitext editor.
 
<!--T:230-->
The "<tvar name=cancelsave>{{int|Visualeditor-savedialog-label-resume-editing}}</tvar>" button returns you to the page you were editing. You can publish all of your changes later.
</translate>
| [[{{lm|VisualEditor save dialog|png|-}}|frameless|border|center|500px]]
|}
{{anchor|Editing links|EditingLinks}}
== <translate><!--T:26--> Editing links</translate> ==
 
{| cellpadding="20"
|-
| [[File:VisualEditor - Toolbar - Linking.png|frameless|border|300px|center]]
| <translate><!--T:28--> Links can be added through the "<tvar name=annotation>{{int|visualeditor-annotationbutton-link-tooltip}}</tvar>" icon (links in a chain) in the toolbar, or by using the shortcut {{key press|Ctrl|K}} (or {{Key press|Command|K}} on a Mac).</translate>
 
<translate><!--T:29--> If you select (highlight) text and then press the "<tvar name=annotation>{{int|visualeditor-annotationbutton-link-tooltip}}</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>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor-link tool-search results|png|-}}|frameless|border|center|400px]]
| <translate><!--T:31--> When you use either the button or the shortcut, a dialog will open in which you may type the link.</translate>
<translate><!--T:239--> The link tool will try to help with '''internal''' links by searching for likely matches.</translate>
<translate><!--T:32--> Once you have entered or selected the link, you complete the linking process by pressing {{key press|Enter}} or by pressing the "<tvar name=dialogdone>{{int|visualeditor-dialog-action-done}}</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>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor-link tool-external link|png|-}}|frameless|border|400px|center]]
| <translate><!--T:160--> To link to a web page on another website, the process is similar: Choose the "<tvar name=1>{{int|visualeditor-linkinspector-button-link-external}}</tvar>" tab, and enter a URL in the box.</translate>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor link tool simple link|png|-}}|frameless|border|400px|center]]
| <translate><!--T:243--> External links without labels look like this: [http://example.com].</translate> <translate><!--T:244--> You can add these by placing your cursor away from any word (e.g., after a space).</translate> <translate><!--T:245--> Open the link tool by pressing on the button or pressing the shortcut keys.</translate> <translate><!--T:246--> Type the URL in the box, and press the "<tvar name=dialogdone>{{int|visualeditor-dialog-action-done}}</tvar>" button to insert the link.</translate>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor-context menu-link tool|png|-}}|frameless|border|400px|center]]
| <translate><!--T:34--> To change or remove an existing link, press within the text for that link, then press the "<tvar name=annotation>{{int|visualeditor-annotationbutton-link-tooltip}}</tvar>" icon that appears near it. The dialog will appear, for editing. You can also get to the dialog with the {{key press|Ctrl|K}} keyboard shortcut.</translate> <translate><!--T:298--> When a link is selected, it appears as blue framed.</translate>
 
<translate><!--T:35--> 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>{{int|visualeditor-inspector-remove-tooltip}}</tvar>" button in the upper right corner of the dialog.</translate>
<translate><!--T:231--> 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>
<!--T:299-->
If you want to exit the link label (the text displayed as a link) or continue to write after this link, you can press {{Key press|→}}:
</translate>
* <translate><!--T:300--> 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><!--T:301--> Pressing it twice will put the cursor after the element linked, ready to type the rest of your text.</translate>
 
<translate><!--T:411--> To edit the link label of an existing link, press within the link label and type the new one.</translate>
<translate><!--T:412--> But if you want to replace the entire label, please note:</translate>
 
* <translate><!--T:413--> If you have selected (highlighted) the entire link label, the link will be deleted by typing any key.</translate>
* <translate><!--T:415--> 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><!--T:416--> Now you may type in the new label for the kept link.</translate>
* <translate><!--T:433--> You can also [[<tvar name=Advanced>Special:MyLanguage/Help:VisualEditor/User guide/Links</tvar>|link to categories, files and more]].</translate>
|}
 
{{anchor|EditingReferences|Editing references}}
== <translate><!--T:46--> Editing references</translate> ==
{{Further|1=<translate><!--T:342--> [[<tvar name=1>Help:VisualEditor/User guide/Citations-Templates</tvar>|Help using citation templates]] or [[<tvar name=2>Help:VisualEditor/User guide/Citations-Full</tvar>|Help using citoid's <tvar name=3>{{int|citoid-citoiddialog-mode-auto}}</tvar> tab]]</translate>}}
 
{| cellpadding="15"
| colspan=2 |
<translate>
=== Determining which system is in place === <!--T:422-->
</translate>
|-
| <translate><!--T:287--> Your wiki may use one of three footnote systems.</translate> <translate><!--T:288--> The one shown on the right is the simplest system, where the "<tvar name=cite>{{int|cite-ve-toolbar-group-label}}</tvar>" menu does not include any citation templates.</translate> <translate><!--T:289--> If your wiki uses this system, then everything you need to know about footnotes is on this page.</translate>
|[[{{lm|VisualEditor cite menu default|png|-}}|frameless|border|center|200px]]
|-
| colspan=2 | <hr />
|-
|
|[[{{lm|VisualEditor citoid Cite button|png|-}}|frameless|border|center|100px]]
|-
| <translate><!--T:524--> In the second system, you again start by pressing the <tvar name=1>{{int|citoid-citoidtool-title}}</tvar> button.</translate> <translate><!--T:525--> Then a dialog box opens, which includes several popular citation templates set up for quick access in the "<tvar name=1>{{int|citoid-citoiddialog-mode-manual}}</tvar>" tab.</translate> <translate><!--T:291--> If your wiki uses this system, then you will find more details at <tvar name=help>{{ll|Help:VisualEditor/User guide/Citations-Templates}}</tvar></translate>
|[[{{lm|Manual_tab_only_-_visual_editor_-_citations|png|-}}|frameless|border|center|200px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:417--> In the third system, you again start by pressing the <tvar name=1>{{int|citoid-citoidtool-title}}</tvar> button.</translate> <translate><!--T:418--> Then a dialog box opens, which includes an automatic citation process using the citoid service under the Automatic tab.</translate> <translate><!--T:419--> If your wiki uses this system, you will find more details at <tvar name=help>{{ll|Help:VisualEditor/User guide/Citations-Full}}</tvar></translate>
|[[{{lm|VisualEditor Citoid Inspector|png|-}}|frameless|border|center|400px]]
|-
| colspan=2 |
<translate>
=== Editing an existing reference === <!--T:126-->
</translate>
|-
| <translate><!--T:49--> 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>{{int|cite-ve-dialogbutton-reference-title}}</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>{{int|visualeditor-contextitemwidget-label-secondary}}</tvar>" button will open a dialog where you can edit the reference.</translate>
| [[{{lm|VisualEditor - Editing references 1|png|-}}|frameless|border|400px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:51--> For the "<tvar name=1>{{int|cite-ve-dialogbutton-reference-title}}</tvar>" icon, pressing "<tvar name=2>{{int|visualeditor-contextitemwidget-label-secondary}}</tvar>" opens the reference dialog. To start changing the reference information, press on it.</translate>
 
<translate>
<!--T:55-->
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.
 
<!--T:210-->
If a template was used and you press on the reference information, then the <tvar name=1>{{int|visualeditor-dialogbutton-template-tooltip}}</tvar> icon (puzzle piece) will appear with some information. Press on the "<tvar name=2>{{int|visualeditor-contextitemwidget-label-secondary}}</tvar>" button to edit the content of the template in the template editor dialog.</translate>
| [[{{lm|VisualEditor - Editing references 6|png|-}}|frameless|border|center|400px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:212--> 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>{{int|visualeditor-contextitemwidget-label-secondary}}</tvar>" will open the template editor dialog.</translate>
| [[{{lm|VisualEditor - Editing References - Cite Web|png|-}}|frameless|border|center|400px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:58--> 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>{{int|visualeditor-dialog-transclusion-add-param-save}}</tvar>" at the bottom of the editor.</translate>
| [[{{lm|VisualEditor - Editing references 5|png|-}}|frameless|border|center|400px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:60--> Press on "<tvar name=apply>{{int|visualeditor-dialog-action-apply}}</tvar>" when you are done. </translate>
| [[{{lm|VisualEditor Apply Changes|png|-}}|frameless|border|center|150px]]
|-
| colspan=2 | <hr />
|-
| colspan=2 |
=== <translate><!--T:129--> Re-using an existing reference</translate> ===
|-
| <translate><!--T:131--> 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>
<!--T:132-->
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>{{int|cite-ve-dialog-reference-useexisting-tool}}</tvar>" item from the "<tvar name=1>{{int|cite-ve-toolbar-group-label}}</tvar>" menu.
 
<!--T:292-->
(Note: If your wiki has the second or third footnote system described above, you'll see a "<tvar name=1>{{int|citoid-citoiddialog-mode-reuse}}</tvar>" tab, in a dialog, instead of a "<tvar name=2>{{int|cite-ve-dialog-reference-useexisting-tool}}</tvar>" item on the "<tvar name=3>{{int|cite-ve-toolbar-group-label}}</tvar>" menu.) </translate>
| [[{{lm|VisualEditor cite menu default|png|-}}|frameless|border|200px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:134--> In the <tvar name=1>{{int|cite-ve-dialog-reference-title}}</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>{{int|cite-ve-reference-input-placeholder}}</tvar>") to list only those references that include certain text.</translate>
| [[{{lm|VisualEditor - Editing references 18|png|-}}|frameless|border|400px|center]]
|-
| colspan=2 | <hr />
|-
| colspan=2 |
=== <translate><!--T:137--> Adding a new reference</translate> ===
|-
| <translate><!--T:111--> To add a citation using the "<tvar name=1>{{int|cite-ve-toolbar-group-label}}</tvar>" menu, place your cursor where you want to add it in the text.</translate> <translate><!--T:526--> Then click "<tvar name=1>{{int|visualeditor-dialog-media-type-none}}</tvar>".</translate>
| [[{{lm|VisualEditor cite menu default|png|-}}|frameless|border|200px|center]]
|-
| colspan=2 |
==== <translate><!--T:250--> Using the "<tvar name=1>{{int|visualeditor-dialog-media-type-none}}</tvar>" citation</translate> ====
|-
| <translate><!--T:310--> Shown here is what you will see if you select the basic references item.</translate>  <translate><!--T:143--> In the Reference editor, you can add your citation, including formatting.</translate>
 
<translate><!--T:53--> 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>{{int|cite-ve-dialogbutton-referenceslist-tooltip}}</tvar>" tool.)</translate>
| [[{{lm|VisualEditor - Editing references 20|png|-}}|frameless|border|400px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:62--> 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>{{int|visualeditor-dialogbutton-template-tooltip}}</tvar> icon (puzzle piece) in the "<tvar name=insert>{{int|visualeditor-toolbar-insert}}</tvar>" toolbar menu within the Reference editor.</translate>
| [[{{lm|VisualEditor Template Insert Menu|png|-}}|frameless|border|center|200px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:64--> 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>
<!--T:144-->
After you are done editing your new template, press on "<tvar name=apply>{{int|visualeditor-dialog-action-apply}}</tvar>" to return to the Reference editor, and "<tvar name=apply>{{int|visualeditor-dialog-action-apply}}</tvar>" again to return to the page you are editing.</translate>
| [[{{lm|VisualEditor - Editing references 9|png|-}}|frameless|border|center|400px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:66--> 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>
<!--T:67-->
Place the cursor where you want to display the references list (usually at the bottom of the page), open the "<tvar name=insert>{{int|visualeditor-toolbar-insert}}</tvar>" menu and press the "<tvar name=referencelist>{{int|cite-ve-dialogbutton-referenceslist-tooltip}}</tvar>" icon (three books).</translate>
| [[{{lm|VisualEditor References List Insert Menu|png|-}}|frameless|border|center|200px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:70--> 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>
<!--T:69-->
The final step in the References list dialog is to press "<tvar name=insert-button>{{int|visualeditor-dialog-action-insert}}</tvar>".</translate>
| [[{{lm|VisualEditor references list|png|-}}|frameless|border|center|400px]]
|-
| colspan=2 |
==== <translate><!--T:213--> Using standard cite templates</translate> ====
|-
| <translate><!--T:215--> Your local wiki may have added extra citation templates to the "<tvar name=cite>{{int|cite-ve-toolbar-group-label}}</tvar>" menu. If so, you have quick access to the most-used citation templates for your wiki.</translate> <translate><!--T:216--> (Instructions for adding extra citation templates to your local wiki are available at <tvar name=1>{{ll|VisualEditor/Citation tool}}</tvar>.)</translate>
| [[{{lm|Manual_tab_only_-_visual_editor_-_citations|png|-}}|frameless|border|200px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:219--> 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>
| [[{{lm|VisualEditor - Editing references - Cite book required fields|png|-}}|frameless|border|430px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:221--> To add more parameters, scroll down in the template editor and press on the "<tvar name=add-param>{{int|visualeditor-dialog-transclusion-add-param-save}}</tvar>" option.</translate>
 
<translate><!--T:223--> Press on "<tvar name=insert-citation>{{int|visualeditor-dialog-action-insert}}</tvar>" when you are done.</translate>
| [[{{lm|VisualEditor - Editing references - Add parameter|png|-}}|frameless|border|200px|center]]
|}
 
{{anchor|Editing images and other media files|Images}}
== <translate><!--T:248--> Editing images and other media files</translate> ==
 
{| cellpadding="15"
|-
| colspan=2 |
=== <translate><!--T:249--> Editing images</translate> ===
|-
| <translate><!--T:37--> To add a new image (or another type of media file) to the page, press the "<tvar name=dialog>{{int|visualeditor-dialogbutton-media-tooltip}}</tvar>" icon (a picture of mountains) in the "<tvar name=toolbar>{{int|visualeditor-toolbar-insert}}</tvar>" menu. The image will be added wherever your cursor is.</translate>
| [[{{lm|VisualEditor Media Insert Menu|png|-}}|frameless|border|200px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:39--> Pressing the "<tvar name=media>{{int|visualeditor-dialogbutton-media-tooltip}}</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>
<!--T:40-->
You can change the search by changing the text in the dialog's search box.
 
<!--T:41-->
To choose a file, press on its thumbnail image.
 
<!--T:240-->
This places the image onto the page you are editing.
</translate>
| [[{{lm|VisualEditor - Media editing 2|png|-}}|frameless|border|center|500px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:121--> 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>
| [[{{lm|VisualEditor - Media editing 6|png|-}}|frameless|border|center|400px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:172--> 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>
| [[{{lm|VisualEditor - Media editing 7|png|-}}|frameless|border|center|400px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:174--> You can also set various parameters for the image in the "<tvar name=advancedsettings>{{int|visualeditor-advancedsettings-tool}}</tvar>" window. These include the alignment, the type, and size of the image.</translate>
| [[{{lm|VisualEditor - Media editing 8|png|-}}|frameless|border|center|400px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:123--> When you are done, press "<tvar name=apply>{{int|visualeditor-dialog-action-apply}}</tvar>" to close the dialog and return to editing the page.</translate>
| [[{{lm|VisualEditor Apply Changes|png|-}}|frameless|border|center|150px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:232--> 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>{{int|visualeditor-dialogbutton-media-tooltip}}</tvar>" icon that appears below the picture.</translate>
 
<translate>
<!--T:233-->
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).
 
<!--T:234-->
You can also drag and drop an image to a place higher or lower on the page.
</translate>
| [[{{lm|VisualEditor - Media editing 3|png|-}}|frameless|center|360px]]
|}
 
=== <translate><!--T:325--> Uploading images</translate> ===
 
{| cellpadding="15"
|-
| <translate><!--T:302--> 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>
| [[{{lm|VisualEditor - Media upload 1|png|-}}|frameless|border|400px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:303--> Press the "<tvar name=1>{{int|visualeditor-dialog-media-search-tab-upload}}</tvar>" tab and select an image from your computer.</translate> <translate><!--T:527--> You can type the file name, or drag an image into the box.</translate> <translate><!--T:441--> If you dragged and dropped an image directly into the editor, or pasted one from your clipboard, this tab will open automatically.</translate>
| [[{{lm|VisualEditor - Media upload 1.5|png|-}}|frameless|400px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:304--> You need to describe the image and add categories to it so that other people can find it.</translate>
| [[{{lm|VisualEditor - Media upload 2|png|-}}|frameless|400px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:305--> The image will be inserted into the page when you are done.</translate>
| [[{{lm|VisualEditor-logo|svg|-}}|frameless|200px|center]]
|}
 
=== <translate><!--T:204--> Editing media galleries</translate> ===
 
{| cellpadding="15"
|-
| <translate><!--T:176--> To add a new gallery, press the "<tvar name=gallery>{{int|visualeditor-mwgallerydialog-title}}</tvar>" icon (a set of photos) on the "<tvar name=toolbar>{{int|visualeditor-toolbar-insert}}</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>
| [[{{lm|VisualEditor - Gallery1|png|-}}|frameless|border|150px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:180--> 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>
| [[{{lm|VisualEditor - Gallery2|png|-}}|frameless|border|center|500px]]
|-
| <translate><!--T:178--> 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><code><nowiki>|</nowiki></code></tvar>) and the caption for that image. You must put each image in the gallery on its own line.</translate> <translate><!--T:235--> You can also edit this list to remove or rearrange images or to change captions.</translate>
 
<translate>
<!--T:236-->
When you press the "<tvar name=1>{{int|visualeditor-dialog-action-done}}</tvar>" button, you will exit the gallery editor. You should then see your changes, with the gallery as it will now appear to readers.
 
<!--T:237-->
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>
| [[{{lm|VisualEditor - Gallery3|png|-}}|frameless|border|center|400px]]
|}
 
{{anchor|Editing templates}}
== <translate><!--T:293--> Editing templates</translate> ==
<translate>
<!--T:445-->
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]].
 
<!--T:446-->
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 === <!--T:447-->
</translate>
{| cellpadding="15"
|-
| <translate><!--T:72--> 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><!--T:448--> Then open the <tvar name=1>{{int|visualeditor-toolbar-insert}}</tvar> menu and select "<tvar name=2>[[File:OOjs_UI_icon_puzzle-ltr.svg]]&nbsp;{{int|visualeditor-dialogbutton-template-tooltip}}</tvar>".</translate> <translate><!--T:449--> Alternatively, type two curly brackets <tvar name=1>{{((}}</tvar> to open the same dialog.</translate>
| [[{{lm|VisualEditor Template Insert Menu|png|-}}|frameless|border|500x500px|center]]
|-
|<translate><!--T:516--> Find the template you want to insert by typing either its name or a relevant keyword.</translate> <translate><!--T:517--> Results containing the search term in either the name or description will display in a dropdown.</translate> <translate><!--T:518--> This should help you find a relevant template, even if you don’t know its exact name.</translate>
 
<translate><!--T:519--> 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><!--T:520--> When you find the desired template’s name, you can type it into this field to insert it here.</translate>
| [[File:VisualEditor_Template_Search.png|alt=<translate nowrap><!--T:521--> Screenshot of the template search field in the Visual Editor</translate>|center|frameless|500x500px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:76--> You can also edit a template that’s already on a page.</translate> <translate><!--T:450--> 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]]&nbsp;{{int|visualeditor-dialogbutton-template-tooltip}}</tvar>".</translate> <translate><!--T:451--> Then select the "<tvar name=1>{{int|vector-view-edit}}</tvar>" link  or double click on the template itself to open the template.</translate>
| [[File:VisualEditor_Template_Context_Menu.png|alt=Screenshot of the VisualEditor interface with a template selected|center|frameless|300x300px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:347--> Some templates are not visible to someone reading a page.</translate> <translate><!--T:348--> In the visual editor, such hidden templates are still shown so that you can click and edit or delete them.</translate> <translate><!--T:381--> The name of the template will be shown next to the puzzle icon and both will be grayed out.</translate>
|[[File:VisualEditor_Hidden_Templates.png|alt=Screenshot of hidden templates in the Visual Editor interface|center|frameless|474x474px]]
 
|-
| colspan=2 | <hr />
|-
| colspan=2 |
{{anchor|Template parameters}}
=== <translate><!--T:294--> Template parameters</translate> ===
|-
| <translate><!--T:452--> You’ll see this dialog box when you’re adding a new template or editing one already in place.</translate> <translate><!--T:453--> What you see in the box depends on whether the template in question contains <tvar name=1>{{ll|Extension:TemplateData|TemplateData}}</tvar>, helpful metadata added by other editors to make it easier to edit templates in the Visual Editor.</translate>
 
<translate>
<!--T:454-->
When a template contains TemplateData, the VisualEditor can use it to present annotated fields for you to fill in.
</translate>
 
 
<translate><!--T:455--> 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>
|[[File:Template_parameters_in_VisualEditor.png|alt=Screenshot of template parameters in the Visual Editor interface|center|frameless|500x500px|Template parameters in the Visual Editor interface]]
|-
| colspan="2" |<hr />
|-
| <translate><!--T:502--> You can disable any optional parameter (which have blue checkboxes on the left side).</translate> <translate><!--T:503--> If a parameter’s checkbox is grayed out and not clickable, the template requires that parameter, so it can’t be disabled.</translate>
 
<translate><!--T:504--> When you insert a new template, you may find that some optional parameters are pre-selected.</translate> <translate><!--T:505--> That means the author(s) of the template recommends the use of those parameters.</translate> <translate><!--T:506--> It’s best to review all parameters that will be used in a template to ensure you understand their use.</translate>
 
<translate><!--T:507--> Clicking an unchecked parameter adds it to the template.</translate> <translate><!--T:508--> Clicking a parameter that’s already been added takes you to the parameter’s input field.</translate>
 
<translate><!--T:509--> Some template parameters will show as “deprecated”.</translate> <translate><!--T:510--> 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>
|[[File:Interface for adding more parameters to a template in the VisualEditor (new).png|alt=Screenshot of template parameters in the Visual Editor interface|center|frameless|500x500px|Interface for adding more parameters to a template in the VisualEditor]]
|-
| colspan=2 | <hr />
|-
| colspan=2 |
{{anchor|Adding undocumented parameters}}
<translate>
==== Adding undocumented parameters ==== <!--T:456-->
</translate>
|-
| <translate><!--T:457--> 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><!--T:458--> In these cases, you should consult the page for the template itself.</translate> <translate><!--T:459--> There you can learn how to correctly employ and work with all of the template’s parameters.</translate> <translate><!--T:460--> This includes learning the exact names of the parameters as written by the template author. </translate>
 
<translate><!--T:461--> 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>
<!--T:462-->
Example:
</translate>
* <translate><!--T:463--> first unnamed parameter: “1”</translate>
* <translate><!--T:464--> first unnamed parameter’s value: “en_US”</translate>
* <translate><!--T:465--> second unnamed parameter: “2”</translate>
* <translate><!--T:466--> second unnamed parameter’s value: “yes”</translate>
 
<translate>
<!--T:467-->
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>
|[[File:Template_without_TemplateData_in_VisualEditor_(old_UI).png|alt=Screenshot of a template missing TemplateData|center|frameless|500x500px|Template without TemplateData in the Visual Editor]]
|-
| colspan=2 | <hr />
|-
| colspan="2" |
{{anchor|Autogenerated parameters}}
<translate>
==== Autogenerated parameters ==== <!--T:468-->
</translate>
|-
| <translate><!--T:469--> 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><!--T:470--> 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>
|[[File:Autogenerated_parameters_in_the_VisualEditor.png|center|frameless|500x500px]]
|-
| colspan=2 | <hr />
|-
| colspan=2 |
{{anchor|Editing multi-part template content}}
<translate>
==== Editing multi-part template content ==== <!--T:471-->
</translate>
|-
| <translate><!--T:472--> During editing, you may open template content consisting of multiple templates or a single template linked to some wikitext.</translate> <translate><!--T:473--> This differs from the nested templates described below.</translate> <translate><!--T:474--> In this case, the templates are better visualized as being stacked or connected.</translate>
 
<translate><!--T:475--> 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><!--T:511--> These related pieces of template content must be created in wikitext, but can be edited in the VisualEditor.</translate> <translate><!--T:512--> 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><!--T:513--> There you can use the icon buttons to add additional templates, additional wikitext, delete elements or change their order.</translate>
 
|[[File:Multi-part_template_content_in_the_VisualEditor (new).png|alt=Screenshot of the interface to edit multi-part template content in the VisualEditor|center|frameless|500x500px|Editing multi-part template content in the VisualEditor]]
|-
| colspan=2 | <hr />
|-
| colspan="2" |
<translate>
==== Nested templates ==== <!--T:476-->
</translate>
|-
| <translate><!--T:477--> 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 <nowiki>( {{ }} )</nowiki> denoting a template. </translate>
 
<translate><!--T:478--> 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>
| [[File:Embedded_template_in_VisualEditor.png|alt=Screenshot of the VisualEditor template interface showing an embedded template|center|frameless|417x417px|Embedded template in the VisualEditor]]
|-
| colspan=2 | <hr />
|-
|-
| colspan=2 |
<translate>
=== Completing your edit === <!--T:479-->
</translate>
|-
| <translate><!--T:82--> When you have finished editing a template, you can click "<tvar name=apply>{{int|visualeditor-dialog-action-apply}}</tvar>".</translate> <translate><!--T:480--> Then you can preview your edit and make sure it looks the way you want and expect.</translate>
 
<translate><!--T:481--> 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><!--T:482--> You may need to consult the template’s own documentation to get to the bottom of some errors.</translate>
<translate><!--T:483--> If you’re still having trouble, consider posting about your problem on the template’s talk page.</translate>
| [[{{lm|VisualEditor Apply Changes|png|-}}|frameless|border|center|150px]]
|-
| colspan=2 | <hr />
|-
| colspan=2 |
<translate>
=== Removing a template === <!--T:496-->
</translate>
|-
| <translate><!--T:497--> To remove a template in the VisualEditor, click the template box.</translate> <translate><!--T:514--> Press the "Delete" or "Backspace" key on your keyboard.</translate> <translate><!--T:515--> The template will disappear from the page.</translate>
| [[File:Removing_templates_from_a_page_via_context_menu_new.png|alt=Screenshot of the button to remove a template|center|frameless|<translate><!--T:500--> Removing a template in the VisualEditor</translate>]]
|-
| colspan=2 | <hr />
|-
| colspan=2 |
<translate>
=== Editing on mobile === <!--T:484-->
</translate>
|-
| <translate><!--T:485--> 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>
 
| [[File:VisualEditor_template_editing_on_mobile.png|alt=Screenshot of editing a template on a mobile device|center|frameless|280px|<translate><!--T:501--> Editing a template on mobile in the VisualEditor</translate>]]
|-
| colspan=2 | <hr />
|-
| colspan=2 |
=== <translate><!--T:149--> Substituting templates</translate> ===
|-
| <translate><!--T:486--> 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><!--T:487--> 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><!--T:488--> There’s another, much less common way to use templates, though, and that’s to [[w:Help:Substitution|substitute]] a template.</translate>
<translate><!--T:489--> 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><!--T:490--> Most users won’t ever need to resort to substitution.</translate>
<translate><!--T:491--> 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><!--T:492--> To substitute a template in the VisualEditor, insert a template using the name syntax <code>subst:&lt;template name></code>.</translate>
<translate><!--T:493--> (Autocomplete doesn’t work in this case.)</translate>
<translate><!--T:494--> Then press the blue “Add template” button.</translate>
 
<translate>
<!--T:495-->
When you’re finished, press “Insert”, which will insert the template content as you see it.
</translate>
| [[File:SUBST_in_VE.png|alt=Screenshot of editor using SUBST to add a template|center|frameless|418x418px|Adding a template using SUBST in the VisualEditor]]
|}
 
<translate>
== Editing lists == <!--T:421-->
</translate>
{| cellpadding="15"
|-
| [[{{lm|VisualEditor Toolbar Lists and indentation|png|-}}|frameless|border|300px|center]]
| <translate><!--T:382--> 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><!--T:383--> 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>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor lists 1 unordered bullet|png|-}}|frameless|border|center|200px]]
  [[{{lm|VisualEditor lists 2 ordered numbered|png|-}}|frameless|border|center|200px]]
| <translate><!--T:384--> Shown here are examples of the two types of lists: unordered (bullet) and ordered (numbered).</translate>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor lists 3 select to indent|png|-}}|frameless|border|center|200px]]
| <translate><!--T:385--> 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>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor lists 4 indentation menu|png|-}}|frameless|border|center|500px]]
| <translate><!--T:386--> 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>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor lists after indenting|png|-}}|frameless|border|center|400px]]
| <translate><!--T:387--> Here is the result of increased indentation.</translate>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor lists mixed|png|-}}|frameless|border|center|300px]]
| <translate><!--T:388--> You can even mix ordered (numbered) and unordered (bullet) lists, if the list items have different indentations.</translate>
|}
 
== <translate><!--T:275--> Editing tables</translate> ==
 
{| cellpadding="15"
|-
| [[{{lm|VisualEditor insert table|png|-}}|frameless|border|center|200px]]
| <translate><!--T:269--> You can use the visual editor to insert and change tables.</translate>
 
<translate><!--T:284--> You can even import a table by dragging a comma-separated value (.csv) file from your computer into the main editing window.</translate>
|-
| colspan=2 | <hr />
|-
| <translate><!--T:307--> When you press on "Table", in the "<tvar name=toolbar>{{int|visualeditor-toolbar-insert}}</tvar>" menu, the visual editor inserts a blank four-by-four table.</translate>
 
<translate><!--T:389--> Now the "Table" menu is available. From that menu, you can add a caption to the top of the table.</translate>
|[[{{lm|VisualEditor empty table|png|-}}|frameless|border|center|170px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:390--> To select a cell, press it once.</translate>
|[[{{lm|VisualEditor tables select one cell|png|-}}|frameless|border|center|400px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:391--> 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><!--T:392--> To end your editing of a cell, just press elsewhere.</translate>
|[[{{lm|VisualEditor tables type inside a cell|png|-}}|frameless|border|center|400px]]
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor table editing add and remove columns|png|-}}|frameless|border|center|253px]]
| <translate><!--T:271--> You can add, move or delete a column or a row.</translate>
|-
| colspan=2 | <hr />
|-
| <translate><!--T:393--> You can merge cells: Select them, then from the Table menu, press on "Merge cells".</translate>
|[[{{lm|VisualEditor tables merge cells|png|-}}|frameless|border|center|350px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:394--> 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>
|[[{{lm|VisualEditor tables post-merge cell|png|-}}|frameless|border|center|350px]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:395--> 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>
|[[{{lm|VisualEditor tables split cells|png|-}}|frameless|border|center|350px]]
|}
 
{{anchor|Editing categories}}
== <translate><!--T:84--> Editing categories</translate> ==
 
{| cellpadding="15"
|-
| [[{{lm|VisualEditor category item|png|-}}|frameless|border|200px|center]]
| <translate><!--T:167--> To edit categories, on the "<tvar name=pagemenu>{{int|visualeditor-pagemenu-tooltip}}</tvar>" menu, press the "<tvar name=categories-tool>{{int|visualeditor-categories-tool}}</tvar>" item.</translate>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor category editing|png|-}}|frameless|border|center|500px]]
| <translate><!--T:88--> Pressing on "<tvar name=categories-tool>{{int|visualeditor-categories-tool}}</tvar>" opens a dialog that lists existing categories and allows you to add new ones, and to delete existing categories.</translate>
 
<translate>
<!--T:89-->
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.
 
<!--T:242-->
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>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor - Category editing 3|png|-}}|frameless|border|center|500px]]
| <translate><!--T:91--> To add a category for a page, type the name of the category into the field "<tvar name=apply>{{int|visualeditor-dialog-meta-categories-input-placeholder}}</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>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor - Category editing 2|png|-}}|frameless|border|center|400px]]
| <translate><!--T:93--> To remove an existing category, press on it and press on the "<tvar name=remove>{{int|visualeditor-inspector-remove-tooltip}}</tvar>" icon (trash can) in the dialog that opens.</translate>
 
<translate><!--T:94--> 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>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor Apply Changes|png|-}}|frameless|border|center|150px]]
| <translate><!--T:96--> Press "<tvar name=apply>{{int|visualeditor-dialog-action-apply}}</tvar>" when you are done editing categories to return to the page editor.</translate>
|}
 
{{anchor|Editing page settings}}
== <translate><!--T:182--> Editing page settings</translate> ==
 
{| cellpadding="15"
|-
| [[{{lm|VisualEditor page settings item|png|-}}|frameless|border|500px|center]]
| <translate><!--T:184--> To edit a page's settings, press to open the "<tvar name=pagemenu>{{int|visualeditor-pagemenu-tooltip}}</tvar>" menu, in the toolbar, and select the "<tvar name=page-settings>{{int|visualeditor-dialog-meta-settings-label}}</tvar>" button.</translate>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor Page Settings|png|-}}|frameless|border|center|500px]]
| <translate><!--T:186--> The "<tvar name=page-settings>{{int|visualeditor-dialog-meta-settings-label}}</tvar>" button opens a dialog that shows several options.</translate>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor Page Settings Redirects|png|-}}|frameless|border|center|500px]]
| <translate><!--T:188--> You can make a page a redirect to another page by checking the "<tvar name=redirect-label>{{int|visualeditor-dialog-meta-settings-redirect-label}}</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><!--T:189--> At the bottom is the option to prevent page renames from updating this redirect. This is very rarely used.</translate>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor Page Settings TOC|png|-}}|frameless|border|center|500px]]
| <translate><!--T:193--> 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>{{int|visualeditor-dialog-meta-settings-toc-default}}</tvar>", which shows a Table of Contents if there are three or more headings.</translate>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor Page Settings Edit Links|png|-}}|frameless|border|center|400px]]
| <translate><!--T:191--> You can make a page not show edit links next to each section header by checking this checkbox.</translate>
|-
| colspan=2 | <hr />
|-
| [[{{lm|VisualEditor Apply Changes|png|-}}|frameless|border|center|300px]]
| <translate><!--T:195--> Press "<tvar name=apply>{{int|visualeditor-dialog-action-apply}}</tvar>" when you are done editing the <tvar name=pagemenu>{{int|visualeditor-pagemenu-tooltip}}</tvar> to return to the page editor.</translate>
|}
 
== <translate><!--T:442--> Editing maps</translate> ==
{| cellpadding="15"
| [[{{lm|Visual editor showing editing an existing map|jpg|-}}|frameless|border|400px|center]]
| <translate><!--T:443--> You can add and change maps. See <tvar name=1>{{ll|Help:VisualEditor/Maps}}</tvar>.</translate>
|}
 
{{anchor|Editing mathematical formulae}}
== <translate><!--T:196--> Editing mathematical formulae</translate> ==
 
{| cellpadding="15"
| <translate><!--T:198--> 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>{{int|math-visualeditor-mwmathdialog-title}}</tvar>" icon ("Σ") in the "<tvar name=insert>{{int|visualeditor-toolbar-insert}}</tvar>" menu on the toolbar.</translate>
| [[{{lm|VisualEditor Formula Insert Menu|png|-}}|frameless|border|400px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:200--> 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>{{int|visualeditor-dialog-action-insert}}</tvar>" button.</translate>
| [[{{lm|VisualEditor formula|png|-}}|frameless|border|400px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:202--> 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>
| [[{{lm|VisualEditor - editing existing mathematical formula|png|-}}|frameless|border|400px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:396--> Mathematical formulae can be placed inline or centered as a block.</translate>
|[[{{lm|VisualEditor mathematic formula inline|png|-}}|frameless|border|400px|center]]
|}
 
<translate>
== Editing musical scores == <!--T:423-->
</translate>
{| cellpadding="15"
| <translate><!--T:424--> To add a new musical notation to a page, place your cursor where you want the musical notation to be inserted.</translate> <translate><!--T:425--> Then, from the "Insert" menu on the toolbar, press the "Musical notation" option.</translate>
 
<translate>
<!--T:426-->
To edit an existing musical notation on the page, double press on it.
</translate>
| [[{{lm|VisualEditor-Insert-Musical-Notation|png|-}}|frameless|border|400px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:427--> This will open the "Musical notation" dialog. Here the notation can be edited by scale, either in ABC or in Lilypond format.</translate> <translate><!--T:428--> You can also link the notation to an audio or MIDI file.</translate> <translate><!--T:429--> Once you are finished, press the "Done" button to close the dialog and publish your changes.</translate>
| [[{{lm|Musical|png|-}}|frameless|border|400px|center]]
|}
 
== <translate><!--T:97--> Editing poems and other special items</translate> ==
 
{| cellpadding="15"
| <translate><!--T:98--> Some items, such as association lists and poems, are not yet fully supported by the visual editor.</translate>
| [[{{lm|VisualEditor editing poem 1|png|-}}|frameless|border|400px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:285--> In most cases, the existing items can be edited, but new ones cannot be inserted in the visual editor.</translate>
 
<translate><!--T:286--> Until they are fully supported, you can copy an existing one from another page, or edit the source wikitext directly.</translate>
 
| [[{{lm|VisualEditor editing poem 2|png|-}}|frameless|border|400px|center]]
|-
| colspan=2 | <hr />
|}
 
== <translate><!--T:397--> Switching between the visual and wikitext editors</translate> ==
 
{| cellpadding="15"
|
<translate><!--T:398--> To switch from the visual editor to the wikitext editor, press the <tvar name=1><code>[[&nbsp;]]</code></tvar> button on the far right of the toolbar.</translate>
| [[{{lm|VisualEditor toolbar Page options - Switch to wikitext - Save|png|-}} |frameless|border|200px|center]]
|-
| colspan=2 | <hr />
|-
| <translate><!--T:400--> You'll see a diff. (If you pressed on "<tvar name=1>{{int|visualeditor-dialog-transclusion-confirmation-discard}}</tvar>", you'll just see wikitext, ready to edit with the wikitext editor.)</translate>
 
<translate><!--T:401--> Scroll down, and you'll see the wikitext editing area.</translate>
| [[{{lm|VisualEditor bi-directional switching diff before wikitext|png|-}} |frameless|border|500px|center]]
|-
| colspan=2 | <hr />
|-
|
<translate><!--T:402--> 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>
| [[{{lm|VisualEditor bi-directional switching pencil icon in wikitext|png|-}} |frameless|border|150px|center]]
|}
 
== <translate><!--T:99--> Keyboard shortcuts</translate> ==
 
<translate><!--T:100--> 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>
 
{| style="text-align:center; margin:auto;" cellpadding="15"
|-
! <translate><!--T:101--> PC shortcut</translate>
! <translate><!--T:102--> Action</translate>
! <translate><!--T:103--> Mac shortcut</translate>
|-
| colspan=3 | <hr />
|-
| {{Key press|Ctrl|B}}
| <translate><!--T:104--> Bold</translate>
| {{Key press|Cmd|B}}
|-
| colspan=3 | <hr />
|-
| {{Key press|Ctrl|I}}
| <translate><!--T:105--> Italics</translate>
| {{Key press|Cmd|I}}
|-
| colspan=3 | <hr />
|-
| {{Key press|Ctrl|K}}
| <translate><!--T:106--> Insert link</translate>
| {{Key press|Cmd|K}}
|-
| colspan=3 | <hr />
|-
| {{Key press|Ctrl|X}}
| <translate><!--T:107--> Cut</translate>
| {{Key press|Cmd|X}}
|-
| colspan=3 | <hr />
|-
| {{Key press|Ctrl|C}}
| <translate><!--T:108--> Copy</translate>
| {{Key press|Cmd|C}}
|-
| colspan=3 | <hr />
|-
| {{Key press|Ctrl|V}}
| <translate><!--T:109--> Paste</translate>
| {{Key press|Cmd|V}}
|-
| colspan=3 | <hr />
|-
| {{Key press|Ctrl|Z}}
| <translate><!--T:110--> Undo</translate>
| {{Key press|Cmd|Z}}
|}
<!-- Close **both** <div>s here -->
</div>
 
[[Category:VisualEditor{{#translation:}}|User guide]]
[[Category:Help{{#translation:}}]]

Revision as of 21:39, 7 March 2023

Summary

Source page

This is https://www.mediawiki.org/wiki/Help:VisualEditor/User_guide

For this file see



> Help:Index
>> Main Page