Hilfe:Tabellen: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
<noinclude>{{WIP}}{{Trad|DE=Hilfe:Tabellen|EN=Help:Table editing|palette= |H=1}}</noinclude>
+
<noinclude>{{Trad|DE=Hilfe:Tabellen|EN=Help:Table editing|palette= |H=1}}</noinclude>
 
{{Hilfe Navi Header}}
 
{{Hilfe Navi Header}}
 
{| cellspacing="7" style="width: 100%; background: #FFF8DC; border: 1px solid silver;"
 
{| cellspacing="7" style="width: 100%; background: #FFF8DC; border: 1px solid silver;"
| colspan="2" style="background: #EED6AF; border: 1px solid silver; padding: 0.2em 0.4em; font-size: 120%; font-weight: bold;" | What is a table?
+
| colspan="2" style="background: #EED6AF; border: 1px solid silver; padding: 0.2em 0.4em; font-size: 120%; font-weight: bold;" | Was ist eine Tabelle?
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
|
 
|
 
|
 
|
A table is a method for organizing data by arranging it in columns and rows. It provides a compact way to view data, while also allowing comparisons and sorting.  
+
Eine Tabelle ist eine Methode zur Organisation von Daten, bei der diese in Spalten und Zeilen angeordnet werden. Sie bietet eine kompakte Möglichkeit, Daten anzuzeigen, und ermöglicht gleichzeitig Vergleiche und Sortierungen.  
 
|}
 
|}
  
 
{| cellspacing="7" style="width: 100%; background: #FFF8DC; border: 1px solid silver; margin-top: 10px;"
 
{| cellspacing="7" style="width: 100%; background: #FFF8DC; border: 1px solid silver; margin-top: 10px;"
| style="background: #EED6AF; border: 1px solid silver; padding: 0.2em 0.4em;" | <h4 style="margin: 0px; padding: 0px;">How to use a table</h4>
+
| style="background: #EED6AF; border: 1px solid silver; padding: 0.2em 0.4em;" | <h4 style="margin: 0px; padding: 0px;">Verwendung einer Tabelle</h4>
 
|-
 
|-
 
|
 
|
  
Here is an example of a basic table.
+
Hier ist ein Beispiel für eine einfache Tabelle.
  
 
<pre>
 
<pre>
 
{|
 
{|
 
|-
 
|-
! header 1
+
! Überschrift 1
! header 2
+
! Überschrift 2
! header 3
+
! Überschrift 3
 
|-
 
|-
| row 1, cell 1
+
| Reihe 1, Zelle 1
| row 1, cell 2
+
| Reihe 1, Zelle 2
| row 1, cell 3
+
| Reihe 1, Zelle 3
 
|-
 
|-
| row 2, cell 1
+
| Reihe 2, Zelle 1
| row 2, cell 2
+
| Reihe 2, Zelle 2
| row 2, cell 3
+
| Reihe 2, Zelle 3
 
|}
 
|}
 
</pre>
 
</pre>
  
The above example gives you a table that looks like this:
+
Im obigen Beispiel erhalten Sie eine Tabelle, die wie folgt aussieht:
  
 
{|
 
{|
 
|-
 
|-
! header 1
+
! Überschrift 1
! header 2
+
! Überschrift 2
! header 3
+
! Überschrift 3
 
|-
 
|-
| row 1, cell 1
+
| Reihe 1, Zelle 1
| row 1, cell 2
+
| Reihe 1, Zelle 2
| row 1, cell 3
+
| Reihe 1, Zelle 3
 
|-
 
|-
| row 2, cell 1
+
| Reihe 2, Zelle 1
| row 2, cell 2
+
| Reihe 2, Zelle 2
| row 2, cell 3
+
| Reihe 2, Zelle 3
 
|}
 
|}
  
  
'''Rows and columns'''
+
'''Zeilen und Spalten'''
  
The entire table is encased with curly brackets and a vertical bar character (a pipe).  So use <code>'''{|'''</code> to begin a table, and <code>'''|}'''</code> to end itEach one needs to be on its own line:  
+
Die gesamte Tabelle wird mit geschweiften Klammern und einem senkrechten Strich (einer Pipe) umschlossen.  So benutze <code>'''{|'''</code> um eine Tabelle zu beginnen, und <code>'''|}'''</code> um sie zu beendenJede muss in einer eigenen Zeile stehen:  
 
  <span style="font-weight:bold; color:red"><nowiki>{|</nowiki></span>
 
  <span style="font-weight:bold; color:red"><nowiki>{|</nowiki></span>
   ''table code goes here''
+
   ''Tabellen-Code folgt hier''
 
  <span style="font-weight:bold; color:red"><nowiki>|}</nowiki></span>
 
  <span style="font-weight:bold; color:red"><nowiki>|}</nowiki></span>
  
Every new row of a table must begin with a pipe and a hyphen <code>|-</code> on its own line.
+
Jede neue Zeile einer Tabelle muss mit einer Pipe und einem Bindestrich <code>|-</code> in einer eigenen Zeile beginnen.
  
There are two ways to add a cell to each row. Either make a new line and start it with a pipe <code>|</code> or put two pipes <code>||</code> between each cell. The following example shows how both are used for the same result.  
+
Es gibt zwei Möglichkeiten, eine Zelle zu jeder Zeile hinzuzufügen. Entweder du erstellst eine neue Zeile und beginnst diese mit einem Pipe <code>|</code> oder du verwendest 2 Pipes <code>||</code> zwischen allen Zellen. Das folgende Beispiel zeigt, wie beide für dasselbe Ergebnis verwendet werden.  
  
 
<pre>{|
 
<pre>{|
 
|-
 
|-
|Cell 1 || Cell 2 || Cell 3
+
|Zelle 1 || Zelle 2 || Zelle 3
 
|-
 
|-
|Cell A  
+
|Zelle A  
|Cell B
+
|Zelle B
|Cell C
+
|Zelle C
 
|}</pre>
 
|}</pre>
  
Creates:
+
erstellt:
  
 
{|
 
{|
 
|-
 
|-
|Cell 1 || Cell 2 || Cell 3
+
|Zelle 1 || Zelle 2 || Zelle 3
 
|-
 
|-
|Cell A  
+
|Zelle A  
|Cell B
+
|Zelle B
|Cell C
+
|Zelle C
 
|}
 
|}
  
'''Formatting'''
+
'''Formatierung'''
  
There are three ways to add formatting to a table: apply it to a whole table, apply it to a single row, or apply it to a single cell. Table formatting requires a little html knowledge.  
+
Es gibt drei Möglichkeiten, einer Tabelle eine Formatierung hinzuzufügen: für die gesamte Tabelle, für eine einzelne Zeile oder für eine einzelne Zelle. Die Tabellenformatierung erfordert ein wenig HTML-Wissen.  
  
''Whole table''
+
''Ganze Tabelle''
  
On the first line of your table, after the <code>{|</code> you can specify some properties of your table. For example, add a border to your table.
+
In der ersten Zeile Ihrer Tabelle, nach dem <code>{|</code>, kannst du einige Eigenschaften deiner Tabelle angeben. Zum Beispiel kannst du deiner Tabelle einen Rahmen hinzufügen.
  
 
<pre>{| border = "1"
 
<pre>{| border = "1"
Zeile 98: Zeile 98:
 
|}</pre>
 
|}</pre>
  
Creates:
+
erstellt:
 +
 
 
{| border = "1"
 
{| border = "1"
 
|-
 
|-
Zeile 107: Zeile 108:
 
|}
 
|}
  
''Single row''
+
''Einzelne Zeile''
  
On the line declaring each new row <code>|-</code> you can specify properties of that line. For example, to change the background color of a row.
+
In der Zeile, die jede neue Zeile deklariert <code>|-</code>, können Sie die Eigenschaften dieser Zeile angeben. Zum Beispiel, um die Hintergrundfarbe einer Zeile zu ändern.
  
 
<pre>{|
 
<pre>{|
Zeile 119: Zeile 120:
 
|}</pre>
 
|}</pre>
  
Creates:
+
erstellt:
 +
 
 
{|
 
{|
 
|-
 
|-
Zeile 128: Zeile 130:
 
|}
 
|}
  
''Single cell''
+
''Einzelne Zelle''
  
For each cell of a table, you can specify additional properties that only apply to that cell. To do that you need to add <code>formatting |</code> to the front of each cell you want to change.
+
Für jede Zelle einer Tabelle kannst du spezifische zusätzliche Eigenschaften festlegen, die nur diese Zelle beeinflussen. Dazu musst du <code>Formatierung |</code> vor jeder Zelle hinzufügen, die du ändern willst.
  
 
<pre>{|
 
<pre>{|
Zeile 140: Zeile 142:
 
|}</pre>
 
|}</pre>
  
Creates:
+
erstellt:
 +
 
 
{|
 
{|
 
|-
 
|-
Zeile 149: Zeile 152:
 
|}
 
|}
  
Notice that if you use the double pipes <code>||</code> to separate your cells, the additional cell formatting comes after the double pipe and does not replace it.  
+
Beachte, daß, wenn du die doppelte Pipe <code>||</code> verwendest, um deine Zellen zu trennen, die zusätzliche Zellformatierung nach der doppelten Pipe kommt und sie nicht ersetzt.  
  
'''Ryzom standard formatting'''
+
'''Ryzom Standard Formatierung'''
  
In many cases you will want your tables to look consistent with other tables on URW. A template has been provided that will apply the styles to the whole table.  
+
In vielen Fällen wirst du wollen, daß deine Tabellen einheitlich mit anderen Tabellen in URW aussehen. Es wurde eine Vorlage bereitgestellt, die die Stile auf die gesamte Tabelle anwendet.  
  
 
<pre>{| {{STDT}}
 
<pre>{| {{STDT}}
Zeile 163: Zeile 166:
 
|}</pre>
 
|}</pre>
  
Creates:
+
erstellt:
 +
 
 
{| {{STDT}}
 
{| {{STDT}}
 
|-
 
|-
Zeile 172: Zeile 176:
 
|}
 
|}
  
For more information on how to use the template, go to {{tl|STDT}}.  
+
Für mehr Information zur Verwendung der Vorlage siehe auch {{tl|STDT}}.  
 
|}
 
|}
  
[[Category:Help|Table editing]]
+
<noinclude>[[Kategorie:Hilfe]]</noinclude>

Aktuelle Version vom 2. August 2023, 19:45 Uhr

de:Hilfe:Tabellen en:Help:Table editing
 
UnderConstruction.png
Übersetzung zur Überprüfung
Gib nicht den Mitwirkenden die Schuld, sondern komm und hilf ihnen. 😎
Was ist eine Tabelle?

Eine Tabelle ist eine Methode zur Organisation von Daten, bei der diese in Spalten und Zeilen angeordnet werden. Sie bietet eine kompakte Möglichkeit, Daten anzuzeigen, und ermöglicht gleichzeitig Vergleiche und Sortierungen.

Verwendung einer Tabelle

Hier ist ein Beispiel für eine einfache Tabelle.

{|
|-
! Überschrift 1
! Überschrift 2
! Überschrift 3
|-
| Reihe 1, Zelle 1
| Reihe 1, Zelle 2
| Reihe 1, Zelle 3
|-
| Reihe 2, Zelle 1
| Reihe 2, Zelle 2
| Reihe 2, Zelle 3
|}

Im obigen Beispiel erhalten Sie eine Tabelle, die wie folgt aussieht:

Überschrift 1 Überschrift 2 Überschrift 3
Reihe 1, Zelle 1 Reihe 1, Zelle 2 Reihe 1, Zelle 3
Reihe 2, Zelle 1 Reihe 2, Zelle 2 Reihe 2, Zelle 3


Zeilen und Spalten

Die gesamte Tabelle wird mit geschweiften Klammern und einem senkrechten Strich (einer Pipe) umschlossen. So benutze {| um eine Tabelle zu beginnen, und |} um sie zu beenden. Jede muss in einer eigenen Zeile stehen:

{|
  Tabellen-Code folgt hier
|}

Jede neue Zeile einer Tabelle muss mit einer Pipe und einem Bindestrich |- in einer eigenen Zeile beginnen.

Es gibt zwei Möglichkeiten, eine Zelle zu jeder Zeile hinzuzufügen. Entweder du erstellst eine neue Zeile und beginnst diese mit einem Pipe | oder du verwendest 2 Pipes || zwischen allen Zellen. Das folgende Beispiel zeigt, wie beide für dasselbe Ergebnis verwendet werden.

{|
|-
|Zelle 1 || Zelle 2 || Zelle 3
|-
|Zelle A 
|Zelle B
|Zelle C
|}

erstellt:

Zelle 1 Zelle 2 Zelle 3
Zelle A Zelle B Zelle C

Formatierung

Es gibt drei Möglichkeiten, einer Tabelle eine Formatierung hinzuzufügen: für die gesamte Tabelle, für eine einzelne Zeile oder für eine einzelne Zelle. Die Tabellenformatierung erfordert ein wenig HTML-Wissen.

Ganze Tabelle

In der ersten Zeile Ihrer Tabelle, nach dem {|, kannst du einige Eigenschaften deiner Tabelle angeben. Zum Beispiel kannst du deiner Tabelle einen Rahmen hinzufügen.

{| border = "1"
|-
|data1 || data2
|-
|data3
|data4
|}

erstellt:

data1 data2
data3 data4

Einzelne Zeile

In der Zeile, die jede neue Zeile deklariert |-, können Sie die Eigenschaften dieser Zeile angeben. Zum Beispiel, um die Hintergrundfarbe einer Zeile zu ändern.

{|
|-
|data1 || data2
|- style="background:red"
|data3
|data4
|}

erstellt:

data1 data2
data3 data4

Einzelne Zelle

Für jede Zelle einer Tabelle kannst du spezifische zusätzliche Eigenschaften festlegen, die nur diese Zelle beeinflussen. Dazu musst du Formatierung | vor jeder Zelle hinzufügen, die du ändern willst.

{|
|-
| style="background:red" | data1 || style="background:blue" | data2
|- 
|data3
|style="background:yellow" |data4
|}

erstellt:

data1 data2
data3 data4

Beachte, daß, wenn du die doppelte Pipe || verwendest, um deine Zellen zu trennen, die zusätzliche Zellformatierung nach der doppelten Pipe kommt und sie nicht ersetzt.

Ryzom Standard Formatierung

In vielen Fällen wirst du wollen, daß deine Tabellen einheitlich mit anderen Tabellen in URW aussehen. Es wurde eine Vorlage bereitgestellt, die die Stile auf die gesamte Tabelle anwendet.

{| {{STDT}}
|-
|data1 || data2
|-
|data3
|data4
|}

erstellt:

data1 data2
data3 data4

Für mehr Information zur Verwendung der Vorlage siehe auch {{STDT}}.