Help:Editing/VisualEditor basics: Difference between revisions

Step-by-step process on VisualEditor basics
(Created page with "This is '''part 2''' of the series of editing guides of the Let's RP Wiki. This guide is a step-by-step process on '''VisualEditor basics''' - or, '''how to use the most common tools the VisualEditor offers'''. This guide is made from the perspective of a logged-in user with default preferences. It also assumes you have read the first guide; if you haven't, please do so first! This guide covers four very common th...")
 
 
(3 intermediate revisions by the same user not shown)
Line 12: Line 12:
== Walkthrough ==
== Walkthrough ==
=== Starting ===
=== Starting ===
For this demonstration, I'll be showing [[Razor]], but not saving any of my edits. This is just to show how to do things. The following sections were done in this order, but you don't have to follow that if you don't want to.
For this demonstration, I'll be showing [[Momo Curie]], but not saving any of my edits. This is just to show how to do things. The following sections were done in this order, but you don't have to follow that if you don't want to.


Open up the edit screen.
Open up the edit screen.
Line 19: Line 19:


=== Links ===
=== Links ===
Links are probably the most important thing to use after plain text. First off, click (left or right) the "MISC" link here to show this window:
Links are probably the most important thing to use after plain text. First off, click (left or right) the "UwU Cafe" link here to show this window:


[[File:VE basics - link popup.png|400px|thumb|center]]
[[File:VE basics - link popup.png|400px|thumb|center]]
Line 27: Line 27:
[[File:VE basics - link editing.png|400px|thumb|center]]
[[File:VE basics - link editing.png|400px|thumb|center]]


This is the link edit window. As you can see, it is pretty simple. You can change the destination of the link by typing in the search box and selecting the page that you want to link to. Changing the destination won't change the text (you do that by just typing where it says "Slayer" in the prose).
This is the link edit window. As you can see, it is pretty simple. You can change the destination of the link by typing in the search box and selecting the page that you want to link to. Changing the destination won't change the text (you do that by just typing where it says "UwU Cafe" in the prose).


Here's another example further down the page, where the text says "MISC" and the link is to "[[Musashi Industrial and Starflight Concern]]".
Here's another example further down the page, where the text says "LSPD" and the link is to "[[Los Santos Police Department]]".


[[File:VE basics - link editing 2.png|400px|thumb|center]]
[[File:VE basics - link editing 2.png|400px|thumb|center]]


