Dungeons and Dragons Wiki:Formatting Howto

The D&D Wiki has several constructs that help make formatting easier and possible. This page attempts to cover all of them that you'd expect to use.

Tables
There are several ways you can modify your tables.

Striped Tables
You can make tables striped by using {| class="zebra" |}. For example:

will produce the following table:

Note that if you make a sortable table, it will automatically be striped as well and you should not use the zebra class.

d20 tables / wikitables
The most common table formatting on the wiki is the "d20" table, which is the same thing as the "wikitable". To see the formatting in action, the following:

will produce the following table:

You can make these tables striped as well by adding "zebra" to them after the d20 ( {| class="d20 zebra" ), like follows:

Sortable Tables
To make a table sortable, you use the class "sortable". Generally you'll want to use d20 with it.