Wikia

Vim Tips Wiki

Help:Editing

Talk0
1,612pages on
this wiki

Absolute beginner?Edit

If you can type and click, you can edit most pages on this wiki.

  1. Find a page to improve. (If you want, you can practice in the Sandbox first. It's there for practicing or experimenting with almost anything. It's a good place to get used to how the wiki works.)
  2. Click "Edit this page".
  3. An "edit box" will open - type your new sentences or corrections.
  4. Click the "Show preview" button to see how it looks, and so you can fix any mistakes.
  5. Click the "Save" button.
  6. You're now a Web Publisher. Welcome to the team!

More detailEdit

As with all wikis, you can edit any non-protected page on this Wikia. Your changes will be visible immediately. Just click the "edit" link that appears near the top of every page.

Explain your edit in the "Summary" box between the edit window and the save and preview buttons. e.g. "typo" or "added info on xyz".

Use the "Show preview" button to check your edit and get the formatting right before saving. Remember to Save page before moving on.

If you are logged in, you can mark an edit as minor by checking the This is a minor edit box to let people know your edit is not something substantive.

To try editing, open a new window and go to the Sandbox (which is an editing test area), and then click the "edit" link. Add something and click Save.

Please see our wiki policy and tip guidelines.

FormattingEdit

Most text formatting is done with wiki markup, so you don't have to learn HTML.

See the code guidelines for information about formatting code blocks. In brief: Use <pre>...</pre> around code. We use two-space indents for VimL script.

Bold and italicsEdit

