Editing Battlestar Wiki:Template List/XML Templates/Instructions
From Battlestar Wiki, the free, open content Battlestar Galactica encyclopedia and episode guide
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
{{inuse|'Typing Intructions'|Shane}} | |||
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. | 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 == | ||
The XML document holds all the templates, sections ( | 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: | First of all, the XML document always starts with this line: | ||
| Line 37: | Line 39: | ||
* Type - The type of wiki that it operates. | * Type - The type of wiki that it operates. | ||
* Icon - For future | * Icon - For future | ||
* Lang - The | * Lang - The lanagues installed. Seperated by comma's (''','''). | ||
=== Lang Setup === | === Lang Setup === | ||
| Line 49: | Line 51: | ||
</pre> | </pre> | ||
The "overall" block for each | The "overall" block for each langauge is as follows: | ||
<pre> | <pre> | ||
| Line 84: | Line 86: | ||
* Label - Short Label of the Section | * Label - Short Label of the Section | ||
* Area - A '''''unique''''' ID for this section. | * Area - A '''''unique''''' ID for this section. | ||
* Parent - ''' | * Parent - '''Optionial'''; If this is set, this must equal something to <code>area</code> and must be placed after the orginal section is placed. (as shown above). | ||
== Templates == | == Templates == | ||
The accual templates is where it gets tricky, and where there can be many options to deal with | The accual templates is where it gets tricky, and where there can be many many options to deal with. | ||
<pre> | <pre> | ||
| Line 105: | Line 105: | ||
</pre> | </pre> | ||
* ID - Must be a '''''unique''''' ID | This is the first type of template. | ||
* ID - Must be a '''''unique''''' ID. | |||
* Label - A short label. | * Label - A short label. | ||
* Text - The template itself. | * Text - The template itself. | ||
* Cat - ''' | * Cat - '''Optionial'''; What section it falls under. If this is not put in, it goes in the upper level section that holds the catagories in the first place. | ||
* Tooltip - ''' | * Tooltip - '''Optionial'''; What tooltip will shopw up if you hover your mouse over the template label. | ||