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 == | ||
<pre> | <pre> | ||
<templates> | <templates> | ||
<template> | |||
<id>note</id> | |||
<label>Note</label> | |||
<text>{{note|%idname}}</text> | |||
<cat>cit</cat> | |||
<tooltip>Used in the endnote/footnote section ...</tooltip> | |||
<idname>What is the reference ID? ...</idname> | |||
</template> | |||
<template> | <template> | ||
<id>rdmblog</id> | <id>rdmblog</id> | ||
| Line 101: | Line 108: | ||
<tooltip>Used to cite RDM's blog.</tooltip> | <tooltip>Used to cite RDM's blog.</tooltip> | ||
</template> | </template> | ||
<template> | <template> | ||
<id>userdata</id> | <id>userdata</id> | ||
| Line 160: | Line 131: | ||
<tooltip>User data block</tooltip> | <tooltip>User data block</tooltip> | ||
</template> | </template> | ||
</templates> | </templates> | ||
</pre> | </pre> | ||