Help:VisualEditor/User guide/ca

 Si voleu provar l'editor visual sense modificar un article, [ aquí hi ha una pàgina] on podeu provar-lo lliurement. No cal tenir un compte per usar l'editor visual en aquella pàgina.

Obrint l'editor visual == ==

Getting started: the VisualEditor toolbar
center|1200px|alt=Captura de pantalla de la barra d'eines de l'editor visual

border|1200px|center

Editing references
{| cellpadding="15"
 * colspan=2 |
 * colspan=2 |

Editar una referència existent

 * colspan=2 |
 * VisualEditor - Editing references 1.png
 * To edit an existing reference, click on it where it appears in the text (usually as a bracketed number). You will see either a "" icon (bookmark) or an icon (and name) for the template that was used to create this reference. Clicking on this icon will open a dialog where you can edit the reference.
 * colspan=2 |
 * VisualEditor - Editing references 6.png
 * If what appears is the "" icon, clicking on it opens the Reference dialog, where you can edit the reference's contents.
 * colspan=2 |
 * VisualEditor - Editing references 6.png
 * If what appears is the "" icon, clicking on it opens the Reference dialog, where you can edit the reference's contents.
 * If what appears is the "" icon, clicking on it opens the Reference dialog, where you can edit the reference's contents.

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 icon (puzzle piece) will appear. Click on that icon to edit the content of the template in the template mini-editor dialog.
 * colspan=2 |
 * VisualEditor - Editing References - Cite Web.png
 * If, instead of the "" icon (bookmark), what appears when you click on a reference is an icon for a standard template for citations, then clicking on that icon will take you directly to the template mini-editor dialog.
 * colspan=2 |
 * 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 have content are supposed to be shown initially. To add fields, click on "" at the bottom of the mini-editor.
 * colspan=2 |
 * border|center|150px
 * Click on "" when you're done.
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * border|center|150px
 * Click on "" when you're done.
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Re-using an existing reference

 * colspan=2 |
 * 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.
 * 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.
 * colspan=2 |
 * VisualEditor - Editing references 18.png
 * In the 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 "") to list only those references that include certain text.
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Adding a new reference

 * colspan=2 |
 * VisualEditor references more.png
 * To add a citation using the "" menu, place your cursor where you want to add it in the text. Then select the appropriate citation type in the menu.
 * colspan=2 |
 * To add a citation using the "" menu, place your cursor where you want to add it in the text. Then select the appropriate citation type in the menu.
 * colspan=2 |
 * colspan=2 |

Using the "Basic" citation

 * colspan=2 |
 * VisualEditor - Editing references 20.png
 * En l'editor de referències, pots afegir, editar i donar format a la teva citació.
 * VisualEditor - Editing references 20.png
 * 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 "" tool.)
 * colspan=2 |
 * border|center|300px
 * 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.
 * colspan=2 |
 * 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.)
 * colspan=2 |
 * 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.)
 * 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're done editing your new template, click on "" to return to the Reference editor, and "" again to return to the page you're editing.
 * colspan=2 |
 * border|center|300px
 * 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.
 * border|center|300px
 * 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 "" menu and click the "" icon (three books).
 * colspan=2 |
 * border|center|500px
 * 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.
 * border|center|500px
 * 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 "".
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Using standard cite templates

 * colspan=2 |
 * 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.)
 * colspan=2 |
 * 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.
 * colspan=2 |
 * VisualEditor - Editing references - Add parameter.png
 * To add more parameters, scroll down in the template mini-editor and click on the "" option.
 * 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.
 * colspan=2 |
 * VisualEditor - Editing references - Add parameter.png
 * To add more parameters, scroll down in the template mini-editor and click on the "" option.
 * VisualEditor - Editing references - Add parameter.png
 * To add more parameters, scroll down in the template mini-editor and click on the "" option.

Click on "" when you're done.
 * }

