Help:VisualEditor/Guía del usuariu

From mediawiki.org
This page is a translated version of the page Help:VisualEditor/User guide and the translation is 25% complete.
Outdated translations are marked like this.
PD Avisu: Al editar esta páxina, aceutes distribuir la to collaboración baxo llicencia CC0. Llei les Páxines d'ayuda de Dominiu públicu pa más información.
PD


Abrir el Editor visual

Pa editar una páxina usando VisualEditor, calca na llingüeta «Editar» arriba de la páxina.

Abrir la páxina pa editar pue tardar dellos segundos, y más si la páxina ye llarga enforma.

Al calcar na llingüeta «Editar la fonte» abriráse l'editor clásicu de fonte de testu wiki.

VisualEditor edit tab-ast.png

Tamién pues abrir VisualEditor calcando nel enllaz «editar» de cada seición.
VisualEditor - Section edit links-en.png

Primeros pasos: la barra de ferramientes de VisualEditor

Captura de la barra de ferramientes de VisualEditor
La barra de ferramientes de VisualEditor apaez no alto de la pantalla al principiar la edición con VisualEditor. Incluye dellos iconos familiares:

VisualEditor - Toolbar - Undo-redo.png
Desfacer y Refacer los cambios fechos.

VisualEditor Toolbar Headings-ast.png
Menú estenderexable Cabeceres: permite camudar el formatu del párrafu. Pa cambiar l'estilu d'un párrafu, pon el punteru nel mesmu y seleiciona un elementu d'esti menú (nun necesites seleicionar testu). Los títulos de seición tienen el formatu «Cabecera», y les subseiciones son «Cabecera secundaria 1», «Cabecera secundaria 2» y asina socesivamente. El formatu normal pal testu ye «Párrafu»

VisualEditor Toolbar Formatting-ast.png

Formatu: Al facer click en «A» ábrese un menú.

  • L'elementu "Negrina" (B) pon en negrina'l testu seleicionáu.
  • L'elementu "Cursiva" (I) pon en cursiva'l testu seleicionáu.
  • L'elementu "Superíndiz" (x2) fai que'l testu seleicionáu apaeza más pequeñu y que tea llixeramente más altu que'l testu alredor.
  • L'elementu "Subíndiz" (x2) fai que'l testu seleicionáu apaeza más pequeñu y que tea llixeramente más abaxo que'l testu alredor.
  • L'elementu "Tacháu" (S) amiesta una raya sólida a lo llargo del testu seleicionáu.
  • L'elementu "Códigu d'ordenador" (un par de llaves: {}) cambia la tipografía del testu seleicionáu a una fonte monoespaciada, que s'estrema del testu d'alredor (con espaciáu proporcional).
  • L'elementu "Sorrayao" (U) amiesta una raya sólida baxo'l testu seleicionáu.
  • L'elementu "Llingua (文A) te permite etiquetar la llingua (por exemplu, xaponés) y la direición (for exemplu, de drecha a izquierda) del testu seleicionáu.
  • L'elementu final (VisualEditor MediaWiki theme clear icon bitmap.png), llamáu "Desaniciar", quita tol formatu de caráuteres del testu seleicionáu, incluyendo los enllaces.

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.


VisualEditor - Toolbar - Linking.png
Ferramienta d'enllazáu: L'iconu de la cadena ye la ferramienta d'enllazáu. Al facer click nella (de vezu después de seleicionar un testu) ábrese'l diálogu d'enllazáu.

VisualEditor - Cite Pulldown.png
Menú Citar: El menú «Citar» úsase p'amestar cites en llinia (llamaes tamién «notes al pie» o «referencies»). Tolos proyeutos tienen accesu al formatu básicu de referencies y la capacidá de reutilizar cites usando esti menú. Esti menú tamién da a los usuarios accesu rápidu a les plantíes de cita llocales, si tán activaes na wiki.

