Help:Contents

From Empires of the IV
Jump to: navigation, search

How to Edit the WIKI

First and foremost, BB Code does not work at this time... the same goes for code tags and spoiler tags. As is now, the Wiki runs off of HTML-esque code

For additional help, consult the User's Guide for information on using the wiki software.

How to add in an Image

To add in an image you must follow these steps:

1. Look to the left of the page. On the sidebar, under Toolbox select the link that says "UPLOAD FILE"
2. Select Browse and select your image you want to upload... Note that although the maximum file-size is 10000x10000, you will most likely have to resize it before you upload it to fit the screen.
3. When you select your file, Copy down the auto-generated text under "Destination filename"... alternative, you may give it it's own filename from that menu.. though be sure the file extension stays at the end. If you want, feel free to add in a description, although it is optional
4. Scroll Down and Click Upload
5. Create/Edit the article in question. When you are in the article, on your text editor, select the image, or type in: [[File:PASTE DESTINATION FILENAME HERE]]
6. Click save and your article will now have an image

Alternate Way

On your article, type in [[File:FILENAME GOES HERE.jpg]] or click the image button at the top of the screen. Once the article is done, select save. Once the article goes back to the view page, Click the red link that was made from the file command. Select the image, make sure that the filename is the same; and hit upload


How to add an info-box

When adding in an infobox, if it is an Infobox for the page, make sure it is the very first thing written in the text editor, put everything under that. If you want to have the Infobox later on in the post, post it where ever you want it to appear on the right. The text to fill the spot beside it will go right underneath it

Copy/Paste the following code into your article http://www.pastebucket.com/2270 If you wish to add in more fields, all you need to do is add in:

|label# = text

|data# = text

under the other |label#, and |data# Fields. Change the # sign to the next number

It is not required for an Infobox to have label/data fields.. it will function fine with just the Name. The same goes for image, an image is not required


Table of Contents

A Table of contents is automatically added after 3 or more Header2's have been added to the article

How to add a Spoiler

To add a spoiler, use the following tags

<spoiler> some text </spoiler>

To add a named spoiler, include the code:

<spoiler text="something"> some text </spoiler>


Link your pages together

Internal Links

Normal Link

To quickly create an internal link, you can either click the Linked Chains icon in your edit-bar, or you can type in Two Square Brackets before and after what you are attempting to link.
EX: [[Name_Of_Article]]

Named Hyperlink

To Create a named Internal Link, just type in the following
EX: [[Name_Of_Article | Text_Goes_Here]]


External Links

To add an external link, just simple insert the URL (http:// included). To create a Named link, just type in [http://www.dot.com Name_Goes_Here]


Categories

A Category is used to show a list of items within alphabetic order.

Create a Category

To create a category, create a page with the title as Category:*CategoryName*

Assigning Pages to that Category

To assign a page to your category, go to the pages you wish to add to the Category, and add the line [[Category:CategoryName]] to the very bottom of the page

Linking to a Category

To link off to a category, simply put a ':' in the front of the link EX: [[:Category:CategoryName|Category Name]]

How to fix the Multi-Line Formatting Bug

If you are typing in something that appears on two lines in the editor, but on the article it appears side-by-side you can solve it either:

Simply placing <br> at the end of every line you are having a problem with (except the last one)

Encase each line that is having the problem with <p> </p> Tags

Redirects

Creating a Redirect

You may start a new page with the name you want to direct from (see Help:Starting a new page). You can also use an existing page that you are making inactive as a page by going to that page and using the "edit" tab at the top. In either case, you will be inserting the following code at the very first text position of the Edit window for the page:

#REDIRECT [[pagename]]

where pagename is the name of the destination page. The word "redirect" is not case-sensitive, but there must be no space before the "#" symbol. Any text before the code will disable the code and prevent a redirect. Any text or regular content code after the redirect code will be ignored (and should be deleted from an existing page). However, to put or keep the current page name listed in a Category, the usual tag for that category is entered or kept on a line after the redirect code entry.

You should use the 'preview' button below the Edit window, or Alt-P, to check that you have entered the correct destination page name. The preview page will not look like the resulting redirect page, it will look like a numbered list, with the destination page in blue:

1. REDIRECT  pagename

If the pagename as you typed it is not a valid page, it will show in red. Until there is a valid destination page, you should not make the redirect.

Viewing a redirect

After making a redirect at a page, you can no longer get to that page by using its name or by any link using that name; and they do not show up in wiki search results, either. However, near the top of the destination page, a notice that you have been forwarded appears, with the source pagename as an active link to it. Click this to get back to the redirected page, showing the large bent arrow symbol and the destination for the redirect.

By doing this, you can do all the things that any wiki page allows. You can go to the associated discussion page to discuss the redirect. You can view the history of the page, including a record of the redirect. You can edit the page if the redirect is wrong, and you can revert to an older version to remove the redirect.

Deleting a redirect

There's generally no need to delete redirects. They do not occupy a significant amount of database space. If a page name is vaguely meaningful, there's no harm (and some benefit) in having it as a redirect to the more relevant or current page.

If you do need to delete a redirect, e.g. if the page name is offensive, or you wish to discourage people from referring to a concept by that name, then you simply go to the redirect page as mentioned above, and follow the procedures at Help:Deleting a page.

Double redirects

A double redirect is a page redirecting to a page which is itself a redirect, and it will not work. Instead, people will be presented with a view of the next redirect page. This is a deliberate restriction, partly to prevent infinite loops, and partly to keep things simple.