Robocraft Wiki

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.

READ MORE

Robocraft Wiki
m (Protected "Wiki Guide" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(added guide)
Line 1: Line 1:
{{placeholder}}
+
{{theme}}
  +
{| class="rc-content"
  +
|-
  +
|
  +
This guide will detail how to correctly format pages on this wiki. It will provide links to the templates used, but won't detail their parameters. If you have had no previous experience with editing Gamepedia wikis, please refer to the [https://help.gamepedia.com/Beginner's_Guide_to_Syntax Beginner's Guide to Syntax].
  +
  +
|-
  +
|
  +
==Overall Page Layout==
  +
  +
{{^|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. This applies the website's theme to the page, and therefore should never be skipped.
  +
<pre>
  +
{{theme}}
  +
</pre>
  +
  +
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.
  +
<pre>
  +
{| class="rc-content"
  +
|-
  +
|
  +
</pre>
  +
  +
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.
  +
<pre>
  +
|-
  +
|
  +
</pre>
  +
  +
Continue like so. When you reach the bottom of the page, add the following code on a new line to end the table.
  +
<pre>
  +
|}
  +
</pre>
  +
  +
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.
  +
<pre>
  +
==Header To Display==
  +
</pre>
  +
  +
If you are ever in need of a sub-header, use an h3 element, as below.
  +
<pre>
  +
===Sub-Header To Display===
  +
</pre>
  +
  +
|-
  +
|
  +
==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.
  +
<pre>
  +
{{template}}
  +
</pre>
  +
  +
Each parameter can be added as follows.
  +
<pre>
  +
{{template|parameter1|parameter2}}
  +
</pre>
  +
  +
|-
  +
|
  +
==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.
  +
<pre>
  +
{{^|Text To Highlight}}
  +
</pre>
  +
|-
  +
|
  +
===[[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.
  +
<pre>
  +
{{cubes}}
  +
</pre>
  +
|-
  +
|
  +
===[[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 [https://robocraft.gamepedia.com/Wiki_Guide#Notice_Templates notice templates].
  +
<pre>
  +
{{weapon}}
  +
</pre>
  +
  +
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, [https://robocraft.gamepedia.com/Template:Infobox click here].
  +
<pre>
  +
{{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.}}
  +
</pre>
  +
|-
  +
|
  +
==Notice Templates==
  +
  +
[https://robocraft.gamepedia.com/Category: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.
  +
  +
First of all, begin your table in a similar fashion to the page tables, but with a different class.
  +
<pre>
  +
{| class="rc-table"
  +
</pre>
  +
  +
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.
  +
<pre>
  +
! First Column !! Second Column !! Third Column
  +
</pre>
  +
  +
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.
  +
<pre>
  +
|-
  +
| 1 || 2 || 3
  +
</pre>
  +
  +
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.
  +
<pre>
  +
|}
  +
</pre>
  +
  +
Now your completed table's code should look like this.
  +
<pre>
  +
{| class="rc-table"
  +
! First Column !! Second Column !! Third Column
  +
|-
  +
| 1 || 2 || 3
  +
|-
  +
| 10 || 20 || 30
  +
|-
  +
| 1000 || 2000 || 3000
  +
|}
  +
</pre>
  +
  +
And this is what it should look like.
  +
  +
{| class="rc-table"
  +
! First Column !! Second Column !! Third Column
  +
|-
  +
| 1 || 2 || 3
  +
|-
  +
| 10 || 20 || 30
  +
|-
  +
| 1000 || 2000 || 3000
  +
|}
  +
  +
==Notes==
  +
  +
* Be careful not to add unnecessary new lines. In some cases, these can cause issues with the theme. This is wrong:
  +
<pre>
  +
Sample Text Sample Text Sample Text Sample Text!
  +
  +
  +
==Sample Header==
  +
  +
  +
  +
Sample Text Sample Text.
  +
</pre>
  +
  +
This is correct:
  +
<pre>
  +
Sample Text Sample Text Sample Text Sample Text!
  +
  +
==Sample Header==
  +
  +
Sample Text Sample Text.
  +
</pre>
  +
|}

Revision as of 08:05, 8 May 2017

This guide will detail how to correctly format pages on this wiki. It will provide links to the templates used, but won't detail their parameters. If you have had no previous experience with editing Gamepedia wikis, please refer to the Beginner's Guide to Syntax.

Overall Page Layout

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. This applies the website's theme to the page, and therefore should never be skipped.

{{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: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.

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

Notes

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