Help:VisualEditor/User guide/nb

 If you would like to try VisualEditor without editing an article, [//www.mediawiki.org/wiki/Project:Sandbox?veaction=edit here is a page] where you can freely test it. You don't need an account to use VisualEditor on that page.

Kom i gang: VisualEditor-verktøylinja
center|800px|VisualEditor-verktøylinja

Sette inn referanser/kildehenvisninger
{| cellpadding="15"
 * colspan=2 |
 * colspan=2 |

Rediger en eksisterende kildehenvisning

 * colspan=2 |
 * VisualEditor - Editing references 1.png
 * For å redigere en eksisterende kildehenvisning, trykk på den i teksten og velg «Referanse»-ikonet (bokmerket) som dukker opp ved siden av eller i verktøylinja.
 * colspan=2 |
 * VisualEditor - Editing references 6 (nb).png
 * Ved å trykke på referanse-ikonet åpnes en dialogboks med en mini-editor der du kan redigere kildehenvisningens tekst.
 * colspan=2 |
 * VisualEditor - Editing references 6 (nb).png
 * Ved å trykke på referanse-ikonet åpnes en dialogboks med en mini-editor der du kan redigere kildehenvisningens tekst.
 * Ved å trykke på referanse-ikonet åpnes en dialogboks med en mini-editor der du kan redigere kildehenvisningens tekst.

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 icon (puzzle piece) will appear. Click on that 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, clicking on that icon will take you directly to the template mini-editor dialog.
 * colspan=2 |
 * VisualEditor - Editing references 5 (nb).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 "", which is at the very bottom of the mini-editor.
 * colspan=2 |
 * VisualEditor - Apply changes (nb).png
 * Click on "" when you're done.
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * VisualEditor - Apply changes (nb).png
 * Click on "" when you're done.
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Gjenbruk en eksisterende kilde

 * colspan=2 |
 * VisualEditor references more (nb).png
 * Hvis siden allerede inneholder referanser, og en av de eksisterende referansene støtter teksten du ønsker å kildebelegge, kan du gjenbruke den eksisterende referansen fremfor å legge den inn på nytt.
 * VisualEditor references more (nb).png
 * Hvis siden allerede inneholder referanser, og en av de eksisterende referansene støtter teksten du ønsker å kildebelegge, kan du gjenbruke den eksisterende referansen fremfor å legge den inn på nytt.

For å gjenbruke en eksisterende referanse, sett innsettingspunktet der du ønsker å sette inn referansen, og trykk på ikonet «Referanser» (bokmerket) i verktøylinja.
 * colspan=2 |
 * VisualEditor - Editing references 18 (nb).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 |

Legge til en ny referanse

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

Using the "Basic" citation

 * colspan=2 |
 * VisualEditor - Editing references 20 (nb).png
 * I referanse-editoren kan du legge til, redigere og formatere siteringen din.
 * VisualEditor - Editing references 20 (nb).png
 * I referanse-editoren kan du legge til, redigere og formatere siteringen din.

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
 * In the Reference dialog, if you want to include a template in your new reference, click the icon (puzzle piece) in the "" toolbar menu within the Reference editor.
 * colspan=2 |
 * VisualEditor - Editing references 9.png
 * Then, look for the template you want to use, add it and edit it as you would an existing 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 an existing 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 an existing 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
 * If there isn't already a list of references on the page (for example, if you're 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.
 * border|center|300px
 * If there isn't already a list of references on the page (for example, if you're 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 references (usually at the bottom of the page), open the "" menu and click the "" icon (three books.
 * colspan=2 |
 * VisualEditor - Editing references 11 (nb).png
 * If you are using different groups of references (which is unusual), you can specify a group in this dialog, to display only those references that belong to that group.
 * VisualEditor - Editing references 11 (nb).png
 * If you are using different groups of references (which is unusual), you can specify a group in this dialog, to display only those references that belong to that group.

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.)
 * 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 additional parameters, scroll down in the template mini-editor and click on the "" option.
 * colspan=2 |
 * VisualEditor - Editing references - Add parameter.png
 * To add additional parameters, scroll down in the template mini-editor and click on the "" option.
 * VisualEditor - Editing references - Add parameter.png
 * To add additional 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 the 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 |
 * Type 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 (nb).png
 * colspan=2 |
 * Du kan også redigere en eksisterende mal ved å velge den, den vil endre farge til blå for å vise at den har blitt markert. Trykk så knappen «Transklusjon» som vises på eller nær malen eller klikk samme knapp i verktøylinja.
 * VisualEditor - Template editing 1 (nb).png
 * colspan=2 |
 * Hvis du valgte en mal som allerede er i artikkelen så vil data for den vises til venstre i dialogboksen for maler. Hvis du legger inn en ny mal vil listen over data til venstre kun inneholde obligatoriske data.
 * Du kan også redigere en eksisterende mal ved å velge den, den vil endre farge til blå for å vise at den har blitt markert. Trykk så knappen «Transklusjon» som vises på eller nær malen eller klikk samme knapp i verktøylinja.
 * VisualEditor - Template editing 1 (nb).png
 * colspan=2 |
 * Hvis du valgte en mal som allerede er i artikkelen så vil data for den vises til venstre i dialogboksen for maler. Hvis du legger inn en ny mal vil listen over data til venstre kun inneholde obligatoriske data.
 * colspan=2 |
 * Hvis du valgte en mal som allerede er i artikkelen så vil data for den vises til venstre i dialogboksen for maler. Hvis du legger inn en ny mal vil listen over data til venstre kun inneholde obligatoriske data.
 * Hvis du valgte en mal som allerede er i artikkelen så vil data for den vises til venstre i dialogboksen for maler. Hvis du legger inn en ny mal vil listen over data til venstre kun inneholde obligatoriske data.

Du kan legge til nye parametre eller redigere de som allerede er lista opp.
 * VisualEditor - Template editing 2 (nb).png
 * colspan=2 |
 * For å redigere en parameterverdi, velg parameteret i lista og rediger verdien i det tilhørende vinduet.
 * VisualEditor - Template editing 3 (nb).png
 * colspan=2 |
 * When a template embeds other templates, these sub-templates will appear inside the parameters that display them. They can be edited or removed inside the parameter field.
 * colspan=2 |
 * When a template embeds other templates, these sub-templates will appear inside the parameters that display them. They can be edited or removed inside the parameter field.
 * When a template embeds other templates, these sub-templates will appear inside the parameters that display them. They can be edited or removed inside the parameter field.
 * When a template embeds other templates, these sub-templates will appear inside the parameters that display them. They can be edited or removed inside the parameter field.

New sub-templates are added by following the steps of adding a parameter. You may need to check the template documentation to make sure that the sub-template is supported.
 * VisualEditor - Template editing 5.png
 * colspan=2 |
 * Når du er ferdig klikk «» for å lukke dialogboksen og komme tilbake til hovedbildet for redigering.
 * VisualEditor - Apply changes (nb).png
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Substituting templates

 * colspan=2 |
 * When a template must be substituted, type  (colon included) before the template's name.
 * When a template must be substituted, type  (colon included) before the template's name.
 * When a template must be substituted, type  (colon included) before the template's name.

Autocompletion doesn't work with ; if you need the autocompletion, add   only after finding the template you're looking for.

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 |
 * You will see the template expand on the page after you click "". When you're ready save the page.
 * VisualEditor - Template editing 8.png
 * }
 * You will see the template expand on the page after you click "". When you're ready save the page.
 * VisualEditor - Template editing 8.png
 * }
 * }
 * }

Editing poems and other special items
Some items, such as poems and musical scores aren't yet supported by VisualEditor. Until they are, you will need to edit the source wikitext directly if you want to alter or add these.

Tastatursnarveier
Many editors are used to entering wikitext directly, especially bold, italics and wikilinks. Keyboard shortcuts allow to quickly insert similar formatting without having to click the toolbar buttons. Common general shortcuts, and ones used by other editors, function in VisualEditor: