Welcome to the Official Robocraft Wiki! If you are confused about how to do something within a page, run into problems or have suggestions, refer to the Wiki Formatting Guide or contact an admin.

Robocraft Wiki:Wiki Guide

From Robocraft Wiki
Jump to: navigation, search
Feel free to skip to any part of this guide applicable to you. If you are simply looking for an example page, click here.

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

Make note of new lines. Each new line is important; without it the syntax won't work properly.

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.

{{theme}}

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.

{| class="rc-content"
|-
|

The first line removes extra "edit" buttons throughout the page. The other lines begin the table, and make sure top row covers the entire page. After this, every time you add a new section, add the following code above it. This places that section on it's own row.

|-
|

Continue like so. When you reach the bottom of the page, add the following code on a new line to end the table.

|}

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.

===Sub-Header To Display===

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.

{{template}}

Each parameter can be added as follows.

{{template|parameter1|parameter2}}

Formatting Templates

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.

{{^|Text To Highlight}}

Template:Cube

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

{{Cube
| type=Movement
| role=Provides lift
}}

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.

{{cubes}}

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.

{{weapon}}

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.

{{infobox|image=T1Light.png|title=Headlamp|cost=1,000|sell=250|psell=750|text=Generates a cone of light when activated. Can be useful in very dark places. Toggle it on/off with the 'L' key.}}

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.

{| class="rc-table"

After that, you can begin to add the table's content. The top row looks different to the others, because it uses an exclamation mark (!) instead of a straight line (|) as a "pipe". Pipes determine the column text will appear on, as demonstrated below. This first row also determines the number of columns within the table.

! First Column !! Second Column !! Third Column

Now your table should have three columns, with the titles "First Column", "Second Column", and "Third Column". Next comes the other rows. These utilise a different type of pipe (|) between columns. Add a new row, and then its data.

|-
| 1 || 2 || 3

You can add as many of these rows and columns as you like. For the sake of example, I will add two more rows. Once all your data has been added, end the table like so.

|}

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

{| class="rc-table"
! First Column !! Second Column !! Third Column
|-
| 1 || 2 || 3
|-
| 10 || 20 || 30
|-
| 1000 || 2000 || 3000
|}

And this is what it should look like.

First Column Second Column Third Column
1 2 3
10 20 30
1000 2000 3000

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.

<center>
</center>

Links

How to use a link.

Adding Images

Make sure all uploaded images are .png files

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.

[[File:TeslaT10.png|120px|link=Weapons]]

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:

[[File:TeslaT10.png|120px|link=Weapons|thumb|This is a caption for the Tesla Blade Nova]]
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.

<slideboxlightshow interval="2000" width="300" height="200">

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.

</slideboxlightshow>

Your final code should look like this:

<slideboxlightshow interval="2000" width="300" height="200">
File:image1.png|Caption 1
File:image2.jpg|Caption 2
</slideboxlightshow>

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:

{{theme}}
{| class="rc-content"
|-
|
{{outdated}}
{{weapon}}

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.

<slideboxlightshow interval="2000" width="300" height="200">
File:TeslaT8.png|Slicer
File:TeslaT9.png|Ripper
File:TeslaT10.png|Nova
</slideboxlightshow>
{{Cube
| type=Weapon
| role=Ramming melee weapon
}}

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 & Cons==
|-
|
===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. [[Laser|Lasers]] can be particularly useful for specifically targeting the blades themselves. [[Railgun|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:

|-
|
==Statistics==

{| class="rc-table"
|-
! Image !! Name !! Price {{robits}} !! Health {{health}} !! CPU Load {{CPU}} !! Mass {{mass}} !! Damage Per Hit !! Energy Consumption Per Shot !! Single Gun Fire Rate Per Second !! Max Fire Rate !! Max Fire Rate Count
|-
| {{stat-image|image=TeslaT8.png|rarity=u}} || Slicer || 640 || 10,638 || 16 || 16.4 || 45,000 || 0 || 1.67 || 6.67 || 4
|-
| {{stat-image|image=TeslaT9.png|rarity=r}} || Ripper || 2,000 || 13,298 || 20 || 17.6 || 63,000 || 506 || 2.22 || 6.67 || 3 
|-
| {{stat-image|image=TeslaT10.png|rarity=e}} || Nova || 6,000 || 15,957 || 24 || 18.9 || 88,200 || 837 || 3.33 || 6.67 || 2 
|}

|-
|
==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.

|}
{{cubes}}
[[Category:Weapons]]

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.

Notes

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.