Ajuda:Editor visual/Guia d'usuari

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Help:VisualEditor/User guide and the translation is 40% complete.

Other languages:
العربية • ‎asturianu • ‎azərbaycanca • ‎Bikol Central • ‎беларуская (тарашкевіца)‎ • ‎български • ‎বাংলা • ‎bosanski • ‎català • ‎Cebuano • ‎čeština • ‎Cymraeg • ‎dansk • ‎Deutsch • ‎Zazaki • ‎Emiliàn • ‎Ελληνικά • ‎emiliàn e rumagnòl • ‎English • ‎British English • ‎Esperanto • ‎español • ‎eesti • ‎فارسی • ‎suomi • ‎føroyskt • ‎français • ‎Frysk • ‎galego • ‎עברית • ‎हिन्दी • ‎Fiji Hindi • ‎hrvatski • ‎magyar • ‎Հայերեն • ‎Bahasa Indonesia • ‎Interlingue • ‎Ilokano • ‎italiano • ‎日本語 • ‎Basa Jawa • ‎ქართული • ‎ភាសាខ្មែរ • ‎ಕನ್ನಡ • ‎한국어 • ‎Lëtzebuergesch • ‎lietuvių • ‎latviešu • ‎Malagasy • ‎македонски • ‎മലയാളം • ‎मराठी • ‎Bahasa Melayu • ‎Napulitano • ‎norsk bokmål • ‎Nederlands • ‎Oromoo • ‎ଓଡ଼ିଆ • ‎Picard • ‎polski • ‎پښتو • ‎português • ‎português do Brasil • ‎română • ‎русский • ‎Scots • ‎slovenčina • ‎slovenščina • ‎српски / srpski • ‎Basa Sunda • ‎svenska • ‎தமிழ் • ‎ไทย • ‎Tagalog • ‎Türkçe • ‎татарча/tatarça • ‎українська • ‎Tiếng Việt • ‎isiXhosa • ‎ייִדיש • ‎中文
PD 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ó.
PD
If you would like to try VisualEditor without editing an article, here is a page where you can freely test it. You don't need an account to use VisualEditor on that page.


Per obrir l'editor visual

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.

VisualEditor - Edit tab.png

També podeu obrir l'editor visual clicant l'enllaç "edit" a cada secció.
VisualEditor - Section edit links.png


Per començar: la barra d'eines de l'editor visual

Screenshot of the VisualEditor toolbar
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:

VisualEditor - Toolbar - Undo-redo.png
"Desfés i Refés" els canvis que heu fet.

VisualEditor Toolbar Headings-en.png
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".

VisualEditor Toolbar Formatting-en.png
Formatting: Clicking the "A" opens a menu. For any item to have an affect, you must have first selected (highlighted) some text.
  • The "Bold" item (B) bolds the selected text.
  • The "Italic" item (I) italicizes the selected text.
  • The "Superscript" item (S2) causes the selected text to appear smaller than surrounding text and to be slightly higher than the surrounding text.
  • The "Subscript" item (S2) causes the selected text to appear smaller than surrounding text and slightly lower than the surrounding text.
  • The "Strikethrough" item (S) adds a solid bar through the selected text.
  • The "Computer code" item (a set of curly brackets: {}) changes the font of the selected text to a monospaced font, which sets it apart from surrounding (proportionally spaced) text.
  • The "Underline" item (U) adds a solid line beneath the selected text.
  • The "Language" item (Aあ) allows you to label the language (for example, Japanese) and direction (for example, right-to-left) of the selected text.
  • The final item (" ⃠ "), called "Clear styling", removes all character formatting from the selected text, including links.

VisualEditor - Toolbar - Linking.png
Linking tool: The chain is the linking tool. Clicking on it (usually after selecting some text) opens the link dialog.

VisualEditor - Cite Pulldown.png
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.)


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

VisualEditor Insert Menu-en.png
Mitjans, referències i transclusions: Cada una d'aquestes icones obre un diàleg dedicat:
  • The "Template" icon (a puzzle piece) allows you to edit templates.
  • The "Comment" 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.
  • The "Formula" icon (Σ) opens the formula inserter dialog.
  • La icona de "<visualeditor-dialogbutton-referencelist-tooltip>" (tres llibres) obre un diàleg per a mostrar referències.
  • The "<visualeditor-mwhieroinspector-title>" icon (an ankh symbol - ☥) allows you to enter the hieroglyphics inserter. (See below.)
  • The "Special character" icon (Ω) allows you to insert some special characters. (See immediately below.)

VisualEditor Toolbar SpecialCharacters-en.png
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.)

VisualEditor cancel save-en.png
The Page options menu is to the left of the Save page button. On the Page options menu 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

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.
VisualEditor cancel save-en.png

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/or 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 to be sure they will work as intended before saving your changes, 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.

VisualEditor save dialog-en.png


Edició dels enllaços

VisualEditor - Toolbar - Linking.png
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 or place your cursor within a word, and then press the "Link" button, a link will be inserted using that text or word. In most cases, when creating internal links (links to other pages in the same wiki) you do not select text. But when creating external links, in most cases you do select text before starting the linking process, and text is probably something you just typed.


VisualEditor - Link editing inline 2.png
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.


VisualEditor - Link editing inline box.png
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.

