Ajuda:Editor visual/Guia d'usuari
![]() |
Nota: Si editeu aquesta pàgina, esteu acceptant que la vostra actualització contribueixi en el marc de les CC0. Mireu Pàgines d'Ajuda de Domini Públic per a més informació.
|
![]() |
- Why are we building this?
- VisualEditor rollouts
- Frequently Asked Questions
- Media Q&A (in English)
- How to use VisualEditor
- VisualEditor roadmap
- User testing reports
- Design portal
- Update help pages
- Add TemplateData
- Help new users
- TranslationCentral
- Translate & localize documentation
Contents
- 1 Per obrir l'editor visual
- 2 Per començar: la barra d'eines de l'editor visual
- 3 Per desar els canvis
- 4 Edició dels enllaços
- 5 Editar referències
- 6 Editing images and other media files
- 7 Editar plantilles
- 8 Editar categories
- 9 Editing page settings
- 10 Editing mathematical formulae
- 11 Editar fórmules matemàtiques i altres elements especials
- 12 Dreceres de teclat
Per obrir l'editor visual[edit | edit source]
Per a editar una pàgina emprant l'editor visual, pitja a la pestanya "Edit" a dalt de la pàgina.
Obrir la pàgina per a editar-la pot trigar uns quants segons, o més si la pàgina és molt llarga. Pitjant a la pestanya "Edit source" obre l'editor clàssic de codi wikitext. |
|
|
|
També podeu obrir l'editor visual clicant l'enllaç "edit" a cada secció. |
Per començar: la barra d'eines de l'editor visual[edit | edit source]
La barra d'eines de l'editor visual es situa a dalt de la pantalla quan comences a editar amb l'editor visual. Conté unes icones familiars: | |
|
|
"Desfés i Refés" els canvis que heu fet. | |
|
|
Menú desplegable "Encapçalaments": us permet canviar el nivell de capçalera del text. Les seccions estàndard comencen amb un "Encapçalament" The normal format for text is "Paragraph". | |
|
|
Formatting: Clicking the "A" opens a menu. For any item to have an effect, you must have first selected (highlighted) some text.
|
|
|
|
Linking tool: The chain is the linking tool. Clicking on it (usually after selecting some text) opens the link dialog. | |
|
|
Cite menu: The "Cite" menu is used to add inline citations (also called "footnotes" or "references"). All projects have access to "Basic" reference formatting and the ability to "Re-use" citations, using this menu. This menu also gives you quick access to local citation templates, if these are enabled on your wiki.
(Instructions for adding local citation templates to the Cite menu at a specific wiki are available at VisualEditor/Citation tool.) |
|
|
|
Lists & indentation: The first two items allow you to format text as either a "Bullet list" or a "Numbered list". The last two items allow you to decrease or increase the indentation level of list items. | |
|
|
Mitjans, referències i transclusions: Cada una d'aquestes icones obre un diàleg dedicat:
|
|
|
|
Special character insertion: The "Special character" icon on the "Insert" menu, when clicked, displays a dialog showing many special characters. By clicking on a specific character, you place it into the text. These special characters include some standard symbols, accents, and mathematical symbols. (This list may be customized locally. See VisualEditor/Special characters for instructions.) | |
|
|
The Page options menu is to the left of the Save page button. On this menu there are options to adjust page settings, such as whether the page is a redirect, or how it is indexed; to add, edit, or delete categories; and to see, using the "Language" item, the list of articles on the same subject that are in other languages. You can also switch (one-way only) from VisualEditor to the classic wikitext source editor without losing the editing work you've done. |
Per desar els canvis[edit | edit source]
Quan hàgiu acabat d'editar, pitjeu el botó verd "Save page" a la barra d'eines. El botó verd no es pot pitjat si no heu fet cap canvi. To cancel all your editing changes, just close your browser window. | |
|
|
Pressing the green "Save page" 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 Summary (?): field in the wikitext editor.
You can also review your changes using the "Review your changes" button to be sure they will work as intended before saving your changes. This is similar to the "Show changes" button in the wikitext editor. The "Cancel" button returns you to the page you were editing. You can save all of your changes later. |
Edició dels enllaços[edit | edit source]
Es poden afegir enllaços mitjançant la icona "Enllaç" (anelles d'una cadena) a la barra d'eines,o bé emprant la drecera ⌃ Ctrl+K (o ⌘ Command+K a un Mac).
If you select (highlight) text and then press the "Link" button, a link will be inserted using that text. For single-word links it's enough to just do it while the caret is on that word. |
|
|
|
Emprar tant el botó com la drecera obrirà un diàleg en el qual pots escriure l'enllaç. L'editor visual t'ajudarà amb els enllaços interns (enllaços a d'altres pàgines de la Viquipèdia), ja que cercarà noms similars quan comencis a escriure.
VisualEditor will try to help with internal links by looking for likely matches as you begin to type. |
|
|
|
Once you have entered or selected the link, you complete the linking process by pressing ↵ Enter, pressing the "Done" button, or just clicking outside of the box. Your link will immediately appear on the VisualEditor page, but it will not be saved until you save the entire page. | |
|
|
To link to a web page on another website, the process is the similar: you enter a URL in the box, and it will be added as an "External link". | |
|
|
External links without labels look like this: [1]. You can add these by placing your cursor away from any word (e.g., after a space). Open the link tool by clicking on the button or pressing the shortcut keys. Type the URL in the box, and click the "Done" button to insert the link. | |
|
|
Per canviar o esborrar un enllaç existent, pitja l'enllaç en el text i després en la icona "Enllaç" que apareix al costat. També pots pitjar en la mateixa icona a la barra d'eines o emprar la drecera de teclar ⌃ Ctrl+K mentre estàs sobre l'enllaç.
In the dialog, you can then change where the link goes. You can also remove the link altogether by pressing the "Remove" button in the lower left corner of the dialog. You can also open the link's target in another window by clicking on the "Open" button. (You might want do this to check if an external link is valid.) |
Editar referències[edit | edit source]
Editar una referència existent[edit | edit source] |
|
|
|
Per editar una referència existent, feu clic a sobre del text, i llavors feu clic a la icona "Referència" que apareix al costat, o al mateix botó a la barra d'eines. | |
|
|
Si feu clic a la icona de Referències, s'obrirà un quadre de diàleg que inclou un mini-editor, on podreu editar el text de la referència.
Many wikis use templates to format references. If a template is used in your reference, then all the text in the template will be highlighted when you click on the reference information. If a template was used and you've clicked on information in that template, then the Template icon (puzzle piece) will appear. Click on that to edit the content of the template, in the template mini-editor dialog. |
|
|
|
If, instead of the "Basic" icon (bookmark), what appears when you click on a reference is an icon for a standard template for citations, clicking on that icon will take you directly to the template mini-editor dialog. | |
|
|
Inside the template mini-editor, you can add or remove types of information or change current content. Only fields (template parameters) that have content are supposed to be shown initially. To add fields, click on "Add more information" at the bottom of the mini-editor. | |
|
|
Click on "Apply changes" when you're done. | |
|
|
Reutilitzar una referència ja existent[edit | edit source] |
|
|
|
Si la pàgina ja conté referències, pots reutilitzar una de ja existent, si serveix per documentar el text.
Per reutilitzar una referència existent, col·loca el cursor on vols afegir-la en el text, i fes clic a la icona "Referència" de la barra d'eines. |
|
|
|
In the Reference 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 "What do you want to reference?") to list only those references that include certain text. | |
|
|
Afegir una nova referència[edit | edit source] |
|
|
|
To add a citation using the "Cite" menu, place your cursor where you want to add it in the text. Then select the appropriate citation type in the menu. | |
Using the "Basic" citation[edit | edit source] |
|
|
|
En l'editor de referències, pots afegir, editar i donar format a la teva citació.
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 "References list" tool.) |
|
|
|
Si estàs afegint una nova referència i hi vols incloure una plantilla, fes clic a la icona Inclusió (la peça de trencaclosques) de la barra d'eines de l'editor de referències. | |
|
|
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.)
Fes clic a "Desa els canvis" per tornar a l'editor de referències, i torna a fer clic a "Desa els canvis" per tornar a la pàgina. |
|
|
|
Si encara no hi ha una llista de referències a la pàgina (per exemple, si has afegit la primera referència de la pàgina), has d'afegir aquesta llista per tal que aparegui el text de la teva referència.
Place the cursor where you want to display the references list (usually at the bottom of the page), open the "Insert" menu and click the "References list" icon (three books). |
|
|
|
If you are using several groups of references, which is relatively rare, you can specify the group in this dialog. Only the references that belong to that group will be displayed here.
The final step in the References list dialog is to click "Insert". |
|
Using standard cite templates[edit | edit source] |
|
|
|
Your local wiki may have added extra citation templates to this menu. This offers quick access to the most-used citation templates. (Instructions for adding extra citation templates to your local wiki are available at VisualEditor/Citation tool.) | |
|
|
Clicking on a template icon such as "Cite book" will take you into the template mini-editor for that template. Important information fields may be marked with an asterisk. While the most common fields will be shown, not all of them are required. | |
|
|
To add additional parameters, scroll down in the template mini-editor and click on the "Add more information" option.
Click on "Insert" when you're done. |
Editing images and other media files[edit | edit source]
Editing images[edit | edit source]
Per afegir una nova imatge (o un altre arxiu de mitjans) a la pàgina, pitja a la icona "Mitjans" (una imatge de muntanyes) a la barra d'eines. | |
|
|
Clicking the "Media" icon opens a dialog that automatically searches Wikimedia Commons and your local wiki for media files related to the title of the page you're editing.
Podeu buscar altres fitxers multimèdia canviant el text al diàleg de cerca. Cliqueu una miniatura per a escollir un fitxer. This places the image onto the page you are editing. |
|
|
|
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. | |
|
|
The media dialog also allows you to add alternative text captions, to help users who use screen readers, or who have disabled image display. | |
|
|
You can also set various parameters for the image in the "Advanced settings" window. These include the alignment, the type, and size of the image. | |
|
|
Quan hàgiu acabat, cliqueu "Aplica els canvis" per a tancar el diàleg i tornar a la pàgina d'edició. | |
|
|
For an existing image, you can add or edit a caption or other settings by clicking on the image, then clicking on the "Media" icon that appears below the picture.
You can resize an existing image by clicking on it, then moving the resize icon (the two-headed arrow on the bottom left). You can also drag and drop an image to a place higher or lower on the page. |
Editing media galleries[edit | edit source]
|
|
To edit an existing gallery in VisualEditor, click that gallery. Then, near the bottom of the gallery, click the gallery icon (a set of photos). This brings up the gallery editor, with the full list of images included in the gallery. | |
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 click the "Done" 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 save your changes. As with other changes made using VisualEditor, you must save the entire page in order to save your work. |
Editar plantilles[edit | edit source]
To add a new template to the page, place your cursor where you want the template to be inserted, and click on the "Template" icon (puzzle piece) in the "Insert" menu. | |
|
|
Type the name of the template you want to insert. When you see it on the list, click on its name. Then click "Add template". | |
|
|
You can also edit templates that are already on the page by selecting them (they turn blue), and clicking on the "Template" icon (puzzle piece) that appears. | |
|
|
Adding a new template or opening an existing one opens the "Transclusion" dialog. If the template has have been updated to contain TemplateData information, then the dialog will show a list of individual parameters; otherwise, a link to the documentation will be available in the dialog.
If you are editing an existing template, and the template has been updated, then the dialog will show the values for the parameters. |
|
|
|
For an existing template, you edit the parameters already listed, and you can add additional parameters by clicking "Add more information", at the very bottom of the dialog. | |
|
|
Quan una plantilla inclou altres plantilles, aquestes sub-plantilles apareixen com a paràmetres. Es poden editar o eliminar fent clic al nom de la sub-plantilla.
Per afegir noves sub-plantilles, has de seguir els mateixos passos que per afegir un paràmetre. Si us plau, consulta la documentació de les plantilles per estar segur que la funcionalitat de les sub-plantilles està suportada. |
|
|
|
Quan hàgiu acabat, cliqueu "Aplica els canvis" per a tancar el diàleg i tornar a la pàgina d'edició. | |
|
|
Substituir plantilles[edit | edit source] |
|
|
|
Quan s'hagi de substituir una plantilla, escriu subst: (inclosos els dos punts) abans del nom de la plantilla.
La funcionalitat d'autocompletar no funciona amb Aleshores, fes clic al botó verd "Add template". |
|
|
|
Afegeix-hi els paràmetres de la forma habitual i "Desa els canvis". | |
|
|
En aquesta fase inicial, encara no veuràs el contingut de la plantilla inclòs a la pàgina. |
Editar categories[edit | edit source]
To edit categories, on the "Page options" menu, click the "Categories" button. | |
|
|
The "Categories" button opens a dialog that lists existing categories and allows you to add new ones.
You have the option of setting or changing the general (default) sorting key, which used to determine 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", and so in the category "Presidents of the United States", the article is listed under the letter "W", not the letter "G". |
|
|
|
To add a category for a page, type the name of the category into the field "Add a category". As you type, VisualEditor 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 save all your editing changes.) | |
|
|
To remove an existing category, click on it and click on the "Remove" icon (trash can) in the dialog that opens.
Clicking on a category also allows you to specify a sorting key for that specific category. Such a sorting key overrides the default sorting key. |
|
|
|
Fes clic a "Desa els canvis" quan acabis d'editar les categories, i tornaràs a l'editor de la pàgina. |
Editing page settings[edit | edit source]
To edit a page's settings, click to open the "Page options" menu, in the toolbar, and select the "Page settings" button. | |
|
|
The "Page settings" button opens a dialog that shows several options. | |
|
|
You can make a page a redirect to another page by checking the "Redirect this page to" 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're editing.
At the bottom is the option to prevent page renames from updating this redirect. This is very rarely used. |
|
|
|
You can change whether the page shows a Table of Contents by selecting one of these three buttons. The default option is "If needed", which shows a Table of Contents if there are three or more headings. | |
|
|
You can make a page not show edit links next to each section header by checking this checkbox. | |
|
|
Click "Apply changes" when you're done editing the Page options to return to the page editor. |
Editing mathematical formulae[edit | edit source]
To add a new mathematical formula to the page, place your cursor where you want it to be inserted, and click on the "Formula" icon ("Σ") in the "Insert" menu on the toolbar. | |
|
|
A window will open in which you can type the formula, using LaTeX syntax. VisualEditor 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, click the "Done" button. | |
|
|
To edit an existing mathematical formula on the page, click on it and then click on the "Σ" icon that appears. This will open up the formula window, where you make changes. | |
|
Editar fórmules matemàtiques i altres elements especials[edit | edit source]
Some items, such as poems and musical scores, are not yet supported by VisualEditor. Until they are, you will need to edit the source wikitext directly if you want to add these or change these.
Dreceres de teclat[edit | edit source]
Many editors are used to entering wikitext directly, especially bold, italics and wikilinks. Keyboard shortcuts allow to quickly insert similar formatting without having to use toolbar items. Here are the common general shortcuts in VisualEditor:
Drecera de PC | Acció | Drecera de Mac |
---|---|---|
|
||
⌃ Ctrl+B | Negreta | ⌘ Cmd+B |
|
||
⌃ Ctrl+I | Cursiva | ⌘ Cmd+I |
|
||
⌃ Ctrl+K | Afegeix enllaç | ⌘ Cmd+K |
|
||
⌃ Ctrl+X | Retalla | ⌘ Cmd+X |
|
||
⌃ Ctrl+C | Copia | ⌘ Cmd+C |
|
||
⌃ Ctrl+V | Enganxa | ⌘ Cmd+V |
|
||
⌃ Ctrl+Z | Desfés | ⌘ Cmd+Z |