(Les instrucciones p'amestar les plantíes de cita llocales al menú Citar d'una wiki determinada tán disponibles en VisualEditor/Citation tool )


VisualEditor citoid Cite button-en.png
Botón Citar: Si'l serviciu citoid ta activáu na to wiki, verás un botón Citar en llugar d'un menú Citar. (To check whether it's enabled, see the page "Special:Version" on your wiki and the page Where citoid is enabled.)

El serviciu citoid intenta rellenar automáticamente les plantíes de cites.


VisualEditor Toolbar Lists and indentation-ast.png
Llistes y sangría: Los dos primeros iconos permiten facer llistes numberaes o de viñetes, respeutivamente. Los dos últimos permiten aumentar o amenorgar el nivel de sangráu del conteníu.

VisualEditor Insert Menu-ast.png
Inxertar: El menú "Inxertar" pue ser diferente en dellos proyeutos. Abaxo ta la llista de toles opciones que puen apaecer.
  • L'iconu "Imáxenes y multimedia" (una imaxe de montes) abre'l diálogu de medios.
  • L'iconu "Plantía" (una pieza de frañatiestes) te permite editar plantíes.
  • The "Table" item allows you to insert a table.
  • L'elementu "Comentariu" (un bocadillu de fala) te permite insertar comentarios que nun son visibles pa los llectores; estos comentarios puen vese sólo tando nel mou d'edición, onde s'indiquen con un iconu d'esclamación. Nel mou d'edición, facer click nel iconu de marca d'esclamación te permite editar o desaniciar el comentariu.
  • L'iconu "Xeroglíficos" (un símbolu ankh - ☥) te permite entrar al insertador de xeroglíficos. (Ver más abaxo.)
  • The "Code block" item allows you to insert code.
  • The "Musical notation" item allows you to insert a musical notation.
  • L'iconu "Galería" (un mazu de fotos) te permite insertar una galería na páxina.
  • L'iconu "Fórmula matemática" (Σ) abre'l dialogu insertar fórmula.
  • The "Graph" item allows you to insert a graph.
  • The "La to firma" item allows you to insert a signature that you use on the project. 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.
  • L'iconu "Llista de referencies" (trés llibros) abre un diálogu onde pues conseñar ónde s'amosarán al llector les referencies. De vezu esto sólo tien de facese una vez pa una páxina.

Insertar un caráuter especial: L'iconu «Caráuter especial» (Ω) ta cabo'l menú «Inxertar». Al primir nel apaez un diálogu qu'amuesa munchos caráuteres especiales. Al facer clic nun caráuter determináu, póneslu nel testu. estos caráuteres especiales incluyen dellos símbolos estándar, diacríticos, y símbolos matemáticos. (Esta llista pué personalizase de mou llocal. Mira VisualEditor/Special characters pa más instrucciones).
VisualEditor Toolbar SpecialCharacters-ast.png

VisualEditor toolbar edit notices icon.png
The Edit notices button displays any notices for the page.

VisualEditor More Settings-ast.png
The Opciones de la páxina menu is to the left of the Espublizar los cambeos button and the Cambiar d'editor menu. On this menu there is a button to open an Opciones dialog with the following (left side) tabs:
  • Categoríes 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.
  • Configuración de la páxina 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.
  • Configuración avanzada 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.
  • Llingües shows a list of pages in other languages that are linked to that page.
  • Plantíes utilizaes shows a list of links to each template used on this page.

The tabs of the Opciones dialog are also displayed in the Opciones de la páxina menu and can be opened by clicking on it. Furthermore the Opciones de la páxina menu contains the items Ver d'izquierda a derecha or Ver de derecha a izquierda and the item Buscar y trocar, 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.


OOjs UI icon edit-ltr.svg
The Cambiar d'editor button is next to the Espublizar los cambeos button. It allows you to switch to the wikitext editor.

Guardando los cambios

Cuando acabes d'editar fai click nel botón azul "Espublizar los cambeos" de la barra de ferramientes. Si nun ficisti cambios, el botón tará desactiváu (en buxu). Pa encaboxar los cambios na edición, zarra la ventana del restolador o fai click na llingüeta «Lleer» arriba de la barra d'edición.
VisualEditor toolbar actions-ast.png

Al primir nel botón azul «Espublizar los cambeos...» ábrese un diálogu. Entós podrás escribir un resume curtiu de les aiciones, marcar la edición como menor, y/o amestar la páxina a la $watchlist. El cuadru pal resume ye l'equivaliente al campu Resume: del editor de testu wiki.

Tamién pues revisar los cambios usando'l botón Revisar los cambios p'asegurate de que funcionen como ta previsto enantes de guardalos. Esti ye asemeyáu al botón Amosar cambeos del editor de testu wiki.

El botón «Siguir editando» devuélvete a la páxina que tabes editando. Más sero pues guardar allí tolos cambios.

VisualEditor save dialog-ast.png

Editar los enllaces

VisualEditor - Toolbar - Linking.png
Los enllaces puen amestase col iconu "Enllaz" (eslabones d'una cadena) de la barra de ferramientes, o usando l'atayu Ctrl+K (o ⌘ Command+K nun Mac).

Si seleiciones (resaltes) testu y primes el botón "Enllaz" usaráse esi testu pa crear l'enllaz. Pa enllaces qu'afeuten sólo a una palabra puedes seleicionala o poner el punteru n'esa palabra.


VisualEditor-link tool-search results-ast.png
Cuando uses el botón o l'atayu, abriráse un diálogu onde podrás escribir l'enllaz.
La ferramienta d'enllaz intentará ayudar colos enllaces internos buscando posibles coincidencies.

En teniendo escritu o seleicionáu l'enllaz, el procesu d'enllazáu complétase primiendo ↵ Enter o primiendo el botón «Fecho». L'enllaz apaecerá dafechu na páxina de VisualEditor, pero igual qu'otros cambios, nun se guardará mentanto nun se guarde la páxina entera.


VisualEditor-link tool-external link.png
Pa enllazar a una páxina web esterna, el procesu ye asemeyáu: seleiciona la llingüeta «Sitiu esternu» y escribe una URL nel cuadru.

VisualEditor link tool simple link.png
Los enllaces esternos sin etiquetes vense como esti: [1]. Pues amestalos poniendo'l punteru fuera de cualquier palabra (p.ex. después d'un espaciu). Abre la ferramienta enllaz faciendo clic nel botón o primiendo les tecles d'atayu. Escribe la URL nel cuadru, y fai clic nel botón «Fecho» pa insertar l'enllaz.

VisualEditor-context menu-link tool.png
Pa camudar o desaniciar un enllaz esistente, fai click nel testu del enllaz, y llueu prime l'iconu "Enllaz" qu'apaez cabo'l mesmu. Apaecerá'l diálogu pa editalu. (Tamién pues aportar al diálogu col atayu de tecláu Ctrl+K.) When a link is selected, it appears as blue framed.

Nel diálogu d'edición d'enllaz podrás darréu cambiar el destín del mesmu. Tamién pues desanicialu dafechu primiendo nel botón «Desaniciar» de la esquina superior derecha del diálogu. Tamién pué abrise'l destín del enllaz n'otra ventana faciendo click na copia del enllaz del cuadru de diálogu. (Escurque t'interese facelo pa comprobar si un enllaz esternu ye válidu.)

If you want to exit the link label (the text displayed as a link) or continue to write after this link, you can press :

  • 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)
  • Pressing it twice will put the cursor after the element linked, ready to type the rest of your text.

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

  • If you have selected (highlighted) the entire link label, the link will be deleted by typing any key.
  • 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. Now you may type in the new label for the kept link.
  • You can also link to categories, files and more.

Editar les referencies

For further information, see Help using citation templates or Help using citoid's "Citar" button

Determining which system is in place

Your wiki may use one of three footnote systems. The one shown on the right is the simplest system, where the "Citar" menu does not include any citation templates. If your wiki uses this system, then everything you need to know about footnotes is on this page.
VisualEditor cite menu default.png

The second system has the same type of "Citar" menu, but with several popular citation templates set up for quick access. If your wiki uses this system, then you will find more details at Help:VisualEditor/User guide/Citations-Templates
VisualEditor references more.png

VisualEditor citoid Cite button-en.png
In the third system, you again start by pressing the Citar button. Then a dialog box opens, which includes an automatic citation process using the citoid service. If your wiki uses this system, you will find more details at Help:VisualEditor/User guide/Citations-Full
VisualEditor Citoid Inspector-ast.png

Editar una referencia esistente

Pa editar una referencia esistente, fai click onde apaeza nel testu (de vezu como un númberu ente corchetes). Verás o un iconu "$ref" (marcapáxines) o un iconu (y nome) de la plantía que s'usó pa creala. En dambos casos, al facer click nel botón «Editar» abriráse un diálogu onde pues editar la referencia.
VisualEditor - Editing references 1.png

Pal iconu «$ref», al calcar en «Editar» abre'l diálogu Referencia. Pa principiar a editar la información de la referencia, primi nél.

Munches wikis usen plantíes pa dar formatu a les referencies. Si s'usa una plantía na referencia, al pasar el mur pela información de referencia resáltase tola información d'esi campu.

Si s'usó una plantía y ficisti click na información d'esa plantía, apaecerá l'iconu $template (pieza de rompecabeces). Fai click nesi iconu pa editar el conteníu de la plantía nel diálogu del mini-editor de plantíes.

VisualEditor - Editing references 6.png

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 "Editar" will open the template mini-editor dialog.
VisualEditor - Editing References - Cite Web.png

Dientro del mini-editor de plantíes, pues amestar o desaniciar tipos d'información o cambiar el conteníu actual. Supuestamente, sólo los campos (parámetros de la plantía) que tienen conteníu s'amuesen al principiu. P'amestar campos, fai clic en "Añadir" abaxo del mini-editor.
VisualEditor - Editing references 5.png

Calca "Aplicar los cambeos" cuando termines.
VisualEditor Apply Changes-ast.png

Re-utilizar una referencia esistente

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.

Pa reutilizar una referencia esistente, ponga'l punteru nel llugar del testu onde quier amestala, y calque nel iconu "Referencia" (marcapáxines) de la barra de ferramientes.

(Note: If your wiki has the third footnote system described above, you'll see a "Reutilizar" tab, in a dialog, instead of a "Reutilizar" item on the "Citar" menu.)

VisualEditor Cite menu re-use.png

Nel diálogu $reference-title, busca na llista la referencia que quies reutilizar, y seleiciónala. Si hai munches referencies, pue usar la barra de gueta (etiquetada «$input») pa ver sólo les referencies que casen con un testu determináu.
VisualEditor - Editing references 18.png

Amestar una nueva referencia

P'amestar una cita usando'l menú "$cite", pon el punteru nel llugar del testu onde quies amestala. Llueu seleiciona'l tipu de cita apropiáu nel menú.
VisualEditor references more.png

Usar la cita "Básica"

Shown here is what you will see if you select the basic references item. Nel editor de referencies pue amestar, editar y dar formatu a la so cita.

Pues facer que la referencia perteneza a un grupu determináu, anque normalmente esto déxase'n blanco. (Esta opción úsase p'amosar grupos de referencies cola ferramienta «Llista de referencies»).

VisualEditor - Editing references 20.png

In the Reference dialog, if you want to include a citation template, or any other template, in your new reference, press the Plantía icon (puzzle piece) in the "Inxertar" toolbar menu within the Reference editor.
VisualEditor Template Insert Menu-ast.png

Then, look for the template you want to use, add it and edit it as you would any other template. (See the Editing templates section, below, if you need more information about templates.)

After you are done editing your new template, press on "Aplicar los cambeos" to return to the Reference editor, and "Aplicar los cambeos" again to return to the page you are editing.

VisualEditor - Editing references 9.png

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.

Place the cursor where you want to display the references list (usually at the bottom of the page), open the "Inxertar" menu and press the "Llista de referencies" icon (three books).

VisualEditor References List Insert Menu-ast.png

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.

The final step in the References list dialog is to press "Inxertar".

VisualEditor references list-ast.png

Usar plantíes de cita estándar

Your local wiki may have added extra citation templates to the "Citar" menu. If so, you have quick access to the most-used citation templates for your wiki. (Instructions for adding extra citation templates to your local wiki are available at VisualEditor/Citation tool .)
VisualEditor - Editing References - Cite Pulldown.png

Pressing on a template icon such as "Cite book" will take you into the template mini-editor for that template. Important information fields may be marked with an asterisk. While the most common fields will be shown, not all of them are required.
VisualEditor - Editing references - Cite book required fields.png

To add more parameters, scroll down in the template mini-editor and press on the "Añadir" option.

Press on "Inxertar" when you are done.

VisualEditor - Editing references - Add parameter.png

Editing images and other media files

Editing images

P'amestar una nueva imaxe (o otru ficheru multimedia) a la páxina, faiga click nel iconu "Mediu" de la barra de ferramientes (una imaxe de montes).
VisualEditor Media Insert Menu-ast.png

Al calcar nel iconu "Imáxenes y multimedia" s'abre un diálogu que gueta automáticamente en Wikimedia Commons y na wiki llocal ficheros multimedia rellacionaos cola páxina que tas editando.

Pue buscar otros ficheros multimedia camudando'l testu del cuadru de gueta del diálogu.

Calque nuna miniatura pa escoyer un ficheru.

This places the image onto the page you are editing.

VisualEditor - Media editing 2.png

Después de que s'inxerte na páxina la imaxe seleicionada, abriráse otru diálogu. Esti diálogu te permite amestar y editar el pie de la imaxe. El pie pué tener formatu y enllaces.
VisualEditor - Media editing 6.png

The media dialog also allows you to add alternative text captions, to help users who use screen readers, or who have disabled image display.
VisualEditor - Media editing 7.png

You can also set various parameters for the image in the "Configuración avanzada" window. These include the alignment, the type, and size of the image.
VisualEditor - Media editing 8.png

Cuando termine, calque "Aplicar los cambeos" pa zarrar el diálogu y volver al editor de la páxina.
VisualEditor Apply Changes-ast.png

For an existing image, you can add or edit a caption or other settings by pressing on the image, then pressing on the "Imáxenes y multimedia" icon that appears below the picture.

You can resize an existing image by pressing on it, then moving the resize icon (the two-headed arrow on one or both bottom corners).

You can also drag and drop an image to a place higher or lower on the page.

VisualEditor - Media editing 3.png

Uploading images

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.
VisualEditor - Media upload 1.png

Press the "Upload" tab and select an image from your computer. You can type the file name, or drag an image into the box. If you dragged and dropped an image directly into the editor, or pasted one from your clipboard, this tab will open automatically.
VisualEditor - Media upload 1.5.png

You need to describe the image and add categories to it so that other people can find it.
VisualEditor - Media upload 2.png

The image will be inserted into the page when you are done.
VisualEditor-logo.svg

Editing media galleries

To add a new gallery, press the "Galería" icon (a set of photos) on the "Inxertar" 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.)
VisualEditor - Gallery1.png

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.
VisualEditor - Gallery2.png
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 (|) and the caption for that image. You must put each image in the gallery on its own line. You can also edit this list to remove or rearrange images or to change captions.

When you press the "Fecho" 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.

VisualEditor - Gallery3.png

Editing templates

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

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

Insert new template

To add a template to a page, place your cursor at the position on the page where you want the template to be inserted. Then open the Inxertar menu and select "OOjs UI icon puzzle-ltr.svg Plantía". Alternatively, type two curly brackets {{ to open the same dialog.
VisualEditor Template Insert Menu-ast.png
Find the template you want to insert by typing either its name or a relevant keyword. Results containing the search term in either the name or description will display in a dropdown. This should help you find a relevant template, even if you don’t know its exact name.

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. When you find the desired template’s name, you can type it into this field to insert it here.

Screenshot of the template search field in the Visual Editor

You can also edit a template that’s already on a page. When you select the template you want to edit, it turns blue, and a box appears displaying "OOjs UI icon puzzle-ltr.svg Plantía". Then select the "Editar" link or double click on the template itself to open the template.
Screenshot of the VisualEditor interface with a template selected

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

Template parameters

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

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


For templates that have some community-provided TemplateData, the VisualEditor displays a list of the named parameters and, often, descriptions and instructions explaining the meaning and required format for each parameter’s values.

Screenshot of template parameters in the Visual Editor interface
Template parameters in the Visual Editor interface

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

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

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

Some template parameters will show as “deprecated”. 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.

Screenshot of template parameters in the Visual Editor interface
Interface for adding more parameters to a template in the VisualEditor

Adding undocumented parameters

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

If you 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.

Example:

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

If you accidentally include nonexistent, misspelled or erroneous parameters, the values you enter for those parameters won’t show up on the page you’re editing.

Screenshot of a template missing TemplateData
Template without TemplateData in the Visual Editor

Autogenerated parameters

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

Editing multi-part template content

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

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.

These related pieces of template content must be created in wikitext, but can be edited in the VisualEditor. 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. There you can use the icon buttons to add additional templates, additional wikitext, delete elements or change their order.

Screenshot of the interface to edit multi-part template content in the VisualEditor
Editing multi-part template content in the VisualEditor

Nested templates

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

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.

Screenshot of the VisualEditor template interface showing an embedded template
Embedded template in the VisualEditor

Completing your edit

When you have finished editing a template, you can click "Aplicar los cambeos". Then you can preview your edit and make sure it looks the way you want and expect.

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

VisualEditor Apply Changes-ast.png

Removing a template

To remove a template in the VisualEditor, click the template box. Press the "Delete" or "Backspace" key on your keyboard. The template will disappear from the page.
Screenshot of the button to remove a template
Removing a template in the VisualEditor

Editing on mobile

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

Substituting templates

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

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

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

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

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

Screenshot of editor using SUBST to add a template
Adding a template using SUBST in the VisualEditor

Editing lists

VisualEditor Toolbar Lists and indentation-ast.png
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).

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.


VisualEditor lists 1 unordered bullet.png
VisualEditor lists 2 ordered numbered.png
Shown here are examples of the two types of lists: unordered (bullet) and ordered (numbered).

VisualEditor lists 3 select to indent.png
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.

VisualEditor lists 4 indentation menu.png
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)

