Help:Wiki editing: Difference between revisions

From Opasnet
Jump to navigation Jump to search
Line 97: Line 97:


===Normal table===
===Normal table===
Normaali taulukko tai “pretty table” on taulukko, jonka tarkoituksena on esittää selkeästi halutut asiat taulukoituna. Tällaiset taulukot eivät sisällä muita ominaisuuksia kuin ulkonäön, ja ne sopivat ainoastaan asioiden esitykseen. Painamalla muokkausruudun '''Table'''-nappia saat auki '''Table generator''':in, jonka avulla voit säätää taulukon rivien (row) ja sarakkeiden (column) määrää sekä reunaviivojen paksuutta (size of border). Painamalla ''' Insert table code''' ohjelma luo sivulle taulukon koodin:
Normal table or a "pretty table" is table which is used to present facts clearly in a table. These tables don't have any special properties and they can be used only in presenting facts. By pressing '''Table''' in the edit screen you can bring out the '''Table generator''', which lets you change the number of rows and columns of the table. By pressing '''Insert table code''' the table generator creates the code of the table on the page:


  <nowiki>{|{{prettytable}}
  <nowiki>{|{{prettytable}}
Line 121: Line 121:
|}
|}


*Column title = Rivin otsikko
If you untick PrettyTable-style the table looks like this:
*Element = Sarakkeen teksti
 
Jos PrettyTable-style otetaan pois päältä taulukko näyttää tältä:


{| border="1"
{| border="1"

Revision as of 14:40, 7 June 2012

Muotoilu

Tekstin oikeanlainen muotoilu on tärkeää selkeän luettavuuden ja artikkelin “pääpointin” selviämiseksi.

Headings

Tekstin ulkoasu

Bolding

Bolding brings out keywords or other important parts of the text. Bolding should not be overused, because it makes the text less clear and makes understanding of the text more difficult.

Example:
Bolded text

'''Bolded text''', or <b>Bolded text</b>
Italic

Italics is a good way to attract attention to a part of the text. It is mainly used in quotes.

Example:

Italic text

''Italic text'', or <i>Italic text</i>
Underlining

Underlining is a third option in emphasizing a part of the text.

Example:

Underlined word

<u>Underlined word</u>
Indentations

Indentations make the text easier to read and they clarify the structure of the text. Indentations can be used to emphasize and clarify parts of the text.

Example: This is normal text.

This has been indented.
This is a double indentation.

Code for indentations:

This is normal text.
:This has been indented.
::This is a double indentation.

Lists

It's easy to list facts in order using lists. You can also write lists without a specific order.

Listing goes like this:

Ordinary list:
  • This is a thing.
  • This is another thing.
    • This is a corrective or a differentiation of the previous thing.

Code:

*This is a thing
 *This is another thing
 **This is a corrective or a differentiation for the previous thing.
 

Numbered list:
  1. This is the first thing.
  2. This is the second thing
    1. This is the first correctice of the second thing.

Code:

#This is the first thing.
 #This is the second thing
 ##This is the first corrective of the second thing.
 
You can also combine lists like this:
  • This is a thing
    1. This is it's first clarification
      • This is a corrective of the first corrective

Code:

*This is a thing
 *#This is it's first clarification
 *#*This is a corrective of the first corrective
 

Understanding and using the heading (attribute) structure for information objects

Tables

Normal table

Normal table or a "pretty table" is table which is used to present facts clearly in a table. These tables don't have any special properties and they can be used only in presenting facts. By pressing Table in the edit screen you can bring out the Table generator, which lets you change the number of rows and columns of the table. By pressing Insert table code the table generator creates the code of the table on the page:

{|{{prettytable}}
! Column title 0
! Column title 1
|-----
| element 0.1
| element 1.1
|-----
| element 0.2
| element 1.2
|}
Column title 0 Column title 1
element 0.1 element 1.1
element 0.2 element 1.2

If you untick PrettyTable-style the table looks like this:

Table topic
Column title 0 Column title 1
element 0.1 element 1.1
element 0.2 element 1.2

Data table

Datataulukko on taulukko, joka näyttää normaalilta taulukolta, mutta sillä on erityisiä ominaisuuksia. Datataulukkoa voidaan käyttää ennusteiden pohjatietona, niistä voidaan laskea todennäköisyyksiä ja monenlaisia muita tietoja.

Help:Wiki editing: Difference between revisions(nro)
ObsLocation0Location1Location2
1Location0.1Location1.1Location2.1
2Location0.2Location1.2Location2.2

Datataulukon koodi:

<t2b  index="index1" Locations="Location0,Location1,Location2" unit="nro">
Location0.1|Location1.1|Location2.1
Location0.2|Location1.2|Location2.2
</t2b>

Links

Linkkien tarkoitus on helpottaa ulkoisten tietolähteiden integrointia jo olemassa olevaan opasnet-artikkeliin. Linkin takana olevaa sivua tai sivustoa ei tarvitse siis kirjoittaa uudelleen, vaan sen sisältämä tieto on helppo linkittää aiheen yhteyteen.

Internal links

Sivuston sisäiset linkit ohjaavat Opasnetin sivulle:

Avoimia tehtäviä

Sisäisten linkkien koodi:

[[Sivun nimi]]
esim. [[Avoimia tehtäviä]]

External links=

Linkit sivuston ulkopuolelle vievät Opasnetin ulkopuoliselle sivulle tai sivustolle:

esim. http://www.wikipedia.fi

Ulkopuolisten linkkien koodi:

 [Sivun URL Sivun nimi] tai [Sivun URL]
 [http://www.wikipedia.fi Wikipedia] tai [http://www.wikipedia.com]
 
Wikipedia tai [1]

Linkin voit lisätä myös kirjoittamalla sivun nettiosoitteen (URL):

esim. http://www.wikipedia.fi
http://www.wikipedia.fi

Files

Opasnettiin voidaan liittää erilaisia tiedostoja artikkelin sanoman selkeyttämiseksi. Esimerkiksi

Categories, categorizing

Kategoriointi helpottaa artikkelin löytämistä.

Rating bar

Arvostelupalkki on tärkeä osa artikkelia, sillä sen avulla on helppo havainnoida tai arvostella artikkelin tiedon laatua.