Editing templates
{| cellpadding="15"
 * To add a new template to a page, place your cursor where you want the template to be inserted, and click on the "" icon (puzzle piece) in the "" menu.
 * border|300px|center
 * colspan=2 |
 * Start typing the name of the template you want to insert. When you see it on the list, click on its name. Then click "".
 * VisualEditor - Template editing 4.png
 * colspan=2 |
 * You can also edit templates that are already on the page by clicking on them to select them (they turn blue), and then clicking on the "" icon (puzzle piece) that appears.
 * VisualEditor - Template editing 1.png
 * colspan=2 |
 * Some templates are invisible on the page. They are shown as puzzle icons inside VisualEditor.
 * VisualEditor template not visible.png
 * colspan=2 |
 * When you select the icon, the context menu is displayed, and you can edit the template.
 * VisualEditor template not visible context menu.png
 * colspan=2 |
 * When you add a new template, what you see depends upon whether there is TemplateData for that template. This template has no TemplateData.
 * VisualEditor template with no TemplateData.png
 * colspan=2 |
 * This template has TemplateData. Filling in the template form is easier when TemplateData is present.
 * VisualEditor template with TemplateData.png
 * colspan=2 |
 * Adding a new template or opening an existing one opens the "" dialog. If the template has been updated to contain TemplateData information, then the dialog will show a list of individual (named) parameters. If the template doesn't contain TemplateData, then a link to documentation for the template will be shown in the dialog.
 * VisualEditor template not visible context menu.png
 * colspan=2 |
 * When you add a new template, what you see depends upon whether there is TemplateData for that template. This template has no TemplateData.
 * VisualEditor template with no TemplateData.png
 * colspan=2 |
 * This template has TemplateData. Filling in the template form is easier when TemplateData is present.
 * VisualEditor template with TemplateData.png
 * colspan=2 |
 * Adding a new template or opening an existing one opens the "" dialog. If the template has been updated to contain TemplateData information, then the dialog will show a list of individual (named) parameters. If the template doesn't contain TemplateData, then a link to documentation for the template will be shown in the dialog.
 * This template has TemplateData. Filling in the template form is easier when TemplateData is present.
 * VisualEditor template with TemplateData.png
 * colspan=2 |
 * Adding a new template or opening an existing one opens the "" dialog. If the template has been updated to contain TemplateData information, then the dialog will show a list of individual (named) parameters. If the template doesn't contain TemplateData, then a link to documentation for the template will be shown in the dialog.
 * Adding a new template or opening an existing one opens the "" dialog. If the template has been updated to contain TemplateData information, then the dialog will show a list of individual (named) parameters. If the template doesn't contain TemplateData, then a link to documentation for the template will be shown in the dialog.
 * Adding a new template or opening an existing one opens the "" dialog. If the template has been updated to contain TemplateData information, then the dialog will show a list of individual (named) parameters. If the template doesn't contain TemplateData, then a link to documentation for the template will be shown in the dialog.

If the template does not use named parameters, then use numbers as the name for each nameless parameter. The first un-named parameter is named, the second is named  , and so forth.
 * VisualEditor - Template editing 2.png
 * colspan=2 |
 * For an existing template, you can edit the parameters already listed in the dialog, and you can add parameters by clicking "", at the very bottom of the dialog.
 * VisualEditor - Template editing 3.png
 * colspan=2 |
 * 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.
 * colspan=2 |
 * 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.
 * 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.
 * 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
 * colspan=2 |
 * Quan hàgiu acabat, cliqueu "Aplica els canvis" per a tancar el diàleg i tornar a la pàgina d'edició.
 * border|center|150px
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Substituting templates

 * colspan=2 |
 * Quan s'hagi de substituir una plantilla, escriu  (inclosos els dos punts) abans del nom de la plantilla.
 * Quan s'hagi de substituir una plantilla, escriu  (inclosos els dos punts) abans del nom de la plantilla.
 * Quan s'hagi de substituir una plantilla, escriu  (inclosos els dos punts) abans del nom de la plantilla.

La funcionalitat d'autocompletar no funciona amb ; si necessites usar la funcionalitat d'autocompletar, afegeix   només després de trobar la plantilla que estaves buscant.

Then, click the green "" button.
 * VisualEditor - Template editing 7.png
 * colspan=2 |
 * Add any parameters as usual and "".
 * VisualEditor - Template editing 6.png
 * colspan=2 |
 * En aquesta fase inicial, encara no veuràs el contingut de la plantilla inclòs a la pàgina.
 * VisualEditor - Template editing 8.png
 * }
 * En aquesta fase inicial, encara no veuràs el contingut de la plantilla inclòs a la pàgina.
 * VisualEditor - Template editing 8.png
 * }
 * }

Keyboard shortcuts
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: