Battlestar Wiki:Template List/XML Templates/Instructions: Difference between revisions
From Battlestar Wiki, the free, open content Battlestar Galactica encyclopedia and episode guide
More actions
mNo edit summary |
|||
Line 4: | Line 4: | ||
== The XML Document == | == The XML Document == | ||
The XML document holds all the templates, sections (catagories), and any addistionial values that many be needed for the website in question, however there are only so many options that the Wikipedia Toolbar can handle. | |||
First of all, the XML document always starts with this line: | |||
<pre> | |||
<?xml version="1.0" encoding="UTF-8" ?> | |||
</pre> | |||
Secondly, everything is always encompassed by: | |||
<pre> | |||
<site> | |||
....Everything else.... | |||
</site> | |||
</pre> | |||
With these basic elements, you can start putting the basic settings in the XML document. | |||
=== Basic Setup === | === Basic Setup === | ||
The first "block" that every XML document must have is the '''overview''' block. | |||
<pre> | |||
<overall> | |||
<name>Battlestar Wiki</name> | |||
<type>mediawiki</type> | |||
<icon>bsgicon.png</icon> | |||
<lang>en</lang> | |||
</overall> | |||
</pre> | |||
* Name - The full name of the wiki | |||
* Type - The type of wiki that it operates. | |||
* Icon - For future | |||
* Lang - The lanagues installed. Seperated by commons (,). | |||
==== Lang Setup ==== | ==== Lang Setup ==== |
Revision as of 18:43, 21 April 2006
| |||||
To help you through the editing of this process this page breaks down the sections of the XML document, and how everything should be formated.
The XML Document
The XML document holds all the templates, sections (catagories), and any addistionial values that many be needed for the website in question, however there are only so many options that the Wikipedia Toolbar can handle.
First of all, the XML document always starts with this line:
<?xml version="1.0" encoding="UTF-8" ?>
Secondly, everything is always encompassed by:
<site> ....Everything else.... </site>
With these basic elements, you can start putting the basic settings in the XML document.
Basic Setup
The first "block" that every XML document must have is the overview block.
<overall> <name>Battlestar Wiki</name> <type>mediawiki</type> <icon>bsgicon.png</icon> <lang>en</lang> </overall>
- Name - The full name of the wiki
- Type - The type of wiki that it operates.
- Icon - For future
- Lang - The lanagues installed. Seperated by commons (,).