Bold and italics are added by surrounding a word or phrase with multiple apostrophes ('):

  • ''italics'' is rendered as italics. (2 apostrophes on each side)
  • '''bold''' is rendered as bold. (3 apostrophes on each side)
  • '''''bold italics''''' is rendered as bold italics. (2 + 3 = 5 apostrophes on each side)

Headings and subheadingsEdit

Headings and subheadings are an easy way to improve the organization of an article. If you can see two or more distinct topics being discussed, you can break up your article by inserting a heading for each section.

Headings can be created like this:

  • ==Main heading== (2 equals signs)
  • ===Subheading=== (3 equals signs)
  • ====Another level down==== (4 equals signs)
  • =====Another level down===== (5 equals signs)

If an article has at least three headings, a table of contents (TOC) will be automatically generated. Try creating some headings in the Sandbox and see the effect on the TOC.

IndentingEdit

To indent text, place a colon (:) at the beginning of a line. The more colons you put, the further indented the text will be. A newline (pressing Enter or Return) marks the end of the indented paragraph.

For example:
This is aligned all the way to the left.
:This is indented slightly.
::This is indented more.
is shown as:
This is aligned all the way to the left.

This is indented slightly.
This is indented more.

Bullet pointsEdit

To insert a bullet, use an asterisk (*). Similar to colon indentation, more asterisks in front of a paragraph means more indentation.

A brief example:

*First list item
*Second list item
**Sub-list item under second
*Isn't this fun?

Which is shown as:

  • First list item
  • Second list item
    • Sub-list item under second
  • Isn't this fun?

Numbered listsEdit

You can also create numbered lists. For this, use the number sign or hash symbol (#). Using more #s will affect the level of indenting.

Example:

#First item
#Second item
##Sub-item under second item
#Third item

Shows as:

  1. First item
  2. Second item
    1. Sub-item under second item
  3. Third item

LinksEdit

Links are important on wikis to help readers navigate your site.

Internal linksEdit

You can extensively cross-reference wiki pages using internal links. You can add links to existing titles, and also to titles you think ought to exist in future.

To make a link to another page on the same wiki, just put the title in double square brackets.

For example, if you want to make a link to, say, the Main Page, it would be:

[[Main Page]]

If you want to use words other than the article title as the text of the link, you can add an alternative name by adding it after a pipe "|" divider (Shift + Backslash on English-layout and other keyboards).

For example, if you wanted to make a link to the Main Page, but wanted it to say "home page" you would write it as such:

View the [[Main Page|home page]]...

It would appear as:

View the home page...

When you want to use the plural of an article title (or add any other suffix) for your link, you can add the extra letters directly outside the double square brackets.

For example, you would write:

Add questions to the Wikia for [[quiz]]zes.

It would appear as:

Add questions to the Wikia for quizzes. (the link will be red if this page does not yet exist).

Interwiki linksEdit

To link to another Wikia, you can use its title followed by a colon and the article name, instead of using the full URL.

For example, the Creatures Wiki home page is at Creatures:Main Page, which can be typed as

[[Creatures:Main Page]]
rather than as http://creatures.wikia.com/wiki/Main_Page

This style of link works for any wiki in the interwiki map, not just for Wikia. See the Central Wikia page at Wikia:Help:Interwiki link.

External linksEdit

If you want to link to a site outside of Wikia, you may just type the full URL for the page you want to link to.

http://www.google.com/

It is often more useful to make the link display something other than the URL, so use one square bracket at each end, with the alternative title after the full URL address, separated by a space (not a pipe). So if you want the link to appear as Google search engine, just type:

[http://www.google.com/ Google search engine]

RedirectsEdit

To redirect automatically from one page to another, type #REDIRECT and then put in double square brackets the name of the page to be redirected to.

For example, you could redirect from "Cats" to "Cat". That way, anyone typing either version in the search box will automatically go to "Cat":

#REDIRECT [[Cat]]

Wiki variables and templatesEdit

Use {{SITENAME}} to see the current Wikia. For instance, {{SITENAME}} on this site prints out as Vim Tips Wiki.

That and a few other templates are common to MediaWiki sites.

Check the current list of all templates on this Wikia and see our template guidelines.

You can create templates. After you create the page Template:XXX, using the command {{XXX}} will include that content in your current page. So, if you have something that needs to be included on many other pages, you might want to use a template.

Most templates available on the Central Wikia can be used on individual wikia with just "wikia:" prefixed to the name. See the help page on Central at Wikia:Help:Shared templates.

This page introduces the basics for getting started with editing on Wikia and a walkthrough of the Wikia editor. You may wish to visit the linked pages to learn more in-depth details of editing.

Note: the information below is for the classic Wikia editor. For information on using the new VisualEditor, see Help:VisualEditor.

Editor tour03:27

Editor tour.mov

Watch a quick tour of the Wikia editor

Step by step

Anyone can edit a wikia, and generally you don't even need to have an account to edit! (There are some circumstances which can restrict editing.)

  • To edit a page, simply click the Edit button which is located by the title of the page.
  • The editor will then load, allowing you to make changes to the page - adding or removing text, photos, videos and much more.
Wikia editor2

The classic Wikia editor

Editor features

  • Visual Mode: This mode is generally the default and allows you to make edits that will appear similar to how they will on the published page.
  • Source Mode: This mode allows you to edit the page using wikitext.
    • You can disable the Visual Mode entirely by visiting the "Editing" tab in your preferences, opening the "Preferred editor" menu, then selecting "Source editor".
    • This mode may be preferred for editors who need to edit complex templates frequently.
  • Edit Area: This is the main content area where you can add text, media and adjust the format of the page.
  • Toolbar: The toolbar allows you to format text, making it different sizes and styles. You can expand and condense the toolbar to view more or less tools.
  • Feature Modules: The right pane also includes modules that allow you to add features and media such as photos, slideshow, videos and tables. You can access templates to use on the page and add categories. The preview and publish buttons are found at the top of this area.

Basic editing tips

  • Once the editor is opened, you can use the toolbar, features modules and free form edit area to add or adjust to the page content.
  • To see how your page will appear once it's published, click on the preview button. This will pop up a window that shows the page as it is currently designed. You can also choose to view how the page will look at the minimum and maximum sizes that other users might see.
  • If you like your preview, hit publish and your edits will be pushed live.
  • If you don't like your preview, you can keep editing until it appears as you would like it to.
  • To let others know what you added, fill in a summary above the publish button.

Finally, don't be afraid if you 'break' anything. All edits to a page are stored in the page history, and if something does go wrong you can simply revert to an older version.

Notes

Due to some issues with Internet Explorer 11, the editor's visual mode is not currently available when using this browser. It may be re-enabled at a future date.

See here for an explanation of Wikia's editor user preferences.

Next steps

Further help and feedback

Around Wikia's network

Random Wiki