4.2 Edit articles/Tables

No edit summary
No edit summary
Tag: 2017 source edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<bookshelf src="Book:Getting started" />
<bookshelf src="Book:Getting started" />
{{DISPLAYTITLE:Insert tables}}
==Inserting a table==
==Inserting a table==
To add a table to the page:
To add a table to the page:
Line 83: Line 81:
</gallery>
</gallery>


 
== Alternatives to manual table creation ==
<section begin="training-tabellen" /><div class="training anwender">
<section begin="training-tabellen" /><div class="training anwender">
The visual editor makes it easy to format content as a table. The following alternatives for creating tables exist:
Sometimes, you might already have content formatted as a table. The following alternatives for creating tables exist:


* Tables can also be inserted as a csv file on a page (just drag the CSV file onto the page in edit mode)
* '''CSV:''' Tables can also be inserted from a ''csv'' file on a page: Just drag the ''csv'' file onto the page in edit mode.
* Complex tables can alternatively be attached to the page as an xlsx file.
* '''Attachment:''' Complex tables can alternatively be attached to the page as an ''xlsx'' file.
* '''Word file:''' You can save an individual page in ''docx'' format that contains a table and import the Word file. This will create a separate page. From there, you can copy and paste the table into your article. You can delete the original page if you no longer need it.
</div><section end="training-tabellen" />
</div><section end="training-tabellen" />
[[en:{{FULLPAGENAME}}|en:Edit articles/Tables]]
[[de:VisualEditor/Tabellen]]

Latest revision as of 08:47, 23 September 2022

4.2.1 Inserting a table

To add a table to the page:

  1. Choose Insert > Tables in the editor toolbar. File:Instert, Table.png
  2. Enter an initial number of rows and columns. Rows and columns can always be added and removed during table editing. After entering the rows and columns, an empty table appears with the edit menu. File:table 1.0.png
  • Single clicking opens the table inspector. The properties of the table can be edited. When the mouse rests on a symbol, the associated function is displayed as a tooltip.
  • Double-clicking edits the individual cell. File:weekly.png

4.2.2 Merging rows and columns

To connect individual cells:

  1. Hold down the Shift key and click in two or more adjacent cells.
  2. Click Merge in the table inspector.

4.2.3 Table properties

In the menu item Properties, there are numerous settings to adjust the functionality and presentation of the table:

Property Description
Caption Shows a header above the table:

File:weeklyplan.png

After disabling the header, it is lost and must be reentered when re-enabled.

Styed(wikitable) enables the default wiki look after table styles were previously selected
Sortable In the first row, a sort function is displayed:

File:Weeklyplan 2.0.png

The current sorting is shown in the title bar. Only one of the two sort arrows will appear in the sorted column.

Collapsible The table can be hidden on the page via a text link.
Collapsed initially If the "Collapsible" property is active, this determines whether the table is visible or hidden when the wiki page is loaded. T
Exportable
Filterable The filter function is activated in the title bar and allows the following actions:
  • Sort table (ascending or descending values of the active column)
  • Hide table columns
  • Filter column (only values from the current column are considered here)

File:table 4.0.png

Note:If the filter is activated, the table style settings are ignored and the table is displayed in an automatifc "Filter Style". The behavior of the filterable table cannot be adjusted! After deactivating this function, the selected table style is displayed again.
Table style Here you can load different style sheets for the table.
Use full width for table The table uses the full width of the wiki page, regardless of the table contents.

4.2.4 Table styles

The following style sheets can be selected in the Table Style menu. Click on a picture to start the gallery:


4.2.5 Alternatives to manual table creation

Sometimes, you might already have content formatted as a table. The following alternatives for creating tables exist:

  • CSV: Tables can also be inserted from a csv file on a page: Just drag the csv file onto the page in edit mode.
  • Attachment: Complex tables can alternatively be attached to the page as an xlsx file.
  • Word file: You can save an individual page in docx format that contains a table and import the Word file. This will create a separate page. From there, you can copy and paste the table into your article. You can delete the original page if you no longer need it.