Help:Contents

From Fiswiki

Jump to: navigation, search

Contents

[edit] WikiMedia Reference Card

Link To WikiMedia Reference Card;[[1]]

Download WikiMedia Reference Card (PDF) [[2]]


[edit] Wikipedia Cheatsheet

Everyone can contribute to the free encylopedia Wikipedia. This is possible because Wikipedia is a wiki: Simply click on the link “Edit this page“ on top of an article and start writing. This cheatsheet shows the basic formatting tricks.

Wiki Cheat Sheet [[3]]

[edit] Basic text formatting

You can format the page using Wikitext special characters.

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.

(Using 4 apostrophes doesn't do anything special --
the last pair are just ' left over ones' that are included as part of the text.)

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'''''.

(Using 4 apostrophes doesn't do anything
special -- <br /> the last pair are just ''''left
over ones'''' that are included as part
of the text.)

A single newline generally has no effect on the layout. These can be used to separate sentences within a paragraph. Some editors find that this aids editing and improves the diff function (used internally to compare different versions of a page).

But an empty line starts a new paragraph.

When used in a list, a newline does affect the layout (see below).

A single newline
generally has no effect on the layout.
These can be used to separate
sentences within a paragraph.
Some editors find that this aids editing
and improves the ''diff'' function
(used internally to compare
different versions of a page).

But an empty line
starts a new paragraph.

When used in a list, a newline ''does''
affect the layout ([[#lists|see below]]).

You can break lines
without a new paragraph.
Please use this sparingly.

Please do not start a link or italics or bold text on one line and end on the next.

You can break lines<br/>
without a new paragraph.<br/>
Please use this sparingly.

Please do not start a link or
''italics'' or '''bold''' text on one line
and end on the next.
You should "sign" your comments on talk pages:

- Three tildes gives your signature: Example
- Four tildes give your signature plus date/time: Example 07:46, 27 November 2005 (UTC)
- Five tildes gives the date/time alone: 07:46, 27 November 2005 (UTC)

You should "sign" your comments 
on talk pages:
- Three tildes gives your
signature: ~~~
- Four tildes give your 
signature plus date/time: ~~~~
- Five tildes gives the 
date/time alone: ~~~~~

[edit] HTML tags

Template:Main You can use some HTML tags, too. However, you should avoid HTML in favor of Wiki markup whenever possible.


What it looks like What you type

Put text in a typewriter font. The same font is generally used for computer code.

Put text in a <tt>typewriter
font</tt>. The same font is 
generally used for <code>
computer code</code>.

Strike out or underline text, or write it in small caps.

<strike>Strike out</strike>
or <u>underline</u> text,
or write it <span style=
"font-variant:small-caps">
in small caps</span>.

Superscripts and subscripts: X2, H2O

Superscripts and subscripts:
X<sup>2</sup>, H<sub>2</sub>O
Centered text
  • Please note the American spelling of "center".
<center>Centered text</center>
* Please note the American spelling of "center".
The blockquote command formats block quotations, typically by surrounding them with whitespace and a slightly different font.
<blockquote>
The '''blockquote''' command ''formats'' block 
quotations, typically by surrounding them 
with whitespace and a slightly different font.
</blockquote>

Invisible comments to editors (<!-- -->) appear only while editing the page.

  • If you wish to make comments to the public, you should usually use the talk page.
Invisible comments to editors (<!-- -->)
appear only while editing the page.
<!-- Note to editors: blah blah blah. -->

[edit] Wiki table markup summary

{|
table start
|+
table caption, optional; only between table start and first table row
|-
table row, optional on first row -- wiki engine assumes the first row
! 
table header cell, optional. Consecutive table header cells may be added on same line separated by double marks (!!) or start on new lines, each with its own single mark (!).
|
table data cell, required! Consecutive table data cells may be added on same line separated by double marks (||) or start on new lines, each with its own single mark (|).
|}
table end
  • The above marks must start on a new line except the double || and !! for optionally adding consecutive cells to a line. However, blank spaces at the beginning of a line are ignored.
  • XHTML attributes. Each mark, except table end, optionally accepts one or more XHTML attributes. Attributes must be on the same line as the mark. Separate attributes from each other with a single space.
    • Cells and caption (| or ||, ! or !!, and |+) hold content. So separate any attributes from content with a single pipe (|). Cell content may follow on same line or on following lines.
    • Table and row marks ({| and |-) do not directly hold content. Do not add pipe (|) after their optional attributes. If you erroneously add a pipe after attributes for the table mark or row mark the parser will delete it and your final attribute if it was touching the erroneous pipe!
  • Content may (a) follow its cell mark on the same line after any optional XHTML attributes or (b) on lines below the cell mark. Content that uses wiki markup that itself needs to start on a new line, such as lists, headings, or nested tables, must be on its own new line.

[edit] Basics

The following table lacks borders and good spacing but shows the simplest wiki markup table structure.

You type You get
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream 
|}
Orange Apple
Bread Pie
Butter Ice cream

The cells in the same row can be listed on one line separated by ||.

Extra spaces within cells in the wiki markup, as in the wiki markup below, do not affect the actual table rendering.

You type You get
{|
|  Orange    ||   Apple   ||   more
|-
|   Bread    ||   Pie     ||   more
|-
|   Butter   || Ice cream ||  and more
|}
Orange Apple more
Bread Pie more
Butter Ice cream and more

[edit] Table headers

Table headers can be created by using "!" instead of "|". Headers usually show up bold and centered by default.

You type You get
{|
! Item
! Amount
! Cost
|-
|Orange
|10
|7.00
|-
|Bread
|4
|3.00
|-
|Butter
|1
|5.00
|-
!Total
|
|15.00
|}
Item Amount Cost
Orange 10 7.00
Bread 4 3.00
Butter 1 5.00
Total 15.00

[edit] Caption

A table caption can be added to the top of any table as follows.

You type You get
{|
|+Food complements
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream 
|}
Food complements
Orange Apple
Bread Pie
Butter Ice cream

[edit] XHTML attributes

You can add XHTML attributes to tables. For the authoriative source on these, see the W3C's HTML 4.01 Specification page on tables.

[edit] Attributes on tables

Placing attributes after the table start tag ({|) applies attributes to the entire table.

You type You get
{| border="1"
|Orange
|Apple
|12,333.00
|-
|Bread
|Pie
|500.00
|-
|Butter
|Ice cream
|1.00
|}
Orange Apple 12,333.00
Bread Pie 500.00
Butter Ice cream 1.00

[edit] Attributes on cells

You can put attributes on individual cells. For example, numbers may look better aligned right.

You type You get
{| border="1"
|Orange
|Apple
|align="right" | 12,333.00
|-
|Bread
|Pie
|align="right" | 500.00
|-
|Butter
|Ice cream
|align="right" | 1.00
|}
Orange Apple 12,333.00
Bread Pie 500.00
Butter Ice cream 1.00

You can also use cell attributes when you are listing multiple cells on a single line. Note that the cells are separated by ||, and within each cell the attribute(s) and value are separated by |.

You type You get
{| border="1"
| Orange || Apple     || align="right" | 12,333.00
|-
| Bread  || Pie       || align="right" | 500.00
|-
| Butter || Ice cream || align="right" | 1.00
|}
Orange Apple 12,333.00
Bread Pie 500.00
Butter Ice cream 1.00

[edit] Attributes on rows

You can put attributes on individual rows, too.

You type You get
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|- style="font-style:italic; color:green;"
|Butter
|Ice cream
|align="right"|1.00
|}
Orange Apple 12,333.00
Bread Pie 500.00
Butter Ice cream 1.00

[edit] With HTML attributes and CSS styles

CSS style attributes can be added with or without other HTML attributes.

You type You get
{| style="color:green; background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream 
|}
Orange Apple
Bread Pie
Butter Ice cream

Attributes can be added to the caption and headers as follows.

You type You get
{| border="1" cellpadding="20" cellspacing="0"
|+ align="bottom" style="color:#e76700;" |''Food complements''
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream 
|}
Food complements
Orange Apple
Bread Pie
Butter Ice cream


[edit] Combined use of COLSPAN and ROWSPAN

Wiki markup

{| border="1" cellpadding="5" cellspacing="0"
|-
| Column 1 || Column 2 || Column 3
|-
| rowspan="2" | A
| colspan="2" style="text-align: center;" | B
|-
| C <!-- column 1 occupied by cell A -->
| D
|-
| E
| rowspan="2" colspan="2" style="text-align: center;" | F
|-
| G <!-- column 2+3 occupied by cell F -->
|-
| colspan="3" style="text-align: center;" | H
|}

As it appears in a browser:

Column 1 Column 2 Column 3
A B
C D
E F
G
H

Note that using rowspan="2" for cell G combined with rowspan="3" for cell F to get another row below G and F won't work, because all (implicit) cells would be empty. Likewise complete columns are not displayed if all their cells are empty. Borders between non-empty and empty cells might be also not displayed (depending on the browser), use &nbsp; to fill an empty cell with dummy content.


[edit] Sorting in pages

When a list of entries is included in a table on a page, you can use JavaScript to make the table 'sortable'. To do this, just add the "sortable" class to the table declaration:

 {| class="wikitable sortable"
 |-
 ! Fruit   !! Price
 |-
 | Apples  || £0.95
 |-
 | Oranges || £0.85
 |-
 | Pears   || £1.15
 |}

Which produces the following output:

Fruit Price
Apples £0.95
Oranges £0.85
Pears £1.15

[edit] Basic Editing

Wiki text Result
''italic'' italic
'''bold''' bold
'''''bold and italic''''' bold and italic

==heading==
===level 2===
====level 3====
=====level 4=====

Headings in different sizes
[[Link to another page]]

[[Link|different title]]

Internal Link to another page

on the wiki

http://www.example.org
[http://www.example.org Text]

External link

Link with description

[[fr:Page en français]] Interwiki link to french Wikipedia (appears under “languages“)
[[Category:Example]] Add article to category “example“

----

horizontal line

* one
* two
* three

Bullet list

# one
# two
# three

Numbered list
[[Image:File.jpg|Text]]

[[Image:File.jpg|frame|Text]]
[[Image:File.jpg|thumb|Text]]

Image with alternative text

Image aligned right with caption
Thumbnail

[[Media:File.ogg]] Download link
{{Name}} Include template "Name"
--~~~ Signature (Link to userpage)

--~~~~

Signature with timestamp (date & time)
#REDIRECT [[Other article]] Redirect one title to another article


[edit] New section


[edit] Positioning

See Help:Table [4]


Release Date Description
Alpha 1 28 July 2008
Alpha 2 5 September 2008
Beta 1 14 October 2008 Feature freeze.
Beta 2 9 December 2008
Beta 3 12 March 2009
Beta 4 24 April 2009

new table work


[edit] Charts

Template:Chart/start Template:Chart Template:Chart Template:Chart Template:Chart Template:Chart Template:Chart/end

Personal tools