Help:Formatting help

From testwiki
Jump to navigation Jump to search

Heading 1

Heading 2

Heading 3

Heading 4

Try and keep everything in one block because its easier to edit and read

Non Automatic numbering/lettering

1) number one
   a) 1a
   b) 1b
   c) 1c
2) number two
3) number three
4) number four
5) number five

Tables of Contents

When you write a book you want to be able to link to the main page of the book and the majority of other pages in the chapter. The Template namespace provides an easy way to do this.

Example:

If you write this code
[[Example Book]]
*Chapter 1 → [[ExampleBook:Chap1Page1|1]] - [[ExampleBook:Chap1Page2|2]] - [[ExampleBook:Chap1Page3|3]]
*Chapter 2 → [[ExampleBook:Chap2Page1|1]] - [[ExampleBook:Chap2Page2|2]] - [[ExampleBook:Chap2Page3|3]]
*Chapter 3 → [[ExampleBook:Chap3Page1|1]] - [[ExampleBook:Chap3Page2|2]] - [[ExampleBook:Chap3Page3|3]]
----
You get a Table Of Contents(TOC) like this

Example Book

  • Chapter 1 → 1 - 2 - 3
  • Chapter 2 → 1 - 2 - 3
  • Chapter 3 → 1 - 2 - 3

To add this to each page in your book all you have to do is dump the TOC code into a page under the namespace Template

http://wikibooks.org/wiki/Template:ExampleBookTOC

and add a message to it at the top of each wikibook. This will show all the stuff thats in the TOC wherever the link {{ExampleBookTOC}} is shown.

Example2:

{{ExampleBookTOC}}



Template:ExampleBookTOC

You can see that now all you have to do to add a TOC to any of your pages is include the code: {{YourBookTOC}} wherever you want it.

Note:

As part of the added coolness of a TOC in your books, any selflink, (a link that points to the page its on) is shown in bold. This means that if you were on page 2 of chapter 2 in your book, that link would be changed to a bold non-linking string:

Example

Example Book

  • Chapter 1 → 1 - 2 - 3
  • Chapter 2 → 1 - 2 - 3
  • Chapter 3 → 1 - 2 - 3

Colours and Tables

Note: More on tables here.

{|| style="background-color: #F3F3FF; border: solid 1px #D6D6FF; padding: 1em; font-size: large;" valign=top|
|
|}
Try using blue tables for mathematical formulas and stuff


Example:
x2x4=1x2

{| WIDTH="75%"| style="background-color: #FFF7F7; border: solid 1px #ffd6d6; padding: 1em;" valign=top|
|
|}
and pink tables (background=#FFF7F7,border=#ffd6d6) for terms


f=force
a=acceleration
s=displacement
v=velocity

{| WIDTH="100%"| style="background-color: #FFFFEE; border: solid 1px #ffeaa5; padding: 1em;" valign=top|
|
|}


*Full width yellow tables are good for definitions (background=#FFFFEE,border=#ffeaa5)

===wiki:=== term used to identify either a specific type of hypertext document collection or the collaborative software used to create it.

{| WIDTH="75%"| style="background-color: #f2fff2; border: solid 1px #bfffbf; padding: 1em;" valign=top|
|
|}
Pale green tables can be used for anything else (background=#f2fff2,border=#bfffbf)

Bookshelves

For large topics (e.g. physics, economics, history, language) make a bookshelf and then create your page by linking to it from the bookshelf
Example: [[Economics bookshelf]]=Economics bookshelf
Your page, i.e. [[economics]]=economics
Below is a very good setup for a bookshelf

Humanities

Microeconomics
Macroeconomics
Economics
World History
US History
Canadian History
US Constitution and Government
UK Constitution and Government
Constructivist Theories in Education
Philosophy



Descriptions

You can add descriptions after the links with a " – ". (–)
Examples:

Philosophy – stuff on philosophy

Philosophy – an introduction to philosophy

Don't forget to enjoy yourself in this unified quest for knowledge.