Personal tools
Log in / create account

Help:Basic formatting

From EnviroWiki

Jump to: navigation, search

Contents

Adding a headline

There are different headline levels. This determines the size of the heading. The text to signify a headline is an equals sign, "=", before and after the headline text. The amount of equals signs depends on the size of headline you want to use. The standard headline level is a Level 2 headline.

For example:

Level 2

Level 3

Level 4

Level 5
Level 6

Bold and italic text

Making text bold or italic is very easy on EnviroWiki. It involves adding in inverted commas " ' " before and after the text you want to format. Add in three inverted commas for bold text, two inverted commas for italic text and five inverted commas for bold and italic text.

For example:

Adding an external link

Almost every wiki entry will have a link to a source outside of EnviroWiki. This is what is called an 'external link'. To add an external link on a wiki entry, you use (one set of) square brackets before and after the URL of the website that you would like to link to.

When linking to an external website, the link on your wiki entry can be displayed in different forms. The standard way the link is displayed is as a number, e.g. [1]. If you would like a description, or the URL itself to be displayed, you must type it within the square brackets, after the URL and with one space between them.

For example:

Note: Don't forget to use the full web URL of the site you are linking to (i.e. include the http:// prefix).

Adding an internal link

If, at some point during your wiki entry, you mention something that has its own EnviroWiki entry, you may wish to link to it. Because it is a page within EnviroWiki, you can use an 'internal' link. To add an internal link, you place the name of the wiki entry that you wish to link to within TWO (sets of) square brackets.

Like the external link, there are different ways of displaying the internal link. You can display the name itself of the page you are linking to by simply placing the name of the page in square brackets. Alternatively you can display a description that is different from the name of the targeted page. You do this by placing the description within the square brackets, after the name of the targeted wiki entry and with a vertical line, "|", between them.

For example:

Bulleted lists

Bulleted lists are very easy to construct on EnviroWiki. They consist of typing asterixes. The amount of asterixes added to the beginning of the text signifies the level of the text within the list. If you add one asterix to the beginning of each line of text, it will show as a bulleted list. If you type two asterixes to one of the lines, it will appear as a sub entry of the line of text above.

For example:

* one
* two
** two point one
* three
** three point one
*** three point one point one
* four

This will appear as the following:

Numbered lists

Numbered lists are very similar to bulleted lists. The structure is the same, but instead of using an asterix, you use a hash sign.

For example:

# one
# two
## two point one
# three
## three point one
### three point one point one
## three point two
# four

This should appear as the following:

  1. one
  2. two
    1. two point one
  3. three
    1. three point one
      1. three point one point one
    2. three point two
  4. four

Tables

Basic table

  1. When adding tables to your wiki entry, you can make them as basic or as sophisticated as you like. To begin a table, use the "{" sign, followed by a horizontal line, "|".
  2. Always begin a new row with a horizontal line ("|"). To signify a new column, put two horizontal lines between the text that you would like to include in each cell ("||").
  3. In between each row, you need to enter in a horizontal line and a dash, "|-", to signify a new row.
  4. To close a table, type "|}" on a new line.

For example, typing;

{|
|-
| a1 || b1 || c1
|-
| a2 || b2 || c2
|}

would give you the following table:

a1 b1 c1
a2 b2 c2


Formatted table

If you would like your table to look a little nicer, you can add in some formatting criteria. Feel free to copy the code below and use it as a template.

For example, typing;

{| border="1" cellpadding="4" cellspacing="1"
!width="200"|
=== a1 ===
!width="225"|
=== b1 ===
!width="50"|
=== c1 ===
|-
| a2 || b2 || c2
|-
| a3 || b3 || c3
|}

would give you the following table:

a1

b1

c1

a2 b2 c2
a3 b3 c3


Existing tables templates - Local Information Table

On each Local Action category (currently for Greater London boroughs and UK counties) there is a table with an overview of information about the local area. See an example of a Local Action information table
Feel free to copy and paste the code below to create a new information table.

Please note that the row headings provided for each category are suggestions only. Feel free to amend them with headings you consider more suitable.

The following code;

{| border="1" cellpadding="4" cellspacing="1" background="#f5fffa"
!width="145"|
=== Table Title ===
!width="150"|
|-
|a1|| b1
|-
|a2|| b2
|-
|a3|| b3
|}

would give you the following table:

Table Title

a1 b1
a2 b2
a3 b3


Return to Help contents

MediaWiki