Please check our Instructions to Authors and send your manuscripts to nifs.journal@gmail.com. Next issue: September/October 2024.
Deadline for submissions: 16 November 2024.
Help:Tables: Difference between revisions
Jump to navigation
Jump to search
New page: Tables in the wiki are one of the most effective and utilized ways for organizing the available content. Since they exploit wiki markup that cannot be seen anywhere but on a wiki, users ar... |
No edit summary |
||
Line 1: | Line 1: | ||
{{Template:Help-pages/2}} | |||
Tables in the wiki are one of the most effective and utilized ways for organizing the available content. Since they exploit wiki markup that cannot be seen anywhere but on a wiki, users are usually puzzled in the begining until they understand the principle. However, wiki markup was especially designed for people with few or no knowledge of HTML, CSS and web programming, so that be intuitive and easy. | Tables in the wiki are one of the most effective and utilized ways for organizing the available content. Since they exploit wiki markup that cannot be seen anywhere but on a wiki, users are usually puzzled in the begining until they understand the principle. However, wiki markup was especially designed for people with few or no knowledge of HTML, CSS and web programming, so that be intuitive and easy. | ||
Line 121: | Line 123: | ||
|} | |} | ||
Tables can be sorted, | Tables can be sorted, with <code>class="sortable"</code>. | ||
{| style="width:100%" | |||
|-valign="top" | |||
| style="width:50%" | | |||
<nowiki>{| class="sortable" style="border:1px solid;" </nowiki> | |||
<nowiki>|+ Table name</nowiki> | |||
<nowiki>! column 1</nowiki> | |||
<nowiki>! column 2</nowiki> | |||
<nowiki>! column 3</nowiki> | |||
<nowiki>|-</nowiki> | |||
<nowiki>| A </nowiki> | |||
<nowiki>| 2 </nowiki> | |||
<nowiki>| A </nowiki> | |||
<nowiki>|-</nowiki> | |||
<nowiki>| C </nowiki> | |||
<nowiki>| 3 </nowiki> | |||
<nowiki>| 1 </nowiki> | |||
<nowiki>|-</nowiki> | |||
<nowiki>| B </nowiki> | |||
<nowiki>| 1 </nowiki> | |||
<nowiki>| A </nowiki> | |||
<nowiki>|}</nowiki> | |||
| style="width:50%" | | |||
{| class="sortable" style="border:1px solid;" | |||
|+ Table name | |||
! column 1 | |||
! column 2 | |||
! column 3 | |||
|- | |||
| A | |||
| 2 | |||
| A | |||
|- | |||
| C | |||
| 3 | |||
| 1 | |||
|- | |||
| B | |||
| 1 | |||
| A | |||
|} | |||
|} | |||
== See also == | == See also == | ||
* [http://meta.wikimedia.org/wiki/Help:Table Help:Table] from Wikipedia | * [http://meta.wikimedia.org/wiki/Help:Table Help:Table] from Meta-Wikipedia | ||
* Need to read this instruction again, in your native language? Leave a message [[Help talk:Tables|on the talk page]] | * Need to read this instruction again, in your native language? Leave a message [[Help talk:Tables|on the talk page]]. | ||
* [[Help:Contents]] with links to other help pages | * [[Help:Contents]] with links to other help pages | ||
[[Category:Help pages]] | [[Category:Help pages]] |
Revision as of 19:12, 10 October 2008
First steps | Page editing | Page management | Namespaces | Tools and settings |
Starting a new page • Edit mode • Text formatting • Formulas • Tables • Images • Categories • Templates • References • Subpages |
Tables in the wiki are one of the most effective and utilized ways for organizing the available content. Since they exploit wiki markup that cannot be seen anywhere but on a wiki, users are usually puzzled in the begining until they understand the principle. However, wiki markup was especially designed for people with few or no knowledge of HTML, CSS and web programming, so that be intuitive and easy.
Easiest way to get a table in your page is to click the table button in edit mode; you will obtain a table of three columns and two rows plus header, which you can further customize in accordance to your specific needs.
The standard source code (in edit mode) of a table is: | which in read mode looks like this: | ||||||||||||
{| class="wikitable" |+ Table name ! column 1 ! column 2 ! column 3 |- | row 1, cell 1 | row 1, cell 2 | row 1, cell 3 |- | row 2, cell 1 | row 2, cell 2 | row 2, cell 3 |} |
| ||||||||||||
A new row is added in this way: | yeilding the following output: | ||||||||||||
{| class="wikitable" |+ Table name ! column 1 ! column 2 ! column 3 |- | row 1, cell 1 | row 1, cell 2 | row 1, cell 3 |- | row 2, cell 1 | row 2, cell 2 | row 2, cell 3 |- | row 3, cell 1 | row 3, cell 2 | row 3, cell 3 |} |
| ||||||||||||
A new column is added in this way: | yielding the following output: | ||||||||||||
{| class="wikitable" |+ Table name ! column 1 ! column 2 ! column 3 ! column 4 |- | row 1, cell 1 | row 1, cell 2 | row 1, cell 3 | row 1, cell 4 |- | row 2, cell 1 | row 2, cell 2 | row 2, cell 3 | row 2, cell 4 |} |
|
Tables can be sorted, with class="sortable"
.
{| class="sortable" style="border:1px solid;" |+ Table name ! column 1 ! column 2 ! column 3 |- | A | 2 | A |- | C | 3 | 1 |- | B | 1 | A |} |
|
See also
- Help:Table from Meta-Wikipedia
- Need to read this instruction again, in your native language? Leave a message on the talk page.
- Help:Contents with links to other help pages