VisualEditor - External link.png
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".

VisualEditor - Link editing inline.png
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. Or you can 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 do this to check if an external link is valid.)

Editar referències

Editar una referència existent


VisualEditor - Editing references 1.png
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.

VisualEditor - Editing references 6.png
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 automatically. 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.


VisualEditor - Editing References - Cite Web.png
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.

VisualEditor - Editing references 5.png
Inside the template mini-editor, you can add or remove types of information or change current content. Only fields (template parameters) that are used (have content) should be shown, initially. To add fields, click on "Add more information", which is at the very bottom of the mini-editor.

VisualEditor - Apply changes.png
Click on "Apply changes" when you're done.

Reutilitzar una referència ja existent


VisualEditor Cite menu re-use.png
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.


VisualEditor - Editing references 18.png
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


VisualEditor references more.png
To add a citation using the "Cite" menu, place your cursor where you want to add it in the text. Then on the "Cite" menu, select the appropriate item.

Using the "Basic" citation


VisualEditor - Editing references 20.png
En l'editor de referències, pots afegir, editar i donar format a la teva citació.

Pots fer que la referència pertanyi a un grup determinat; això s'utilitza per mostrar grups de referències amb l'eina "Llista de referències".


VisualEditor Template Insert Menu-en.png
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.

VisualEditor - Editing references 9.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.)

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.


VisualEditor Reference List Insert Menu-en.png
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.

Col·loca el cursor on vols mostrar les referències (normalment a la part inferior de la pàgina) i fes clic a la icona "Llista de referències" (tres llibres) per afegir-la.


VisualEditor - Editing references 11.png
Si has creat grups de referències, pots indicar un grup en aquest quadre de diàleg, per tal de seleccionar les referències que hi pertanyen i que vols mostrar.

The final step, in the References list dialog, is to click "<visualeditor-dialog-referencelist-insert-button>".

Using standard cite templates


VisualEditor - Editing References - Cite Pulldown.png
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.)

VisualEditor - Editing references - Cite book required fields.png
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.

VisualEditor - Editing references - Add parameter.png
To add additional parameters, scroll down in the template mini-editor and click on the "Add more information" option.

Click on "<visualeditor-dialog-citation-insert-citation>" when you're done.

Editant imatges i altres arxius de mitjans

Editing images

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.
VisualEditor Media Insert Menu-en.png

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.

VisualEditor - Media editing 2.png

After the image you selected is inserted on the page, another dialog will automatically open. This dialog allows you to add (and edit) the caption of the image. The caption can contain formatting and links.
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.
Media editing 7.png

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.
VisualEditor - Media editing 8.png

Quan hàgiu acabat, cliqueu "Aplica els canvis" per a tancar el diàleg i tornar a la pàgina d'edició.
VisualEditor - Apply changes.png

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.

VisualEditor - Media editing 3.png


Editing media galleries


To edit an existing gallery in VisualEditor, click anywhere in that gallery. Then, near the bottom of the gallery, click the gallery icon (a set of photos). This brings up the gallery inserter dialog, with the full list of images included in the gallery.
VisualEditor - Gallery2.png
The gallery inserter dialog 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 dialog. You should then see your changes, with the gallery as it will now appear to readers.

Remember that exiting the gallery inserter dialog does not save your changes. As with other changes made using VisualEditor, you must save the entire page in order to save your work.

VisualEditor - Gallery3.png

Editar plantilles

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.
VisualEditor Template Insert Menu-en.png

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".
VisualEditor - Template editing 4.png

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.
VisualEditor - Template editing 1.png

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.

VisualEditor - Template editing 2.png

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.
VisualEditor - Template editing 3.png

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.

VisualEditor - Template editing 5.png

Quan hàgiu acabat, cliqueu "Aplica els canvis" per a tancar el diàleg i tornar a la pàgina d'edició.
VisualEditor - Apply changes.png


Editar categories

VisualEditor Categories.png
To edit categories, on the "Page options" menu, click the "Categories" button.

VisualEditor - Category editing 1.png
El botó "Options" obre un quadre de diàleg que llista les categories existents i et permet afegir-ne de noves.

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".


VisualEditor - Category editing 3.png
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.)

VisualEditor - Category editing 2.png
Per esborrar una categoria, fes-hi clic a sobre i llavors fes clic a la icona "Esborra" (paperera) en el quadre de diàleg que s'obre.

Clicking on a category also allows you to specify a sorting key for a specific category. (This is uncommon.) Such a sorting key overrides the general (default) sorting key.


VisualEditor - Apply changes.png
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

VisualEditor - Page Settings menu.png
To edit a page's settings, click to open the "Page options" menu, in the toolbar, and select the "Page settings" button.

VisualEditor Page Settings-en.png
The "Page settings" button opens a dialog that shows several options.

VisualEditor Page Settings Redirects-en.png
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 the reader to be sent when he/she 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.


VisualEditor Page Settings TOC-en.png
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.

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

VisualEditor Apply Changes-en.png
Click "Apply changes" when you're done editing the Page options to return to the page editor.


Editing mathematical formulae

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.
VisualEditor Formula Insert Menu-en.png

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.
VisualEditor formula-en.png

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


Editar fórmules matemàtiques i altres elements especials

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

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