Wiki Editing

From Cubic Castles Wiki
Jump to navigation Jump to search

Want to contribute but don't know how? This page will get you started!

Change Log: http://wiki.cubiccastles.com/index.php?title=Special:RecentChanges&days=30&from=&limit=500


Note: User pages will be deleted. The wiki is meant for game elements, whereas our forums is for users and their creations. (This does not apply to staff pages, they're meant for awareness and informative content to help prevent impersonation)

Creating Pages

To create a wiki page, its name has to be manually typed into the browser box. However, you need to use "_" instead of spaces.

To do this, paste this link... but don't hit enter just yet!

http://wiki.cubiccastles.com/index.php/

Next, enter your desired page name at the end:

E.g. http://wiki.cubiccastles.com/index.php/Cubit_Store

Hit enter, and the browser will take you to your new page. Click create or edit and add some content!


Page Templates

Here are some pre-made templates that will help you get your page up. They just require you to fill in the blanks and upload any required images into the blue "Drop files here" box when you edit.

If there is a page that wouldn't fit any of our templates, please contact Horus directly on the forums.


Basic Templates


Item Templates


If the item can be purchased from the cubit store using Cubits Cubit.png, use this box:


If the item can be purchased from the cubit store using Recubes Recube.png, use this box:


If the item is craftable, use this crafting table and paste it into "How to obtain":


Wiki Formatting

The wiki platform we're using has its own unique coding (MediaWiki).

We'll list the basics here, but for more advanced users here's its whole formatting page - https://www.mediawiki.org/wiki/Help:Formatting


Titles

Making titles is simple! Just use equal signs:

 == Main Titles ==
=== Sub-Titles ===

Double equal signs will create a main title just as the "Wiki Formatting" above, and a triple will create a sub-title just as the "Titles" one used for this sub-section.


Text Formatting

We'd strongly dis-encourage using italic and bold text, but if needed, use single apostrophes just like this:

'''Text''' for bold.
''Text'' for italic.


Page Links

To link a word to a specific wiki page, use this piece of code:

[[Page Name]]

E.g. [[Wiki Editing]]


If you'd like to use another word for the link, use this:

[[Page Name|Your Text]]

E.g. [[Wiki Editing|Click here to learn how to edit!]]


Note: Only link a page once on each main category. Eg. Grass is a Block, this block is made of grass.

For further formatting options, navigate here - https://www.mediawiki.org/wiki/Help:Links


Image Links

To post an image, you firstly have to upload it. This can be done by dragging files onto the "Drop files here" box upon editing. However, ensure you change the file's name to something descriptive before uploading.

Next, you will have to use this code:

[[File:imagename.extension]]

E.g. [[File:Cubit.png]]


If you'd like the image to lead to somewhere, add a link using this:

[[File:imagename.extension|link=Page Name Here]]

E.g. [[File:Cubit.png|link=Main Page]]


For further formatting options, navigate here - https://www.mediawiki.org/wiki/Help:Images


Lists

Making lists is simple.

If you'd like to create a bullet-point list, just put an asterisk (*) in front of each line.

If you'd like to create a numbered list, just put a hash-tag (#) in front of each line.


For further formatting options, navigate here - https://www.mediawiki.org/wiki/Help:Lists


Tables

Tables is where it gets complicated. This is the source code used for tables:

{| class="wikitable"
|
|-
|
|}

| are columns. This is where you'll write your content in. |- are cell dividers. If you create columns below it, they'll appear in a second table line underneath.


E.g.
{| class="wikitable"
|Hello
|-
|It's me
|Your friend
|-
|Helping you with formatting
|}

Will come up with this:

Hello
It's me Your friend
Helping you with formatting


If you'd like the table to contain no lines or background, remove: class="wikitable"


For further formatting options, navigate here - https://www.mediawiki.org/wiki/Help:Tables


Galleries

Galleries work similarly to pictures, but are written in a different format:

<gallery mode="nolines">
File:imagename1.png|'''IMAGE1 DESC HERE'''
File:imagename2.png|'''IMAGE2 DESC HERE'''
File:imagename3.png|'''IMAGE3 DESC HERE'''
</gallery>


To use more images than just two in one gallery, simply add more lines.