Hjælp:Tabeller: Forskelle mellem versioner

Content deleted Content added
→‎Se også: fix link til meta, -iw
m Indsat flere eksempler
Linje 32:
|}
</code>
 
===Enkel tabel med mange kolonner===
{|class="wikitable" border="1" cellspacing="0"
|+ '''Klimatabel for Rio Branco'''
!align="center" width=35% style="background:#f0f0f0;"|&nbsp;
!align="center" width=5% style="background:#f0f0f0;"|Jan
!align="center" width=5% style="background:#f0f0f0;"|Feb
!align="center" width=5% style="background:#f0f0f0;"|Mar
!align="center" width=5% style="background:#f0f0f0;"|Apr
!align="center" width=5% style="background:#f0f0f0;"|Maj
!align="center" width=5% style="background:#f0f0f0;"|Jun
!align="center" width=5% style="background:#f0f0f0;"|Jul
!align="center" width=5% style="background:#f0f0f0;"|Aug
!align="center" width=5% style="background:#f0f0f0;"|Sep
!align="center" width=5% style="background:#f0f0f0;"|Okt
!align="center" width=5% style="background:#f0f0f0;"|Nov
!align="center" width=5% style="background:#f0f0f0;"|Dec
!align="center" width=5% style="background:#f0f0f0;"|Middel
|-
|align="center" style="background:#f0f0f0;"|Max. temperatur(&deg;C)||30,9||30,9||31,3||31,1||30,6||30,3||31,3||32,6||32,8||32,6||31,9||31,2||31,5
|}
<pre>
{|class="wikitable" border="1" cellspacing="0"
|+ '''Klimatabel for Rio Branco'''
!align="center" width=35% style="background:#f0f0f0;"|&nbsp;
!align="center" width=5% style="background:#f0f0f0;"|Jan
!align="center" width=5% style="background:#f0f0f0;"|Feb
!align="center" width=5% style="background:#f0f0f0;"|Mar
!align="center" width=5% style="background:#f0f0f0;"|Apr
!align="center" width=5% style="background:#f0f0f0;"|Maj
!align="center" width=5% style="background:#f0f0f0;"|Jun
!align="center" width=5% style="background:#f0f0f0;"|Jul
!align="center" width=5% style="background:#f0f0f0;"|Aug
!align="center" width=5% style="background:#f0f0f0;"|Sep
!align="center" width=5% style="background:#f0f0f0;"|Okt
!align="center" width=5% style="background:#f0f0f0;"|Nov
!align="center" width=5% style="background:#f0f0f0;"|Dec
!align="center" width=5% style="background:#f0f0f0;"|Middel
|-
|align="center" style="background:#f0f0f0;"|Max. temperatur(&deg;C)||30,9||30,9||31,3||31,1||30,6||30,3||31,3||32,6||32,8||32,6||31,9||31,2||31,5
|}
</pre>
 
===Enkel tabel med 2 kolonner og formatering===
{|class="wikitable" border="1" cellspacing="0"
|+ '''Titel'''
|-
!align="center" style="background:#f0f0f0; color:#F00"|Kolonne 1
!align="center" style="background:#f0f0f0;"|Kolonne 2
|-
|style="background:#22f0f0; color:red"|Bla bla||Blo blo
|}
 
<pre>
{|class="wikitable" border="1" cellspacing="0"
|+ '''Titel'''
|-
!align="center" style="background:#f0f0f0; color:#F00"|Kolonne 1
!align="center" style="background:#f0f0f0;"|Kolonne 2
|-
|style="background:#22f0f0; color:red"|Bla bla||Blo blo
|}
</pre>
 
===Sorterbar tabel===
Bemærk den sidste kolonne er ikke sorterbar. Ligesom den sidste række.
 
{|class="wikitable sortable" border="1" cellspacing="0"
|+ '''Liste over kommunerne'''
!Kommune
!Kommunekode
!Indbyggertal(2007)
!class="unsortable"|Areal(km<sup>2</sup>)
|-
|[[Acrelândia (AC)|Acrelândia]]||120001||align=right|11.520||align=right|1.575
|-
|[[Assis Brasil]]||120005||align=right|5.351||align=right|2.876
|-
|[[Brasiléia]]||120010||align=right|19.065||align=right|4.336
|-
|[[Bujari]]||120013||align=right|6.543||align=right|3.468
|-class="sortbottom"
|4||||align=right|42.479||align=right|12.255
|-
|}
 
<pre>
{|class="wikitable sortable" border="1" cellspacing="0"
|+ '''Liste over kommunerne'''
!Kommune
!Kommunekode
!Indbyggertal(2007)
!class="unsortable"|Areal(km<sup>2</sup>)
|-
|[[Acrelândia (AC)|Acrelândia]]||120001||align=right|11.520||align=right|1.575
|-
|[[Assis Brasil]]||120005||align=right|5.351||align=right|2.876
|-
|[[Brasiléia]]||120010||align=right|19.065||align=right|4.336
|-
|[[Bujari]]||120013||align=right|6.543||align=right|3.468
|-class="sortbottom"
|4||||align=right|42.479||align=right|12.255
|-
|}
</pre>
 
==Sammenfoldelig tabel==
{| class="wikitable collapsible collapsed" style="width:100%; font-size:90%;"
|-
! style="background:#e9e9e9; text-align:center;" colspan="4"| Overskrift 1
|-
! style="background:#e9e9e9; width:5%; text-align:center;"|Overskrift 2.1
! style="background:#e9e9e9; width:10%; text-align:center;"|Overskrift 2.2
! style="background:#e9e9e9; width:70%; text-align:center;"|Overskrift 2.3
! style="background:#e9e9e9; width:15%;"|Overskrift 2.4
|- valign="top"
| 1.0
| 23 September 2008
|*[[Android Market]] application download and updates through the Market app
|<!-- Deleted image removed: [[File:Android 1.0 Home Screen.jpg|180px]] --></br>Android 1.0 on the [[HTC Dream]]
|-
|}
 
<pre>
{| class="wikitable collapsible collapsed" style="width:100%; font-size:90%;"
|-
! style="background:#e9e9e9; text-align:center;" colspan="4"| Overskrift 1
|-
! style="background:#e9e9e9; width:5%; text-align:center;"|Overskrift 2.1
! style="background:#e9e9e9; width:10%; text-align:center;"|Overskrift 2.2
! style="background:#e9e9e9; width:70%; text-align:center;"|Overskrift 2.3
! style="background:#e9e9e9; width:15%;"|Overskrift 2.4
|- valign="top"
| 1.0
| 23 September 2008
|*[[Android Market]] application download and updates through the Market app
|<!-- Deleted image removed: [[File:Android 1.0 Home Screen.jpg|180px]] --></br>Android 1.0 on the [[HTC Dream]]
|-
|}
</pre>
 
'''En mere simpel udgave'''
{| class="wikitable collapsible collapsed"
!colspan=5|Parker
|-
|'''Kol1'''||'''Kol2'''||'''Kol3'''||'''Kol4'''||'''Kol5'''
|-
| Lorem|| ipsum ||dolor ||sit ||amet
|-
| Lorem|| ipsum ||dolor ||sit ||amet
|}
 
<pre>
{| class="wikitable collapsible collapsed"
!colspan=5|Parker
|-
|'''Kol1'''||'''Kol2'''||'''Kol3'''||'''Kol4'''||'''Kol5'''
|-
| Lorem|| ipsum ||dolor ||sit ||amet
|-
| Lorem|| ipsum ||dolor ||sit ||amet
|}
</pre>
 
==Se også==