User:Whiteknight/New Book Guide/Formatting
Ugly Pages
[edit | edit source]There's nothing more deterring to readers then ugly "wall of text" pages. Maybe dense pages of text are good for some readers, but for most a better and richer formatting is required. Books needing formatting help are typically in the Revise or Review stages.
Note that pages needing formatting may also benefit from improvements to Visuals. |
The Wikitext Solution
[edit | edit source]Wikitext provides a number of tools that you can use to break up large blocks of text:
- Numbered and bullet lists
- Definitions ; and :
- Preformatted text
- Tables
- Headings and Subheadings.
- Images
We've also provided a number of templates that can be used to set text apart from the main paragraph structure: {{TextBox}}
, {{LeftHalf}}
, and {{RightHalf}}
. Also, other templates can be used like {{SideBox}}
, {{LeftBox}}
, {{Info}}
and {{warning}}
. These all help to break large blocks of text up into managable bits.
The HTML Solution?
[edit | edit source]You can write stuff in HTML, but consider the cost. You gain some additional control over presentation, but your book becomes harder to edit. Also, if you do something clever on one page, consistency demands that you continue that clever presentation on other pages as well. You could end up spending more time and energy adding clever formatting to pages and fixing it when unwitting editors break it, than you spend actually writing your book. If you do want to use fancy formatting, consider putting it all into templates.
The CSS Solution
[edit | edit source]There is a Per-Book Javascript gadget that enables books to provide their own custom Javascripts and CSS Stylesheets. This can be nice for increasing the aesthetics of a page, but keep in mind that most users (and almost all casual readers) won't activate this gadget.
The Upper Limit
[edit | edit source]Books don't need to be works of art. Accessibility and Editability demand that books keep formatting to a minimum, so people can more easily edit them. This is the purpose of wikitext in the first place, to be more simple then HTML or LaTeX so people can contribute more easily. Using Wikitext is really the best option when formatting a book, because it's simple to implement and it's easy to edit.
When formatting or reformatting a book, keep in mind that it doesn't need to be a work of art. Being too fancy is actually a bad thing. Use some basic wikitext and some templates on the page in a consistent way, and it will make an amazing difference.
Improving Formatting
[edit | edit source]Some things to do to improve the formatting of a book:
- Improve the look of any page header templates or other book-specific templates
- Make sure all templates are used consistently throughout the book
- Break long blocks of text up with headings, lists, tables, diagrams, and other features.