Hjælp:VisualEditor/Brugerguide
![]() |
Note: When you edit this page, you agree to release your contribution under the CC0. See Public Domain Help Pages for more info.
|
![]() |
- Hvorfor dette?
- VisualEditor rollouts
- Ofte stillede spørgsmål
- Media Q&A (engelsk)
- Brug af VisualEditor
- VisualEditor roadmap
- User testing reports
- Design portal
- Opdater hjælpesider
- Tilføj TemplateData
- Hjælp nye brugere
- TranslationCentral
- Oversættelses & lokaliserings dokumentation
Contents
- 1 Åbning af VisualEditor
- 2 Kom godt i gang: VisualEditors værktøjslinje
- 3 Gem ændringer
- 4 Redigering af links
- 5 Redigering af referencer
- 6 Editing images and other media files
- 7 Redigering af skabeloner
- 8 Redigering af kategorier
- 9 Editing page settings
- 10 Editing mathematical formulae
- 11 Redigering af matematiske formler og andre specielle emner
- 12 Tastaturgenveje
Åbning af VisualEditor[edit | edit source]
Klik på "Edit"-fanen øverst på siden for at redigere en side med VisualEditor.
Det kan tage nogle sekunder at åbne siden til redigering, og længere hvis siden er meget lang. Du kan klikke på "Edit source"-fanen for at redigere med den klassiske wikitekst-editor. |
|
|
|
Du kan også åbne VisualEditor ved at vælge "edit"-linket på hver sektion. |
Kom godt i gang: VisualEditors værktøjslinje[edit | edit source]
VisualEditors værktøjslinje vises øverst på skærmen, når du begynder at redigere. Den rummer nogle velkendte ikoner: | |
|
|
Undo og Redo de ændringer som du har gjort. | |
|
|
"Overskrifter"-rullemenu: giver dig mulighed for at ændre overskriftsniveauet på teksten. Standardoverskriften i afsnit er "Overskrift" 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.
|
|
|
|
Link-værktøj: Kæde-ikonet er til redigering af links | |
|
|
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. | |
|
|
Insert: Denne rullemenu giver adgang til blandt andet tilføjelse af referencer eller indsættelse af billeder og skabeloner (indlejringer).
|
|
|
|
Indsættelse af specialtegn: Ikonet "specialtegn" åbner et undervindue med specielle tegn, der kan indsættes i teksten. Dette indbefatter visse standardsymboler, accenter og matematiske symboler. (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. |
Gem ændringer[edit | edit source]
Når du er færdig med at redigere, klik på den grønne knap "Save page" på værktøjslinjen. Den grønne knap kan kun vælges, hvis der er foretaget ændringer. 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. |
Redigering af links[edit | edit source]
Links kan tilføjes med "Link"-ikonet (led i en kæde) i værktøjslinjen, eller ved hjælp af genvejen ⌃ Ctrl+K (eller ⌘ Command+K på 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. |
|
|
|
Uanset om du bruger knappen eller genvejen, så vil en dialogboks åbne op, hvor du kan skrive et link. VisualEditor vil prøve at hjælpe dig med interne links (links til andre Wikipedia sider) ved at sammenligne efterhånden som du skriver.
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. | |
|
|
For at ændre eller fjerne et link, så klik hvor som helst inde i linket, derefter på "Link"-ikonet som kommer frem. Man kan også klikke på det tilsvarende ikon på værktøjslinjen eller anvende genvejen ⌃ Ctrl+K, efter at have klikket på linket.
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.) |
Redigering af referencer[edit | edit source]
Redigering af en eksisterende reference[edit | edit source] |
|
|
|
For at redigere en eksisterende reference, klik på det i teksten, og vælg "Basic"-ikonet (bogmærke) der vises ved referencen eller vælg ikonet på værktøjslinjen. | |
|
|
Vælges Reference-ikonet, åbnes et vindue med en mini-editor, hvor du kan redigere referenceteksten.
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. | |
|
|
Genbrug af eksisterende reference[edit | edit source] |
|
|
|
Hvis siden allerede indeholder referencer, kan du vælge en eksisterende reference, såfremt den underbygger den tekst, du vil kildebelægge.
For at bruge en eksisterende reference, behøver du blot at placere markøren det sted, du ønsker at tilføje den, og klikke på "Basic"-ikonet (bogmærke) fra "More"-menuen. |
|
|
|
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. | |
|
|
Tilføje en ny reference[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] |
|
|
|
I referenceredigeringen, kan du tilføje, redigere og formatere din henvisning.
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.) |
|
|
|
Hvis du tilføjer en ny reference og ønsker at den skal indeholde en skabelon, så klik på Template (puslebrik) i menuen "Insert"-værktøjslinjen i referenceredigeringen. | |
|
|
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.)
Klik på "Apply changes" for at komme tilbage til referenceredigeringen, og klik igen for at komme tilbage til siden. |
|
|
|
Hvis der ikke allerede er en referenceliste på siden (hvis du f.eks. er den første til at tilføje en reference), er du nødt til at tilføje den, for at teksten i din reference skal kunne ses.
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]
For at tilføje et nyt billede (eller andre mediefiler) til siden, vælg da rullemenuen "More" og klik på "Media" (et billede af bjerge). Billedet vil blive indsat, hvor markøren befinder sig. | |
|
|
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.
Du kan se efter andre mediefiler ved at ændre teksten i vinduets søgefelt. Vælg et thumbnail for at udpege filen. 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. | |
|
|
Når du er færdig, klik så på "Apply changes" for at lukke dialogboksen og vende tilbage til siden. | |
|
|
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. |
Redigering af skabeloner[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. | |
|
|
Hvis en skabelon indlejrer andre skabeloner, vil disse underskabeloner optræde som parametre. De kan redigeres eller flyttes inde i parameterområdet.
Nye underskabeloner kan tilføjes ved at følge trinene til tilføjelse af en parameter. Du bør tjekke skabelondokumentationen for at sikre dig, at underskabelonen eksisterer. |
|
|
|
Når du er færdig, klik så på "Apply changes" for at lukke dialogboksen og vende tilbage til siden. | |
|
|
Udskiftning af skabeloner[edit | edit source] |
|
|
|
Når en skabelon må skiftes ud, indtast subst: (inklusiv kolon) før skabelonens navn.
Autokomplettering virker ikke med Klik derefter på den grønne "Add template"-knap. |
|
|
|
Tilføj en parameter som du plejer og "Apply changes". | |
|
|
Du vil ikke se skabelonen vokse i løbet af dette indledende trin. |
Redigering af kategorier[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. |
|
|
|
Klik på "Apply changes" når du er færdig med at redigere kategorier, og du vil komme tilbage til redigeringen |
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. | |
|
Redigering af matematiske formler og andre specielle emner[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.
Tastaturgenveje[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:
PC-genvej | Handling | Mac-genvej |
---|---|---|
|
||
⌃ Ctrl+B | Fed | ⌘ Cmd+B |
|
||
⌃ Ctrl+I | Kursiv | ⌘ Cmd+I |
|
||
⌃ Ctrl+K | Indsæt link | ⌘ Cmd+K |
|
||
⌃ Ctrl+X | Klip | ⌘ Cmd+X |
|
||
⌃ Ctrl+C | Kopier | ⌘ Cmd+C |
|
||
⌃ Ctrl+V | Indsæt | ⌘ Cmd+V |
|
||
⌃ Ctrl+Z | Fortryd | ⌘ Cmd+Z |