Team:ETHZ Basel/Internal/Help

From 2010.igem.org

(Difference between revisions)
(Change Stylesheet)
Line 41: Line 41:
== Change Stylesheet ==
== Change Stylesheet ==
-
Go to {{ETHZ_Basel10_css}}
+
Go to [[Template:ETHZ_Basel10_css]]
==Text formatting, Links and Lists==
==Text formatting, Links and Lists==

Revision as of 13:44, 8 September 2010

General Information

This is a page with templates for all the things that you will need while editing the wiki. You will find instructions on how to insert texts, images, tables, bullet lists and so on. On the right side you see the final result on the wiki, on the left hand side, the things you should write while editing the page. I suggest you to copy the right hand side and paste it on the page you are editing, then modify it as needed.

New Sites

If you create a new site, make sure to include in the first line the following tag: {{ETHZ_Basel10}} Also make sure to include directly below: {{ETHZ_Basel10_Category}}, where Category refers to Start, Project, Biology or Modeling.

This will integrate the header with the navigation menu.

Change menu

If you want to change the navigation menu / header, please go to the following site: Template:ETHZ_Basel10 For changing the submenu, please go to:

References

If you want to add references to a page, please do it the following way:

1. Add "References" at the bottom:

== References ==

[1] [http://www.jbioleng.org/content/3/1/15  Sorokina et al: A switchable light-input, light-output system modelled and constructed in yeast. J Biol Eng. 2009 Sep 17;3:15.]

2. Add the reference to your link:

[[Team:ETHZ Basel/Modeling/Sorokina2009#References|[1]]]

Change Stylesheet

Go to Template:ETHZ_Basel10_css

Text formatting, Links and Lists

This help is taken from wikipedia.



What it looks like What you type

You can italicize text by putting 2 apostrophes on each side.

3 apostrophes will embolden the text.

5 apostrophes will embolden and italicize the text.

(4 apostrophes don't do anything special -- there's just 'one left over'.)

You can ''italicize text'' by putting 2 
apostrophes on each side. 

3 apostrophes will embolden '''the text'''. 

5 apostrophes will embolden and italicize 
'''''the text'''''.

(4 apostrophes don't do anything
special -- there's just ''''one left
over''''.)
Section headings

Headings organize your writing into sections. The Wiki software can automatically generate a table of contents from them.

Subsection

Using more equals signs creates a subsection.

A smaller subsection

Don't skip levels, like from two to four equals signs.

Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title.

== Section headings ==

''Headings'' organize your writing into sections.
The Wiki software can automatically generate
a table of contents from them.

=== Subsection ===

Using more equals signs creates a subsection.

==== A smaller subsection ====
Don't skip levels, 
like from two to four equals signs.

Start with 2 equals signs not 1 
because 1 creates H1 tags
which should be reserved for page title.
  • Unordered lists are easy to do:
    • Start every line with a star.
      • More stars indicate a deeper level.
    Previous item continues.
    • A new line
  • in a list

marks the end of the list.

  • Of course you can start again.
* ''Unordered lists'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** A new line
* in a list  
marks the end of the list.
* Of course you can start again.
  1. Numbered lists are:
    1. Very organized
    2. Easy to follow
    Previous item continues

A new line marks the end of the list.

  1. New numbering starts with 1.
# ''Numbered lists'' are:
## Very organized
## Easy to follow
#: Previous item continues
A new line marks the end of the list.
# New numbering starts with 1.
A colon (:) indents a line or paragraph.

A newline starts a new paragraph.
Often used for discussion on talk pages.

We use 1 colon to indent once.
We use 2 colons to indent twice.
3 colons to indent 3 times, and so on.
: A colon (:) indents a line or paragraph.
A newline starts a new paragraph. <br>
Often used for discussion on talk pages.
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.

This is an internal link in the wiki Team:ETH_Zurich.

This is the same internal link with a different displayed name Home.

This is an internal link in the wiki [[Team:ETH_Zurich]].

This is the same internal link with a different displayed name [[Team:ETH_Zurich|Home]].

Three ways to link to external (non-wiki) sources:

  1. Bare URL:

http://en.wikipedia.org/ (bad style)

  1. Unnamed link:

[http://en.wikipedia.org/] (only used within article body for footnotes)

  1. Named link:

[http://en.wikipedia.org Wikipedia]


Three ways to link to
external (non-wiki) sources:
# Bare URL:
http://en.wikipedia.org/
(bad style)
# Unnamed link:
[http://en.wikipedia.org/]
(only used within article
body for footnotes)
# Named link:
[http://en.wikipedia.org Wikipedia]

Tables

How it looks:

The table's caption
Column heading 1 Column heading 2 Column heading 3
Row heading 1 Cell 2 Cell 3
Row heading A Cell B Cell C


How it is written:


{| border="1"
|+ The table's caption
! Column heading 1 !! Column heading 2 !! Column heading 3
|-
! Row heading 1
| Cell 2 || Cell 3
|-
! Row heading A
|Cell B
|Cell C
|}

Images

How it looks:

How it is written:

[[Image:Start_a_team.jpg|frame|none|caption text]]


If you put 'right' at the place of 'none', it will stay on the right with text on the left, if you put a '200px' and 'thumb', you will resize it to 200 pixel:


[[Image:Start_a_team.jpg|thumb|right|200px|caption text]]



Uploading a file

To upload a file is very easy. Just go to the bottom of this page and search for the link 'upload file'. Click on it and follow the instructions. Remember that you need to upload an image if you want to show it on the wiki (and it is not on an external server).

Magic keywords

http://www.mediawiki.org/wiki/Help:Magic_words

Further online help

If you did not find the desired syntax for editing on this page, these are other links to check out:

  1. [http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page#Links_and_URLs General Text]
  2. [http://en.wikipedia.org/wiki/Help:Table Tables]
  3. [http://en.wikipedia.org/wiki/Help:List Lists]
  4. [http://en.wikipedia.org/wiki/Help:Images_and_other_uploaded_files Images and Upload]
  5. [http://en.wikipedia.org/wiki/Wikipedia:Extended_image_syntax Images Very Detailed]
  6. [http://en.wikipedia.org/wiki/Help:Formula Formulae]