Editing

From Gaming Asylum Wiki
Jump to: navigation, search

Introduction

Editing the Asylum Gaming wiki is a great way to improve articles for all readers. We use the classic source mode editing scheme.

Cheat Sheet

This is a cheat sheet to help users learn the basics of editing and formatting. The Asylum Wiki uses a markup language called wikitext to create particular elements of the page. This language is used on websites that run the MediaWiki software, including Wikipedia and all Wikia sites, and is designed to be a simplified alternative to HTML.

Description Markup Renders as
Italics, bold, and bold italics

''Italics''
'''Bold'''
'''''Bold italics'''''

Italics
Bold
Bold italics

Underline

<u>Underline</u>

Underline

Linking to other pages

[[New_Gang| Gang Creation Guide]]

Gang Creation Guide

Linking to images

[[File:Discordlogo.png|thumb|center|Caption]]

Caption
Creating bulleted lists
* Item
* Item
** Item
** Item
  • Item
  • Item
    • Item
    • Item
Creating numbered lists
# Item
# Item
## Item
## Item
  1. Item
  2. Item
    1. Item
    2. Item
Creating headers
==Level 2==
===Level 3===
====Level 4====

Level 2

Level 3

Level 4

Example

Markup Renders as
[[File:Discordlogo.png|left|60px]]
The '''DISCORD''' server is a location to meet new players, [[Support |ask for support]] and communicate as part of the [[APD_Dashboard |Altis Police (APD)]].

==Trivia==
* Nothing interesting happened.
* The Asylum Wiki has {{NUMBEROFPAGES}} pages.
Discordlogo.png

The DISCORD server is a location to meet new players, ask for support and communicate as part of the Altis Police (APD).


Trivia

  • Nothing interesting happened.
  • The Asylum Wiki has 927 pages.

First look at the Source mode interface

Source mode allows you to see all of the wikicode on a page and to edit this directly. If you want to make a more complex edit you should switch to the Source mode editor. Use Source mode for these types of edits:

  • Making a redirect
  1. Shortcuts for performing some kinds of edits.
  2. Edit summary: may be used to explain what changes you made/why you have changed something to other editors.
  3. Minor edit tickbox: can check this to indicate that you have made only a small change to a page.
  4. Previews: shows a preview of what the page will look like for readers.
  5. Show changes: shows the differences made to the page in your edit.
  6. Save changes: save your changes when you are finished making your edit.

Basics in Source mode

This portion of the guide will cover how to perform the same functions using Source mode.

Bold and italics

Bold is added by placing '''triple apostrophes''' around the text and italics are added by putting ''double apostrophes'' around the text.

This can be done manually, using the apostrophe key of your keyboard, or by using the bold or italic buttons of the Source mode editor. Click the icons to add bold/italics while the text you want to add the effect to is selected.

Headings

Headings are added by putting == == around your section title. Further sub-headings can be added be adding more equals signs. E.g:

==Heading 1==
===Sub-heading 1===
====Another section====
===Sub-heading 2===
==Heading 2==

Try not to overuse headings: having too many can make it hard to navigate the contents of a page. An alternative can be to use ; which creates a section which does not appear in the contents. E.g:

;Heading

Gives

Heading

Lists

Numbered lists are added by putting # before each item on the list. Each point should begin on a new line. E.g:

# First point
# Second point

Gives:

  1. First point
  2. Second point

Bullet pointed lists are added with *:

* First point
* Second point

Makes:

  • First point
  • Second point

You can also make sublists within lists:

# First point
## One more thing
## Another thing
# Second point

Gives:

  1. First point
    1. One more thing
    2. Another thing
  2. Second point
* First point
** One more thing
** Another thing
* Second point

Makes:

  • First point
    • One more thing
    • Another thing
  • Second point

Links

  • To add a link simply place [[ ]] around the name of the page you wish to link to. This can either be done by adding these manually or with the Internal link button. E.g. [[APD_Dashboard]] creates APD_Dashboard.
  • Once you have added [[ and started to type the name of a piece of content, a list of pages with names matching what you have already written will be displayed. This can be helpful if you are not sure of the exact name of the page you want to link.
  • If the text between [[ ]] does not match an existing page or redirect then a redlink will be added. Redlinks do not link to existing pages and instead direct a reader to create a new page with that name. Use the preview to check that any links you have added are working correctly.

Links should fit in with the rest of the sentence. You can achieve this by manipulating links like so:

  • You can change the text displayed with a link without affecting where the link goes; this can be used when the name of the page you want to link to does not fit in with what you are writing, e.g. [[APD_Dashboard| Altis Police Guidebook]] = Altis Police Guidebook.
  • Sometimes content does not have a dedicated article and is instead included as a section of a larger page: you may wish to link directly to the relevant section. You can do this by adding # and the name of the relevant section's heading after the page name in a link. This text after # must match up to a section heading in order for the link to work correctly. For example if you wanted to link about patrolling illegal areas within the general patrolling page you would write it like this [[Patrolling#Illegal_Areas]]. This is usually combined with changing the link text

Example:

[[Patrolling#Illegal_Areas| how to handle illegal areas as APD.]]

Becomes here's how to handle illegal areas as APD.

Images

  • Link to your desired file like this: [[File:The file's name.png]]. You must use the correct file extension at the end of the image's name: most files on the wiki are in the .png format, however some are in another format such as .jpgs. E.g:

[[File:Discordlogo.png|centre|100px]] adds this image:

Discordlogo.png
  • You must use the exact file name (using the same spelling, capitalisation and spacing) for the link to work correctly.
    • Most images on the wiki use standardised names depending on what kind of they are: this can be helpful for identify which image you want to use.
    • As with regular linking, starting to type with [[File: will display files matching what you have written to help you chose the correct image.
  • Often you will wish to specify the size and positioning of images.
    • Adding |left |right or |center before the end of your link, after the image's name will put it in that position on a page, e.g. [[File:Discordlogo.png|left|50px]] will add the add the image on the left side of text.


Discordlogo.png

Text Here


    • You can adjust the size of the image by adding ###px in the same place in the link: this limits the width of the image. E.g. [[File:Discordlogo.png|center|50px]] or [[File:Discordlogo.png|50px|center]] adds an image which is centred and has a width of 50 pixels:
Discordlogo.png

Tables

Tables can be useful for displaying some kinds of information. A standard table can be added using the table button. This adds the wikicode:

{| class="wikitable"
|-
! header 1
! header 2
! header 3
|-
| row 1, cell 1
| row 1, cell 2
| row 1, cell 3
|-
| row 2, cell 1
| row 2, cell 2
| row 2, cell 3
|}

Giving a table with 3 columns with headings and 2 rows:

header 1 header 2 header 3
row 1, cell 1 row 1, cell 2 row 1, cell 3
row 2, cell 1 row 2, cell 2 row 2, cell 3

You can also create your own table:

{| class="wikitable"
|-

|}

Creates the table

|- makes a new row

| makes a new cell

! makes a bold heading

Making a new page

If you have searched for a page that does not exist you will be given the option to create it at the top of the search results. Before doing so make sure that you have used the correct spelling, spacing and capitalisation for the content you are making the page for to avoid making duplicate pages for the same content. If you are sure that no page exists, click on the red link to create the page.

Start adding any information that is known about the content. You must save the page after you have finished editing it before it is created.

You can then look to existing pages for similar content to see what formatting and advanced features are needed. You can copy and paste from existing pages and adapt to the page you have made.

We suggest looking at the formatting in the Gang Creation Guide for basic guides involving gameplay.

Special Pages

Mediawiki Sidebar Naviagtion