Adding a link is as simple as selecting the text you want to link, then clicking the link button. This will open the link edit window with the default text of the highlighted word(s).
Adding a link is as simple as selecting the text you want to link, then clicking the link button, alternatively typing <code>[[</code> will open the link creation window. This will open the link edit window with the default text of the highlighted word(s).


[[File:VE basics - link insert.png|400px|thumb|center]]
[[File:VE basics - create link.png|400px|thumb|center]]


That's really all there is for links.
That's really all there is for links.
Line 87: Line 87:
[[File:VE basics - insert image button.png|thumb|center|400px]]
[[File:VE basics - insert image button.png|thumb|center|400px]]


This opens the image insertion dialogue, which offers to search for an image from one that already exists on the wiki or upload a new image. Uploading will be covered in a future guide, so we're just going to search for now. Our images adhere to a specific naming guide (see below), so you should easily be able to find what you're looking for. For now, I'm just going to search "razor" and add an image, which is a [[:File:MISC Razor Murray Cup.jpg|concept art of Razor in a race]].
This opens the image insertion dialogue, which offers to search for an image from one that already exists on the wiki or upload a new image. Uploading will be covered in the [[Project:Editing/Uploading images|uploading images]] guide, so we're just going to search for now. Our images adhere to a specific naming guide (see below), so you should easily be able to find what you're looking for. For now, I'm just going to search "Momo" and add an image, which is a [[:File:MomoCurie.jpg|picture of Momo Curie]].


[[File:VE basics - insert image modal.png|thumb|center|400px]]
[[File:VE basics - insert image modal.png|thumb|center|400px]]

Latest revision as of 20:25, 7 February 2023

This is part 2 of the series of editing guides of the Let's RP Wiki. This guide is a step-by-step process on VisualEditor basics - or, how to use the most common tools the VisualEditor offers.

This guide is made from the perspective of a logged-in user with default preferences. It also assumes you have read the first guide; if you haven't, please do so first!

This guide covers four very common things:

  • Links
  • Bold and italics
  • Bulleted and numbered lists
  • Images

Walkthrough

Starting

For this demonstration, I'll be showing Momo Curie, but not saving any of my edits. This is just to show how to do things. The following sections were done in this order, but you don't have to follow that if you don't want to.

Open up the edit screen.

VE basics - editor opened.png

Links

Links are probably the most important thing to use after plain text. First off, click (left or right) the "UwU Cafe" link here to show this window:

VE basics - link popup.png

The icon shows what the action is — a link has a chain — and the text shows something about the element; for links: the destination. From here you can click the link to view the page it is linking to, remove the link or edit it, using the edit button.

VE basics - link editing.png

This is the link edit window. As you can see, it is pretty simple. You can change the destination of the link by typing in the search box and selecting the page that you want to link to. Changing the destination won't change the text (you do that by just typing where it says "UwU Cafe" in the prose).

Here's another example further down the page, where the text says "LSPD" and the link is to "Los Santos Police Department".

VE basics - link editing 2.png

Adding a link is as simple as selecting the text you want to link, then clicking the link button, alternatively typing [[ will open the link creation window. This will open the link edit window with the default text of the highlighted word(s).

VE basics - create link.png

That's really all there is for links.

Policy

Link policy is fairly simple and is covered by the style guide. The main takeaways for the VisualEditor are:

  • If you mention the same thing on a page several times, in general, it should only be linked once, unless the page is very long (excluding things like tables, templates, and navboxes).

Bold and italics

This is simpler than links but generally less important, so here it is. Bold and italic are simply applied by selecting the text and clicking the B or I in the drop-down options from the style text button.

VE basics - bolding.png

Removing bold/italics is done in exactly the same way - highlighting the text and clicking the button.

Bold and italics can both be applied to the same thing by clicking both buttons.

Policy

This is also covered by the style guide.

  • Bold and italics should generally be used sparingly.
  • Using both at the same time should be done even less often.
  • The first mention of the article's name (in the opening sentence, usually) should be bolded. Other instances should not.
  • Titles of works (i.e. real-world books, TV shows, movies, video games, etc.) should be italicized.
  • Bold and italics can be used for emphasis, but this should be done only when necessary. It is common for editors to bold the word "not"; however, most cases are unnecessary. Bolding an entire sentence is never appropriate. If a section of prose is important enough that it needs to stand out, then the text should be reworded to emphasize that point; for example, you could place this text at the beginning of the paragraph, or separate it as its own paragraph.

Underlines should be avoided, so they are not covered here.

Lists

Lists come in two forms - bulleted lists and numbered lists - which are essentially interchangeable in terms of setting them up. Numbered lists are generally for things that require an order, like a list of instructions, whereas bulleted lists are for unordered lists, like a shopping list.

Lists are added by clicking the relevant drop-down button in the top toolbar:

VE basics - list.png

If your cursor is on a line with text already (including if you have any text selected), the entire line/paragraph will become the first item in the list. To have a blank first item, add a linebreak (press enter) before clicking the button. You can also click the button to remove the list (or change the type).

Once you have one bullet/number, the next bullet/number is added by pressing enter at the end of a line. Pressing enter when the item is empty removes it and finishes the list.

Policy

There are currently no guidelines on how to use lists, but common sense should prevail.

If you're writing out bullets with each having the same type of information each, in a specific pattern, consider using a table instead (tables covered in the next guide).

Images

Images are the most complex thing covered in this guide, but they're used very often so they're pretty important.

Images are added by clicking the icon on the top bar. (You can remove images by just clicking on them and pressing backspace or delete.)

VE basics - insert image button.png

This opens the image insertion dialogue, which offers to search for an image from one that already exists on the wiki or upload a new image. Uploading will be covered in the uploading images guide, so we're just going to search for now. Our images adhere to a specific naming guide (see below), so you should easily be able to find what you're looking for. For now, I'm just going to search "Momo" and add an image, which is a picture of Momo Curie.

VE basics - insert image modal.png

Clicking the image in this dialogue shows a full view of the image with some information about it, and clicking use this image at the top-right of the window will open the media settings window.

You can set a caption in the "General settings" page, which will appear below the image. Captions can contain links, bold, italics, and so on, like normal text.

VE basics - image caption.png

The "Advanced settings" page is about position and size of the image. This is where you can specify a size, rather than using the drag handles. You can also specify whether to float left, right or centred on the page.

VE basics - image position.png

Clicking insert will add the image to the page.

VE basics - image inserted.png

Once the image is on the page it can be moved around by clicking and dragging it, resized using the drag handles in each corner, and you can re-enter the settings by clicking it and clicking the icon/text in the popup.

Notes

Be aware that editing an image too much will often make it unable to be positioned properly - you may have to use source mode.

There are many other features of images that the VisualEditor cannot use - these will be covered in the source mode guide.

Policy

Image usage policy is, again, covered by the style guide.

  • Images should mostly be left or right-aligned, with center alignment used sparingly.
    • Note that sometimes templates like infoboxes will occupy the right side of the page. In that case, but the image on the left or center instead.
    • Keep in mind that the image placement might behave differently on mobile.
  • Captions should end in a full stop if they are a complete sentence, and not have a full stop if they are not.

Policy on uploading images is covered by the images and media policy. This will be covered in more detail by the uploading images guide.

See also


Note: A portion of the text above originated from the RuneScape Wiki and SC Tools wiki under CC BY-NC-SA 3.0 license.