VisualEditor lists after indenting.png
Here is the result of increased indentation.

VisualEditor lists mixed.png
You can even mix ordered (numbered) and unordered (bullet) lists, if the list items have different indentations.

Editing tables

VisualEditor insert table-ast.png
You can use the visual editor to insert and change tables.

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


When you press on "Table", in the "Inxertar" menu, the visual editor inserts a blank four-by-four table.

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

VisualEditor empty table.png

To select a cell, press it once.
VisualEditor tables select one cell.png

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.

To end your editing of a cell, just press elsewhere.

VisualEditor tables type inside a cell.png

VisualEditor table editing add and remove columns.png
You can add, move or delete a column or a row.

You can merge cells: Select them, then from the Table menu, press on "Merge cells".
VisualEditor tables merge cells.png

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.
VisualEditor tables post-merge cell.png

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.
VisualEditor tables split cells.png

Editing categories

VisualEditor category item-ast.png
To edit categories, on the "Opciones de la páxina" menu, press the "Categoríes" item.

VisualEditor category editing-ast.png
Pressing on "Categoríes" opens a dialog that lists existing categories and allows you to add new ones, and to delete existing categories.

You also have the option of setting or changing the general (default) 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".


VisualEditor - Category editing 3.png
To add a category for a page, type the name of the category into the field "Añada una categoría". 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.)

