Help:Contributing/Creating new articles: Difference between revisions

From SlyMods
Jump to navigation Jump to search
Content added Content deleted
(→‎How to create articles: Added a sentence about Navboxes)
Line 9: Line 9:
Type in the title of the article you want to create and click '''Create'''. This will bring you to a page where you can start typing the article content. It will automatically insert an [[:Category:Infobox templates|infobox template]] at the top of the article where you can type in the main details.
Type in the title of the article you want to create and click '''Create'''. This will bring you to a page where you can start typing the article content. It will automatically insert an [[:Category:Infobox templates|infobox template]] at the top of the article where you can type in the main details.


If you use this method, the page will automatically be placed in the correct namespace and categories. All you have to do is actually write the article content.
If you use this method, the page will automatically be placed in the correct namespace and categories. All you have to do is actually write the article content. You should alao put a navbox at the bottom of the page and add a link to the page to the appropriate navbox (see below for more details).


=== Manual creation ===
=== Manual creation ===

Revision as of 19:35, 13 September 2022

This page will tell you how to create a new article.

How to create articles

There are two ways to create new articles on SlyMods

Automatic creation (recommended)

Creating an article is easy if the article you want to create goes in one of the categories on the Main Page. Just click the correct link on the main page (eg. Category:Mods for Sly 2) and use the form at the top of the category page.

Type in the title of the article you want to create and click Create. This will bring you to a page where you can start typing the article content. It will automatically insert an infobox template at the top of the article where you can type in the main details.

If you use this method, the page will automatically be placed in the correct namespace and categories. All you have to do is actually write the article content. You should alao put a navbox at the bottom of the page and add a link to the page to the appropriate navbox (see below for more details).

Manual creation

Start by searching for the name of the article you want to create. If there is no article with that title already, it will show a red link at the top of the search results asking if you want to create that article. Just click that red link and it will bring you to an editor where you can start typing the article.

If you use this method you will have to type the namespace before the article title. For instance, if you want to create a Sly 2 article, put Sly 2: before the title (see below for more details).

You will also have to include the correct infobox and navboxes yourself (see below for more details).

Infoboxes and navboxes

Infoboxes

Infoboxes are a type of template that is used to present the most important information at the top of an article. They are also used to automatically place articles in the correct categories.

If you are creating an article for any of the following topics, you should include one of these infoboxes at the top of the article.

Infoboxes
Category Infobox template
Game mechanics {{Infobox game mechanic}}
Data structures {{Infobox data structure}}
Subsystems {{Infobox subsystem}}
Game builds {{Infobox build}}
Mods {{Infobox mod}}
Modding tools {{Infobox tool}}

Here is an example of how to include an infobox in an article if you are using the source editor:

{{Infobox mod
| name= Freecam Mod
| image= File:Sly 1 Burning Rubber zoomout.png
| creator= TheOnlyZac
| version= NTSC-U
| releasedate= December 29, 2020
| download= https://example.com/download
}}

Each infobox has different parameters, so you will have to look at the template page using the links above to see what parameters it uses. Most of them have examples you can copy/paste into your article, but you can also copy one from a different article of the same type and just change the parameters.

Navboxes

Navboxes are a type of template that makes it easy to navigate the wiki. These always go at the very bottom of the article.

If you are creating an article in one of these categories, you should include one of these navboxes at the bottom of the article.

Navboxes
Category Navbox template
Sly 1 Articles {{Navbox Sly 1}}
Sly 1 Maps {{Navbox Sly 1 maps}}
Sly 2 Articles {{Navbox Sly 2}}
Sly 2 Maps {{Navbox Sly 2 maps}}
Sly 3 Articles {{Navbox Sly 3}}
Sly 3 Maps {{Navbox Sly 3 maps}}
Sly 4 Articles {{Navbox Sly 4}}
Sly 4 Maps {{Navbox Sly 4 maps}}
File Formats {{Navbox file formats}}

If you add a navbox to an article and that article is not linked from the navbox, you should edit the navbox itself to add a link to the new article.

Namespaces

When you manually create an article for something specific to a certain game, you will have to put it in the correct namespace (either Sly 1, Sly 2, Sly 3, or Sly 4). For instance, if you are making an article for a topic in Sly 1, put the article in the Sly 1 namespace; That just means putting Sly 1: at the front of the article title.

e.g. If you create an article for the Difficulty mechanic in Sly 1, name the article Sly 1:Difficulty, not Difficulty or Difficulty (Sly 1).
Likewise, if you create an article for the Difficulty mechanic in Sly 2, name the article Sly 2:Difficulty.

If you come across an article in the wrong namespace, you can rename it by mousing over the the More menu at the top-right of the page and clicking Move.