Aus EnzyklopAtys
Leda (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<noinclude>{{Trad|DE=Hilfe:Tabellen|EN=Help:Table editing|palette= |H=1}}</noinclude> {{Help navbar header}} {| cellspacing="7" style="width: 100%; background:…“) |
Leda (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
− | <noinclude>{{Trad|DE=Hilfe:Tabellen|EN=Help:Table editing|palette= |H=1}}</noinclude> | + | <noinclude>{{WIP}}{{Trad|DE=Hilfe:Tabellen|EN=Help:Table editing|palette= |H=1}}</noinclude> |
− | {{ | + | {{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;" | What is a table? |
Version vom 2. August 2023, 07:35 Uhr
Die letzte Bearbeitung war von Leda am 2.08.2023.
Kategorie:Hilfe: Hilfe:Inhalte •
Bearbeitung, Anleitung zum Schreiben •
Tabellen •
Archivierung •
Bilder kategorisieren
Gildenseite erstellen • Avatarseite erstellen
Der Ryzom-Chat für Fragen rund um das Wiki
What is a table? | |
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. |
How to use a table | |||||||||||||||||||||||||||||||
Here is an example of a basic table. {| |- ! header 1 ! header 2 ! header 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 |} The above example gives you a table that looks like this:
The entire table is encased with curly brackets and a vertical bar character (a pipe). So use {| table code goes here |} Every new row of a table must begin with a pipe and a hyphen There are two ways to add a cell to each row. Either make a new line and start it with a pipe {| |- |Cell 1 || Cell 2 || Cell 3 |- |Cell A |Cell B |Cell C |} Creates:
Formatting 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. Whole table On the first line of your table, after the {| border = "1" |- |data1 || data2 |- |data3 |data4 |} Creates:
Single row On the line declaring each new row {| |- |data1 || data2 |- style="background:red" |data3 |data4 |} Creates:
Single cell For each cell of a table, you can specify additional properties that only apply to that cell. To do that you need to add {| |- | style="background:red" | data1 || style="background:blue" | data2 |- |data3 |style="background:yellow" |data4 |} Creates:
Notice that if you use the double pipes Ryzom standard formatting 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. {| {{STDT}} |- |data1 || data2 |- |data3 |data4 |} Creates:
For more information on how to use the template, go to {{STDT}}. |