VisualEditor - Category editing 2.png
To remove an existing category, press on it and press on the "Desaniciar" icon (trash can) in the dialog that opens.

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.


VisualEditor Apply Changes-ast.png
Press "Aplicar los cambeos" when you are done editing categories to return to the page editor.

Editing page settings

VisualEditor page settings item-ast.png
To edit a page's settings, press to open the "Opciones de la páxina" menu, in the toolbar, and select the "Configuración de la páxina" button.

VisualEditor Page Settings-ast.png
The "Configuración de la páxina" button opens a dialog that shows several options.

VisualEditor Page Settings Redirects-ast.png
You can make a page a redirect to another page by checking the "Redirixir esta páxina a" 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.

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


VisualEditor Page Settings TOC-ast.png
You can change whether the page shows a Table of Contents by selecting one of these three buttons. The default option is "Si fai falta", which shows a Table of Contents if there are three or more headings.

VisualEditor Page Settings Edit Links-ast.png
You can make a page not show edit links next to each section header by checking this checkbox.

VisualEditor Apply Changes-ast.png
Press "Aplicar los cambeos" when you are done editing the Opciones de la páxina to return to the page editor.

Editing maps

Visual editor showing editing an existing map.jpg
You can add and change maps. See Help:VisualEditor/Maps .

