12,486
edits
Changes
ADVERTISEMENT
From Diablo Wiki
→Section Headers
===Section Headers===
To keep pages readable and organized, separate the text into sections. Section headers do this nicely, and are automatically added to the table of contents. Headers should be hierarchical and descending, as needed. There are several levels of headers, and the text so offset by equals signs will display in descending point size and font colour.
* Heading 1 <nowiki>==Your heading==</nowiki><br>
* Heading 2 <nowiki>===Your heading===</nowiki><br>
* Heading 3 <nowiki>====Your heading====</nowiki><br>
====Lists====
Aside from links and tables, covered elsewhere on this page, the most common formatting tool is the list. There are two types: bulleted and numbered, and they are written in exactly the same manner. To create a bullet list, simply place asterisks (* ) at the start of each line you want to bullet. If you want a numbered list, use the hash (#) sign. To add subheadings, simply use 2 or more such punctuation signs. The wiki script will automatically arrange them on the page.
<blockquote><pre>
Turns into:
----
* Item One
* Item Two
** Item Two and a half
*** Item two and three quarters
* Item Three.
----
====Soft Returns====
The wiki script ignores single returns. For instance, if you type something that looks like this in the edit box:
<blockquote><pre>
This<br>
line<br>
of<br>
returns.
</pre></blockquote>
It will show up on the page as a plain line of text, without any line breaks. You need to add a <nowiki><br></nowiki> tag to each line you want to format below the next. It's also possible to use pointed or numbered lists for breaks. Read above about lists.
====Quote Boxes====
To make a short quote stand out, simply add one space before it begins, and the wiki script will automatically place it in a red-tinted box with a special outline. For example:
This should only be used for short notes, since items in this sort of box do not receive additional wiki formatting, and will stretch pages infinitely wide. Use the <nowiki><br></nowiki> command to keep such lines from running endlessly off to the right, if they are longer than a few words.