This is an old revision of the document!
A cheat sheet is a simple XML file. Consider the following example:
<?xml version="1.0"?> <CheatSheet> <Tab name="Combat"> <Tab name="Actions"> <Content rows="10" columns="3"> <TextElement row="1" column="1"> <Text>This is a text.<br/>And more of it.</Text> <Hint>This is a very<br/>short hint. But with a line break.</Hint> </TextElement> <TextElement row="2" column="2"> <Text>This is also a text.</Text> </TextElement> <TableElement row="3" column="1" spanToRow="7" spanToColumn="2"> <Table/> </TableElement> </Content> </Tab> </Tab> </CheatSheet>
As you can see, every cheat consists of an CheatSheet element which contains one or more Tab-Elements. Each tab is, not surprisingly, a tab in the GMTool's cheatsheet plugin. Every tab can itself contain more tabs (and these also can contain tabs, etc.etc.).
With tabs, you can separate your cheat sheet into different parts (for example a tab for combat, one for magic, etc.).
If a Tab has no sub-tabs, it should have a Content-Element. Each Content element can specify it's own “layout” by using the rows and columns attributes, which divide the Content into a table with the given amount of rows and colums.
In the Content element, you can have TextElements, which contain a text and an optional hint, both of which can be multi-lined by adding <br/> elements. The TextElements should always have a row and column attribute to tell the program, where they should be placed. Additionally, they can have a spanToRow and spanToColumn attribute, which tells the program that they should span over more columns and/or rows (to the given spanToRow and spanToColumn).