Editing mathematical formulae

To add a new mathematical formula to the page, place your cursor where you want it to be inserted, and press on the "Fórmula matemática" icon ("Σ") in the "Inxertar" menu on the toolbar.
VisualEditor Formula Insert Menu-ast.png

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 "Inxertar" button.
VisualEditor formula-ast.png

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.
VisualEditor - editing existing mathematical formula.png

Mathematical formulae can be placed inline or centered as a block.
VisualEditor mathematic formula inline.png

Editing musical scores

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

To edit an existing musical notation on the page, double press on it.

VisualEditor-Insert-Musical-Notation.png

This will open the "Musical notation" dialog. Here the notation can be edited by scale, either in ABC or in Lilypond format. You can also link the notation to an audio or MIDI file. Once you are finished, press the "Done" button to close the dialog and publish your changes.
Musical.png

Editing poems and other special items

Some items, such as association lists and poems, are not yet fully supported by the visual editor.
VisualEditor editing poem 1.png

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

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

VisualEditor editing poem 2.png

Switching between the visual and wikitext editors

To switch from the visual editor to the wikitext editor, press the [[ ]] button on the far right of the toolbar.

VisualEditor toolbar Page options - Switch to wikitext - Save.png

You'll see a diff. (If you pressed on "Discard changes", you'll just see wikitext, ready to edit with the wikitext editor.)

Scroll down, and you'll see the wikitext editing area.

VisualEditor bi-directional switching diff before wikitext.png

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.

VisualEditor bi-directional switching pencil icon in wikitext.png

Atayos de tecláu

Munchos editores tan avezaos a escribir testu wiki direutamente, especialmente negrina, cursiva y enllaces wiki. Los atayos de tecláu permiten inxertar de mou rápidu formatos asemeyaos ensin necesidá d'usar los elementos de la barra de ferramientes. Estos son los atayos xenerales comunes de VisualEditor:

Atayu pa PC Aición Atayu pa Mac

Ctrl+B Negrina ⌘ Cmd+B

Ctrl+I Cursiva ⌘ Cmd+I

Ctrl+K Inxertar enllaz ⌘ Cmd+K

Ctrl+X Cortar ⌘ Cmd+X

Ctrl+C Copiar ⌘ Cmd+C

Ctrl+V Apegar ⌘ Cmd+V

Ctrl+Z Desfacer ⌘ Cmd+Z