Hjælp:VisualEditor/Brugerguide
![]() |
Bemærk: Når du redigerer denne side, accepterer du at udgive dine bidrag under CC0. Se Public Domain Help Pages for mere info.
|
![]() |
VisualEditor portal |
---|
General |
Om |
Hjælp med starten |
Åbne VisualEditor
Klik på "Redigér"-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å "Redigér wikikode"-fanen for at redigere med den klassiske wikitekst-editor. |
|
Du kan også åbne VisualEditor ved at vælge "redigér"-linket på hver sektion. |
Kom godt i gang: VisualEditors værktøjslinje
VisualEditors værktøjslinje vises øverst på skærmen, når du begynder at redigere. Den rummer nogle velkendte ikoner: | |
Fortryd og Annuller fortryd de ændringer som du har lavet. | |
Headings pull-down menu: allows you to change how the paragraph is formatted. To change the style of a paragraph, put your cursor in the paragraph and select an item in this menu (you don't have to highlight any text). Section titles are formatted "Overskrift", and subsections are "Underoverskrift 1", "Underoverskrift 2", and so on. The normal format for text is "Afsnit". | |
Formatting: Pressing the "A" opens a menu.
If you have not selected any text, then when you press the "A" to open the menu, and then select an item, that formatting will apply to the text that you start typing, from wherever your cursor is located. | |
Linking tool: The chain icon is the linking tool. Pressing on it (usually after selecting some text) opens the link dialog. | |
Kilde menu: The "Kilde" menu is used to add inline citations (also called "footnotes" or "references"). All projects have access to basic reference formatting and the ability to reuse citations by using this menu. It also gives users quick access to local citation templates, if these are enabled on their wiki. (Instructions for adding local citation templates to the Kilde menu at a specific wiki are available at VisualEditor/Citation tool .) | |
Citér knap: If the citoid service is enabled on your wiki, then you will see a Citér button instead of a Kilde menu.
The citoid service tries to fill out citation templates automatically. | |
Lister & indrykning: De første to ikoner giver dig mulighed for at lave henholdsvis nummererede lister og punktopstillinger. De sidste to ikoner giver mulighed for at op- eller nedgradere niveauet for indrykningen af indholdet. | |
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/Specieltegn for instructions.) |
The Edit notices button displays any notices for the page. | |
The Sideindstillinger menu is to the left of the Offentliggør ændringer button and the Switch editor menu. On this menu there is a button to open an Options dialog with the following (left side) tabs:
The tabs of the Options dialog are also displayed in the Sideindstillinger menu and can be opened by clicking on it. | |
The switch to source editing button is next to the Offentliggør ændringer button. It allows you to switch to the wikitext editor. |
Udgiv ændringer
Når du er færdig med at redigere, klik på den blå knap "Offentliggør ændringer" på værktøjslinjen. Den blå knap kan kun vælges, hvis der er foretaget ændringer, ellers vil den være grå. To cancel all your editing changes, close your browser window, or press the "Læs" tab above the edit toolbar. | |
Tryk på den grønne "⧼visualeditor-toolbar-savedialog⧽" knap åbner en lille dialogboks, hvor du kan skrive en kort beskrivelse af dit arbejde, markere din redigering som mindre samt vælge om du vil følge fremtidige ændringer på denne side. Tallet indikerer hvor meget plads der resterer i dit resume. Du kan også gennemse dine ændringer for at sikre dig det fungerer som forventet inden du gemmer. The "Fortsæt med at redigere" button returns you to the page you were editing. You can publish all of your changes later. |
Redigere links
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, that text will be used in creating the link. For a link that involves only one word, you can either select that word or just put the cursor within 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.
The link tool will try to help with internal links by searching for likely matches. Når et link er skrevet eller valgt, så tast ↵ Enter, klik udenfor boksen eller på lukke-ikonet (<). Dit link vil nu være synligt i VisualEditor, men vil ikke blive gemt før du gemmer hele siden. | |
Måden man linker til sider uden for Wikipedia er den samme. Bare skriv linket i feltet og det vil blive markeret som et eksternt 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 pressing on the button or pressing the shortcut keys. Type the URL in the box, and press the "Færdig" 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. Når et link er valgt fremstår det med en blå ramme.
Man kan nu redigere linket og derefter trykke ↵ Enter-tasten for at gemme. Hvis linket ønskes helt fjernet, så klik på skraldespands-ikonet. You can also open the link's target in another window by pressing on the copy of the link in the dialog box. (You might want do this to check if an external link is valid.) If you want to exit the link label (the text displayed as a link) or continue to write after this link, you can press →:
To edit the link label of an existing link, press within the link label and type the new one. But if you want to replace the entire label, please note:
|
Redigering af henvisninger
- For further information, see {{{1}}}
Determining which system is in place | |
Your wiki may use one of three footnote systems. The one shown on the right is the simplest system, where the "Kilde" menu does not include any citation templates. If your wiki uses this system, then everything you need to know about footnotes is on this page. | |
The second system has the same type of "Kilde" menu, but with several popular citation templates set up for quick access. If your wiki uses this system, then you will find more details at Help:VisualEditor/User guide/Citations-Templates | |
In the third system, you again start by pressing the Cite button. Then a dialog box opens, which includes an automatic citation process using the citoid service. If your wiki uses this system, you will find more details at Help:VisualEditor/User guide/Citations-Full | |
Redigering af en eksisterende reference | |
To edit an existing reference, press on it where it appears in the text (usually as a bracketed number). You will see either a "Reference" icon (bookmark) or an icon (and name) for the template that was used to create this reference. In either case, pressing on the "Edit" button will open a dialog where you can edit the reference. | |
For the "Reference" icon, pressing "Edit" opens the Reference dialog. To start changing the reference information, press on it.
Mange wikier bruger skabeloner til formatering af referencer, så de opfylder en bestemt standard. Du vil opdage dette, hvis du redigerer en eksisterende reference, der skifter farve til blå, når du markerer den. If a template was used and you press on the reference information, then the Skabelon icon (puzzle piece) will appear with some information. Press on the "edit" button to edit the content of the template in the template mini-editor dialog. |
|
If what appears when you press on a reference is an icon for a standard template for citations (an example is at right), then pressing "Edit" will open 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 will show, initially. To add fields, press on "Tilføj mere information" at the bottom of the mini-editor. | |
Klik på "Anvend ændringer" når du er færdig. | |
Genbrug af eksisterende reference | |
If the page already contains a citation that applies to the text you want to source, then you can choose to re-use that existing citation.
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å "⧼visualeditor-dialogbutton-reference-tooltip⧽"-ikonet (bogmærke) fra "More"-menuen. (Note: If your wiki has the third footnote system described above, you'll see a "Re-use" tab, in a dialog, instead of a "Re-use" item on the "Kilde" menu.) |
|
Hvis der er mange referencer, kan du bruge søgefeltet (markeret med "⧼visualeditor-reference-input-placeholder⧽") til kun at vise referencer, der matcher den givne tekst. Find den reference, du ønsker at genbruge, og vælg den. | |
Tilføje en ny henvisning | |
For at tilføje en ny reference skal du placere markøren det sted, den skal tilføjes, og derefter klikke på "⧼visualeditor-dialogbutton-reference-tooltip⧽"-ikonet (bogmærke) i "More"-menuen i værktøjslinjen. | |
Using the "Basic" citation | |
Shown here is what you will see if you select the basic references item. I referenceredigeringen, kan du tilføje, redigere og formatere din henvisning.
Du kan knytte referencen til en bestemt gruppe; dette bruges til at vise grupperinger af referencer med "⧼visualeditor-dialog-referencelist-title⧽"-værktøjet |
|
Hvis du tilføjer en ny reference og ønsker at den skal indeholde en skabelon, så klik på Skabelon (puslebrik) i menuen "Indsæt"-værktøjslinjen i referenceredigeringen. | |
Find derefter de skabeloner, du vil benytte, tilføj dem og rediger dem, som du ville gøre det med en allerede eksisterende skabelon.
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.
Placér markøren, det sted, referencen skal fremgå (almindeligvis i bunden af siden), og klik derefter på "⧼visualeditor-dialog-referencelist-title⧽"-ikonet (tre bøger) for at tilføje den. |
|
Hvis du har oprettet en referencegruppe, kan du angive en gruppe i dialogboksen til selektivt at vise referencer, der hører dertil.
The final step in the References list dialog is to press "Indsæt". |
|
Using standard cite templates | |
Your local wiki may have added extra citation templates to the "Kilde" menu. If so, you have quick access to the most-used citation templates for your wiki. (Instructions for adding extra citation templates to your local wiki are available at VisualEditor/Citation tool .) | |
Pressing 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 more parameters, scroll down in the template mini-editor and press on the "Tilføj mere information" option. Press on "Indsæt" when you are done. |
Editing images and other media files
Redigering af billeder | |
For at tilføje et nyt billede (eller andre mediefiler) til siden, vælg da rullemenuen "Indsæt" og klik på "Billeder og medier" (et billede af bjerge). Billedet vil blive indsat, hvor markøren befinder sig. | |
Vælges "Billeder og medier"-ikonet, åbnes en dialogboks der automatisk søger efter relaterede mediefiler på Wikimedia Commons. 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. |
|
Dialogboksen for medieindstillinger lader dig tilføje (eller ændre) en billedtekst. Teksten kan både formateres og indeholde 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 "Avancerede indstillinger" window. These include the alignment, the type, and size of the image. | |
Når du er færdig, klik så på "Anvend ændringer" for at lukke dialogboksen og vende tilbage til siden. | |
For an existing image, you can add or edit a caption or other settings by pressing on the image, then pressing on the "Billeder og medier" icon that appears below the picture. You can resize an existing image by pressing on it, then moving the resize icon (the two-headed arrow on one or both bottom corners). You can also drag and drop an image to a place higher or lower on the page. |
Uploading images
You can upload images from a tab in the media dialog, or by dragging and dropping a file into the editor, or by pasting an image from your clipboard. | |
Press the "Upload" tab and select an image from your computer. You can type the file name, or drag an image into the box. If you dragged and dropped an image directly into the editor, or pasted one from your clipboard, this tab will open automatically. | |
You need to describe the image and add categories to it so that other people can find it. | |
The image will be inserted into the page when you are done. |
Editing media galleries
To add a new gallery, press the "Galleri" icon (a set of photos) on the "Indsæt" menu. (If you don't see this icon on that menu, then your local wiki has decided to delay implementing this functionality in the visual editor.) | |
To edit an existing gallery in the visual editor, press that gallery. Then, near the bottom of the gallery, press 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 press the "Færdig" 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 publish your changes. As with other changes made using the visual editor, you must publish the entire page in order to publish your work. |
Editing templates
Kom i gang
For at tilføje en ny skabelon til siden, skal du placere markøren det sted, du vil indsætte den, og derefter klikke på "Skabelon"-ikonet (puslebrik) i "Indsæt"-menuen i værktøjslinjen. | |
Start typing the name of the template you want to insert. When you see it on the list, press on its name. Then press "Tilføj skabelon". | |
You can also edit a template that is already on the page. When you press on the template to select it, it turns blue, and a box appears with an "Skabelon" icon (puzzle piece). Then press on the "Redigér" link. | |
Some templates are not visible to someone reading a page. In the visual editor, such hidden templates are shown as puzzle icons. The name of the template will be shown next to the puzzle icon. | |
When you select the icon, the context menu is displayed, and you can edit the template. | |
Skabelonparametre | |
When you add a new template or open an existing one, the "Indlejring" dialog is shown. The contents depends upon whether the template has been documented using the TemplateData system or not. | |
The template shown here has no TemplateData set up for it. The dialog therefore provides a link to documentation for the template. By visiting the documentation you should be able to figure out if the template has any parameters (fields), and what goes in each field. Use numbers as the name for each nameless parameter. The first un-named parameter is named 1 , the second is named 2 , and so forth.
|
|
If a template has been updated to contain TemplateData information, then the dialog will show a list of individual (named) parameters. | |
For an existing template, you can edit the parameters shown in the dialog, and you can add parameters by pressing "Tilføj mere 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. Nested templates can currently be edited as wikitext only, without the facility offered by VisualEditor (see phab:T52182). |
|
Finishing | |
When you have finished editing a template, press "Anvend ændringer" to close the dialog and return to editing the main page. | |
Udskifte skabeloner | |
Når en skabelon må skiftes ud, indtast subst: (inklusiv kolon) før skabelonens navn.
Autokomplettering virker ikke med Klik derefter på den blå "$add-transclusion"-knap. Tilføj en parameter som du plejer og "$apply". |
|
You will see the template expand on the page after you press "Anvend ændringer". |
Editing lists
You can use the visual editor to create lists, or to change the format of an existing list. There are two types of lists: unordered (bullet) and ordered (numbered).
To start a new list, just press on one of the two menu items shown here. Or, if you already have typed the list (on separate lines), select (highlight) the list you have typed, then press on one of the menu items. | |
Shown here are examples of the two types of lists: unordered (bullet) and ordered (numbered). | |
If you want to change the indentation level of part of an existing list, select the part of the list that you want to change. | |
Then use the menu, or press the Tab key. (The Tab key increases indentation; use the shift key plus the Tab key to decrease indentation) | |
Here is the result of increased indentation. | |
You can even mix ordered (numbered) and unordered (bullet) lists, if the list items have different indentations. |
Editing tables
You can use the visual editor to insert and change tables. You can even import a table by dragging a comma-separated value (.csv) file from your computer into the main editing window. | |
When you press on "Table", in the "Indsæt" menu, the visual editor inserts a blank four-by-four table. Now the "Table" menu is available. From that menu, you can add a caption to the top of the table. |
|
For at vælge en celle, klik på den en gang. | |
To edit the contents of the cell (for example, to add content or to correct a spelling error), double press in the cell. Or you can select the cell and then press Return. To end your editing of a cell, just press elsewhere. |
|
You can add, move or delete a column or a row. | |
You can merge cells: Select them, then from the Table menu, press on "Merge cells". | |
If you merge cells, only the text in one cell is kept; any text in the other cells is deleted when you merge the cells. If you decide that you wanted some or all of the text that was deleted, use the Undo button, move or copy the text you want, then merge the cells again. | |
You can also split cells that were previously merged. All the content that was in the merged cell will remain in the first cell when you do the split. You can then cut and paste text to other cells, if you want. |
Redigere kategorier
"Sideindstillinger"-gardinmenuen giver dig adgang til "Kategorier"-knappen. | |
"Kategorier"-knappen åbner en dialogboks, der oplister eksisterende kategorier og giver dig mulighed for at tilføje nye. You also have the option of setting or changing the general (default) sorting key, which determines 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". 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 "Tilføj en kategori". As you type, the visual editor 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 publish all your editing changes.) | |
For at fjerne en eksisterende kategori, skal du klikke på den og klikke på "Fjern"-ikonet (skraldespand) i den dialog, der åbnes automatisk.
Pressing 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å "Anvend ændringer" når du er færdig med at redigere kategorier, og du vil komme tilbage til redigeringen |
Editing page settings
To edit a page's settings, press to open the "Sideindstillinger" menu, in the toolbar, and select the "Sideindstillinger" button. | |
The "Sideindstillinger" button opens a dialog that shows several options. | |
You can make a page a redirect to another page by checking the "Omdiriger denne side til" 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 are 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 "Hvis det er nødvendigt", 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. | |
Press "Anvend ændringer" when you are done editing the Sideindstillinger to return to the page editor. |
Editing maps
You can add and change maps. See Help:VisualEditor/Maps . |
Editing mathematical formulae
To add a new mathematical formula to the page, place your cursor where you want it to be inserted, and press on the "Matematisk formel" icon ("Σ") in the "Indsæt" menu on the toolbar. | |
A window will open in which you can type the formula, using LaTeX syntax. the visual editor 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, press the "Indsæt" button. | |
To edit an existing mathematical formula on the page, press on it and then press on the "Σ" icon that appears. This will open up the formula window, where you make changes. | |
Mathematical formulae can be placed inline or centered as a block. |
Editing musical scores
To add a new musical notation to a page, place your cursor where you want the musical notation to be inserted. Then, from the "Insert" menu on the toolbar, press the "Musical notation" option.
To edit an existing musical notation on the page, double press on it. |
|
This will open the "Musical notation" dialog. Here the notation can be edited by scale, either in ABC or in Lilypond format. You can also link the notation to an audio or MIDI file. Once you are finished, press the "Done" button to close the dialog and publish your changes. |
Redigering af digte og andre specielle emner
Nogle emner, såsom billedgallerier, matematiske formler og musikpartiturer støttes ikke af VisualEditor. Indtil de integreres i værktøjet, er du nødt til at redigere wikikoden direkte, hvis du vil redigere eller tilføje disse. | |
In most cases, the existing items can be edited, but new ones cannot be inserted in the visual editor.
Until they are fully supported, you can copy an existing one from another page, or edit the source wikitext directly. |
|
Switching between the visual and wikitext editors
To switch from the visual editor to the wikitext editor, press the |
|
You'll see a diff. (If you pressed on "Discard changes", you'll just see wikitext, ready to edit with the wikitext editor.) Scroll down, and you'll see the wikitext editing area. |
|
You can also switch from the wikitext editor to the visual editor. To do that, press the pencil icon on the far right of the toolbar. |
Tastaturgenveje
Mange skribenter er vant til at indsætte wikiformateret tekst direkte, især fed, kursiv og wikilinks. Tastaturgenveje gør det muligt at indsætte den samme formatering hurtigt uden at behøve klikke på knapperne i værktøjslinjen. Her er de mest almindelige genveje, der kan bruges i 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 |