Vorlage:Prettytable: Unterschied zwischen den Versionen

Aus SurWiki
Zur Navigation springen Zur Suche springen
(layout korrektur)
(Erklärung hinzugefügt)
 
Zeile 1: Zeile 1:
 
border="2" cellspacing="0" cellpadding="4" rules="all" style="background-color: #f9f9f9; border-color: #aaaaaa; border-width: 1px; margin:0; border-style:solid; border-width:1px; border-collapse:collapse; empty-cells:show; margin:1em 1px 1em 1px;"
 
border="2" cellspacing="0" cellpadding="4" rules="all" style="background-color: #f9f9f9; border-color: #aaaaaa; border-width: 1px; margin:0; border-style:solid; border-width:1px; border-collapse:collapse; empty-cells:show; margin:1em 1px 1em 1px;"
 +
 +
<noinclude>
 +
CSS-Vorlage für eine gleichartiges Tabellenlayout im SurWiki.
 +
 +
{| {{prettytable}}
 +
|-
 +
! Überschrift 1 !! Überschrift 2
 +
|-
 +
| Text1 || Text2
 +
|-
 +
| Text3 || Text4
 +
|}
 +
 +
Einzubinden wie folgt:
 +
 +
<nowiki>
 +
{| {{prettytable}}
 +
|-
 +
! Überschrift 1 !! Überschrift 2
 +
|-
 +
| Text1 || Text2
 +
|-
 +
| Text3 || Text4
 +
|}</nowiki>
 +
 +
</noinclude>

Aktuelle Version vom 25. Februar 2011, 19:29 Uhr

border="2" cellspacing="0" cellpadding="4" rules="all" style="background-color: #f9f9f9; border-color: #aaaaaa; border-width: 1px; margin:0; border-style:solid; border-width:1px; border-collapse:collapse; empty-cells:show; margin:1em 1px 1em 1px;"


CSS-Vorlage für eine gleichartiges Tabellenlayout im SurWiki.

Überschrift 1 Überschrift 2
Text1 Text2
Text3 Text4

Einzubinden wie folgt:

{| {{prettytable}}
|-
! Überschrift 1 !! Überschrift 2
|-
| Text1 || Text2
|-
| Text3 || Text4
|}