FANDOM


The following is a compiled list of common templates seen throughout this wiki. Templates are only editable from the "Source" screen and appear as green puzzle pieces on the "Visual" screen.

Templates are created from code and typically allow the user to add information to them when they are added to pages. The appearances can only be customized from the template's page. Each template page should have a /doc page that explains usage.

When you see "{{" when editing, the 1st text after the {{ is usually the template name. To customize this template, you would type http://dragonsofatlantis.wikia.com/wiki/Template:TEMPLATE_NAME in the address bar. If this is a data entry template, you are able to add data from the source code screen.

If you would like to find more information about common coding, please visit this page.

TabberEdit

What is shown in code:

<tabber>
Heading With Equal Sign=
Tabber removes some formatting such as headings and line breaks.
<br /><br />
When using tabber, you must use line breaks instead of "enter" to create new lines.<br /><br />
When you are finished with the 1st tab, you must type this divider: 
|-|
Heading with Equal Sign=
Each time you want to create a tab, you must place the equal sign at the end of the tab name and use the divider.<br /><br />When you are finished with the tabs, you must close it by placing:
</tabber>

What you see after published:

Tabber removes some formatting such as headings and line breaks.

When using tabber, you must use line breaks instead of "enter" to create new lines.

When you are finished with the 1st tab, you must type this divider: 

Each time you want to create a tab, you must place the equal sign at the end of the tab name and use the divider.

When you are finished with the tabs, you must close it by placing:

Info BoxEdit

What is shown in code:

{{Troop Infobox
|image = File:Banshee.jpg
|imagewidth = 300
|Melee Attack = 700
|Range = 0
|Defense = 200
|Life = 2850
|Speed = 1350
|Load = 900
|Power = 6
|Food = 50|Ranged Attack = 0}}

What you see after published:

300px
Dragons Of Atlantis Wiki:Common Templates
Power Power: 6
Life Life: 2850
Defense Defense: 200
Melee Melee Attack: 700
Ranged Ranged Attack: 0
Range Range: 0
Speed Speed: 1350
Load Load: 900
Upkeep Upkeep: {{{Upkeep}}}


Template Name: Troop Infobox

This type of template is used to keep basic information in easy view and maintain page uniformity among the relative topics. This particular infobox (there are several types) is used on all of the troop pages.

The data in the template is added by contributors via the source code screen. The infobox title is automatically the page's name as part of the template formatting.

Some templates may have "cells" that are only filled in when this applies to the topic. If so, you should follow the directions on the /doc page for instructions of whether to leave these blank so they do not show or fill them in with N/A.

The colors, size, and non-editable things are all customization via the templates original page. Templates may be as simple or as complicated as the creator wishes them to be.






GalleriesEdit

There are three types of galleries available in Wikia. These are the simple gallery which shows several images, the slideshow, and slider.

The most widely used on this wiki is the slideshow.

Basic GalleryEdit

What is shown in code:

An image gallery:<br />
<gallery>
File:Wiki.png|Logo.
File:Egg.jpg|Egg.
</gallery>

What you see after published:
An image gallery:

SlideshowEdit

What is shown in code:

<gallery type="slideshow">
Cliffs Of Chronos Outpost.png
63751 580182358661759 402870119 n.jpg
Heavenly Wheel small icon.png
</gallery>

What you see after published:

This type of gallery will automatically scroll through the images. This is used a lot on this wiki because it can hold a large number of files without taking up the space that regular galleries would.

You do not have to type "File:" before each image. You can customize the size, orientation, or choose to add new images that are added to the wiki automatically.



SliderEdit

What is shown in code:

<gallery type="slider">
Cliffs Of Chronos Outpost.png
63751 580182358661759 402870119 n.jpg
1.jpg
</gallery>

What you see after published:

These are not typically used on this wiki because they only hold four images and they must be larger images in order to look appropriate. They are also only appropriate with wider images, tall images will have the top and bottom chopped off.