Robocraft Wiki:Wiki Guide

{| class="rc-content"  This guide will detail how to correctly format pages on this wiki. It will provide links to the templates used, so that you can learn their parameters. Before creating or organising a page, please read the "Order of Page Items" section on this page or view the handy example page. If you have had no previous experience with editing Gamepedia wikis, please refer to the Beginner's Guide to Syntax.



Page Essentials
The first line on ANY page should be the following code. Using this allows us to change page themes across the site easily (so does the next item), and therefore should never be skipped. It also applies a couple of basic functions to that page.

All of our pages are structured within tables, which will be refered to as "page tables" throughout this guide. Each h2 header (explained below) and its content is kept in it's own row, and is called a "section". From the second line, before any other page content (but still below Template:Theme), write the following code.

Make sure to do this BEFORE any categories linked at the bottom, or Template:Cubes, which will be discussed later in this guide.



Headers
This wiki primarily uses h2 headers. These can be added by using the following code on a new line.

Header To Display
If you are ever in need of a sub-header, use an h3 element, as below.

Templates
Make sure to visit each template's individual page to learn how to use their parameters, as they will not be detailed here. Templates can be added by surrounding it's name in double curly brackets like so.

Each parameter can be added as follows.



Template:^
If you need to highlight a short line of text for some reason, use this template to do so. It will provide bold and centering to any text you specify. Usage as follows.

Template:Cube
Provides a small information box, intended for use directly underneath a Slideshow. Please visit the template's page for more info.

Template:Cubes
This template should be added in the bottoms line of every page, even below the end of the page table. Only Categories should appear below it.



Template:CubeType
The name "cubetype" refers to five different templates. These are used to highlight what type of cube the page talks about, in the form of a banner across the top of the page. For example, if the cube was a Plasma Launcher, simply write the type of cube surrounded in curly brackets, as shown below. This should be located just below the start of the page table and any notice templates.

The same applies to all five cube types (Chassis, Movement, Weapon, Special, Cosmetic).

Template:Infobox
An "infobox" is how basic information about a cube is displayed. This is primarily used for prices, or showing a multitude of different cubes on one page, such as on page Cosmetic.

There is no extra code required surrounding the infobox element, as shown below. For details on how to use an infobox's parameters, click here.



Notice Templates
Notice templates are used to notify a reader about something. They normally contain messages such as "This item is considered to be an exploit" or "This item is now obsolete". Notice templates should always appear at the very top of the page, above the cubetype banner but still within the page table. The following will detail when to use specific notice templates, but not their parameters.

Template:Cleanup
Use this template when a page is very messy or disorganised.

Template:Delete
If you do not believe a page is required, you can mark it for deletion using this template. Make sure to provide a valid reason.

Template:Exploit
This template warns users that the described item(s) may be considered exploitative by either the community or the developers.

Template:Future
Use this template if the described item(s) have not been released into the game yet, or if the article is speculation.

Template:Move
Add this template if you think a page should be moved to a different address.

Template:Obsolete
This template shows that the described item(s) have been removed from the game.

Template:Outdated
If a page's information is outdated, make sure to add this template.

Template:Stub
Use this template to mark pages that are lacking information.



Statistics Tables
Robocraft wiki has a specific way of creating statistics tables. If the instructions below don't satisfy your needs, find a table on the wiki to copy. Remember that new lines are very important. Do not add the "center" tag anywhere in the table, this is handled via the CSS and just creates extra clutter.

First of all, begin your table in a similar fashion to the page tables, but with a different class.

Now your completed table's code should look like this.

And this is what it should look like.

Please note that if you see the following code anywhere in a table, it should be removed. The easiest way to achieve this is to copy the table into Notepad and use the replace all tool to replace the code with nothing.

Links
How to use a link.

Adding Images
Adding an image works similarly to adding a link. However, unlike with links, you can change the size of the image and what page will appear when you click it. For example, if I wanted to add an image of a Tesla Blade Nova that is 120px wide (the original image size does not matter) and links to the "Weapons" page, this would be my code.

But what if I wanted to add a caption to said image? This can be achieved by adding "thumb" as a parameter, and then caption content as the final parameter, like so:

It's as simple as that. Please note that ALL images inside of statistics tables should be 85px wide. Do not upload any images smaller 85px wide.

Slideshows
At the top of most cube-related pages is a box slowly cycling through various images. This should be located below Template:CubeType, but above any text. Unlike the templates, this is added via an html tag. Start by adding the tag "slideboxlightshow". Make sure to type it this exact way to maintain consistency across the site. 

On the lines below this, list any files you would like on the slideshow, then add a pipe after each one. On the other side of the pipe, add your caption. File:image1.png|Caption 1 File:image2.jpg|Caption 2

Then complete the slideshow by adding the close tag.

Your final code should look like this:  File:image1.png|Caption 1 File:image2.jpg|Caption 2



Order of Page Items
The order of page items is very important for page consistency. If you see any page not following this order, then please re-arrange it if possible. For the sake of examples, lets say we are making the basic layout for a page on Tesla Blades.

As mentioned above, Template:Theme and the page table should appear first. Next after this comes any notice templates, and following that, the CubeType banner if applicable. For example:

{| class="rc-content"

Here is where you place the slideshow with Template:Cube below it, or an image to be placed alongside the first block of text. This text should be a short mention of what the page discusses, and must appear before any headers.  File:TeslaT8.png|Slicer File:TeslaT9.png|Ripper File:TeslaT10.png|Nova

The Tesla Blade is a weapon that deals damage on contact with an enemy robot.

Now is it time for your first header. Remember to add the page table items between headers as mentioned above. This first header should always be "Overview". If your page should not have an "Overview" section, place something else here.

Overview
Tesla blades output a large amount of damage upon contact with enemy robots. It is Robocraft's only melee weapon. Tesla blades are often combined with the Ghost Module to create stealthy attack craft.

You can create and organise the rest of your page to your liking.

Pros

 * Can allow for stealthy attacks
 * Effective at close range
 * Works well alongside the Ghost Module and Blink Module

Cons

 * The tesla blade has low health
 * The range is very limited



Strategies & Counters
Tesla blades are easily countered if you can see the enemy. If the enemy is using a Ghost Module listen and watch for hints that they may be nearby, such as a dulling of sounds or flicker in the air. Lasers can be particularly useful for specifically targeting the blades themselves. Railguns are going to struggle with the close range combat.

Now we reach the last part of the page. This should always follow this pattern. Make sure the "Statistics" header is second to last, and "Trivia" is last. Then add the page table end, Template:Cubes, then any applicable categories like so:

Trivia

 * Tesla blades were added on 12th September 2014 in the "The Tanks Are Rollin' Out" update.
 * The name 'Tesla' comes from Nikola Tesla, a Serbian American Scientist best known for his work in Wireless Electricity Distribution and the development of the Alternating Current (AC) electricity supply system.


 * }

Well done! Now your page is complete, and it has followed all the guidelines. Click here to see what your final page should look like. Click the view source button to see the page code.

New Lines
Be careful not to add unnecessary new lines. In some cases, these can cause issues with the theme. This is wrong: Sample Text Sample Text Sample Text Sample Text!

Sample Header
Sample Text Sample Text.

This is correct: Sample Text Sample Text Sample Text Sample Text!

Sample Header
Sample Text Sample Text.
 * }