Help:Create Tables

From Wiki Against Mines

Jump to: navigation, search
Explanations
  • Characters at the beginning :{| and at the end of a table: |} Both tags have to be at the beginning of a new line.
  • Attribute class="prettytable" or the call of a template like Template:Bluetable templateorders that the table will be formattet responding to the templates.
  • Zeilen die mit einem Ausrufezeichen (!) beginnen, definieren Kopfzeilen von Tabellen. Der Text in einer Zelle einer solchen Zeile wird zentriert und fettgedruckt. Gewöhnliche Tabellenzeilen beginnen dagegen mit einem senkrechten Trennstrich (|).
  • Tag |- start a new row, if it is at the beginning of a row in the source code.
  • Die Zeichen || trennen nebeneinanderliegende Tabellenzellen.
  • Die Zeichenfolge   anstatt eines Leerzeichens verhindert einen Zeilenumbruch zwischen den beiden Wörtern, die das Leerzeichen trennt.
  • Die Jahreszahlen werden durch <tt> mit fester Zeichenbreite dargestellt, um sicherzugehen, dass sie am Bindestrich ausgerichtet werden.

Main schema of a table:

 {|border="1" cellspacing="0"
 |-
 !column head1 || column head2 || column head3
 |-
 |content row1  column1 || content row1 column2 || content row1 column3
 |-
 |content row2 column1 || content row2 column2 || content row2 column3
 |}

Tutorial you will find here: http://en.wikipedia.org/wiki/Help:Table

Personal tools