Table of Contents

Documentation & Style Guide

This page is for ArtWiki administrators and writers to keep track on site documentation and style guides to follow within this site.

Documentation

Style Guide

Page Titles

Every page needs to have it's title put in a h1 tag at the top of the page.

Adding Images

To add an image or images to a page, while in the page edit mode, click on the insert image icon. Located next to the smiley icon.

A window will pop up and and you'll see a folder hierarchy. If you know that the image you want to add to the page is located in the earth/ceramics folder, open it up to view that folder and click on it.

If you scroll down the page you will be able to see thumbnail versions of all the images in that directory. Just click on the one you want to add to the page and your all set.

After adding the image to a page, you can adjust the size of the image.

When an image is added, the only code is the link down the folder structure to the actual image file and the bar right after it. After the image file put a question mark and resolution by resolution before the bar with no spaces. If you want to add the alt tag, after the bar, type the title of the piece of art. Here is a sample of what it should look like:

{{:earth:smelting:0001.jpg?400x255|A River Valley with Iron Smelter}}

By typing in the extra that apperars in the code above, you have changed the size of the image to 400 by 255 and added an alt tag to it so that when you mouse over an image that is displayed. Also, for people who don't automatically load images when going to a site, this is a way for them to find out if they want to load it.

Plug-Ins Usage

This section is for how to use the installed plug-ins on the pages.

Gallery

To add a gallery to any page, type the following code in:

{{gallery>namespace}}

Where namespace is the folder location of the images. For example, industrial or earth/ceramics or intellectual/education.

If you want to have a gallery on the earth home page and view all the photo that are located in it, it will only show images located directly in the folder but not its sub-folders. In this instance you would put 6 gallery tags in the page, one for each of the sub-folders

{{gallery>earth/ceramics}}
{{gallery>earth/construction}}
{{gallery>earth/mining}}
{{gallery>earth/oil}}
{{gallery>earth/quarrying}}
{{gallery>earth/smelting}}

Indexmenu

In order to put an index on a page, type this code in it:

{{indexmenu>.#5|js}}

This will put in a menu that starts from the directory that the page is in and works its way down. The #5 part means that if you have several directory levels, by default the page will expend the first 5 and the rest have to be done by clicking on it.

Color

If you want to add color text to a page, use this code:

<color green> text</color>

Here is green text

There are several different colors that can be used. They are: