Team:Cornell/Tutorial 2

From 2012.igem.org

Revision as of 05:11, 30 June 2012 by R.Lizarralde (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This part of the tutorial covers lists, links, images, and tables.

Contents

Lists

Lists can be bulleted, numbered, or done manually with indentation. For the most part, you will use bulleted lists.

They work the same way as sections, in that adding more of their symbol will make it a lower-level version.

Wikitext Result
* Bullet 1
** Sub-bullet 1A
* Bullet 2
** Sub-bullet 2A
*** Sub-sub-bullet 2Ai
** Sub-bullet 2B
  • Bullet 1
    • Sub-bullet 1A
  • Bullet 2
    • Sub-bullet 2A
      • Sub-sub-bullet 2Ai
    • Sub-bullet 2B
# Number 1
## Sub-number 1A
# Number 2
## Sub-number 2A
### Sub-sub-number 2Ai
## Sub-number 2B
  1. Number 1
    1. Sub-number 1A
  2. Number 2
    1. Sub-number 2A
      1. Sub-sub-number 2Ai
    2. Sub-number 2B
: Indent 1
:: Sub-indent 1A
: Indent 2
:: Sub-indent 2A
::: Sub-sub-indent 2Ai
:: Sub-indent 2B
Indent 1
Sub-indent 1A
Indent 2
Sub-indent 2A
Sub-sub-indent 2Ai
Sub-indent 2B

Links

Link can be made to pages within the iGEM wiki (including other team's pages) or to any site, such as Google.

There are a few tricks to getting the links to point to one place while showing a different name.

Wikitext Result
[[Team:Cornell/Tutorial]]
Team:Cornell/Tutorial
[[Team:Cornell/Tutorial|I'm a link!]]
I'm a link!
[[Team:Cornell/Protocols/Miniprep]]ped
Team:Cornell/Protocols/Miniprepped
You can be searched.[http://www.google.com/search?q=you]
You can be searched.[http://www.google.com/search?q=you]
[http://www.google.com/search?q=you You can be searched.]
[http://www.google.com/search?q=you You can be searched.]

Images

A lot can be done with images, but here I will just scratch the surface.

For more detail, see [http://en.wikipedia.org/wiki/Wikipedia:Picture_tutorial this Wikipedia tutorial].

Wikitext Result
[[Image:iGEM logo.png]]
IGEM logo.png
[[Image:iGEM logo.png|center]]
IGEM logo.png
[[Image:iGEM logo.png|right]]
IGEM logo.png
[[Image:Cornell logo.png|thumb]]
Cornell logo.png
[[Image:Cornell logo.png|thumb|300px]]
Cornell logo.png
[[Image:Cornell logo.png|thumb|Our logo! Yay!]]
Our logo! Yay!

Tables

Tables are incredibly flexible, but most people won't need them. However, the basics are as follows:

  • A pipe-- the vertical line thing you get with shift+backslash-- makes a cell in the table
  • If you use an exclamation point instead (at the beginning of the table), you will get a column header
  • To separate rows, you use a pipe and a dash: |-
  • You start a table with a curly brace and pipe: {|
    • You end the table the same way, but with pipe, then the closing curly brace: |}
    • To change how the table looks and aligns, you put stuff after the first curly brace and pipe

For more detail, see [http://en.wikipedia.org/wiki/Help:Table this Wikipedia tutorial].

Example:

{| border="1"
!column label 1
!column label 2
|-
| column labels are made with exclamation points
| row divisions are made with pipe-dash
|-
| cells are made with pipes
| start and end with pipe and curly brace
|}
column label 1 column label 2
column labels are made with exclamation points row divisions are made with pipe-dash
cells are made with pipes start and end with pipe and curly brace