User:Hari singh/Tables

From SikhiWiki
Jump to navigationJump to search
Welcome to Hari's User Page ਧਨ ਗੁਰੂ ਨਾਨਕ Email Hari Singh
Useful Links External Links Technical help Templates Templates2 Reminders Testing-Temp-2 Things to do
SikhiWiki Users Styles Formatting Tables SGGS quotes User templates Menu Media/pictures


Tables

Default style

{| border="1" cellpadding="5" cellspacing="0" style="text-align:center"
|-style="background:#efefef; font-weight:bold;"
|width=50px |No.
|width=100px |Month Name
|width=150px |Start date
|width=100px |Days in month
|-
| 1. || [[Chet]] || 14 March || 31 
|-
| 2. || [[Vaisakhi]] ||  14 April || 31 
|-
| 3. || [[Jeth]] ||  15 May || 31 
|-
| 4. || [[Harh]] ||  15 June || 31 
|}
No. Month Name Start date Days in month
1. Chet 14 March 31
2. Vaisakhi 14 April 31
3. Jeth 15 May 31
4. Harh 15 June 31

To start a table:

{| border="2" cellpadding="2" cellspacing="0" style=" border-collapse: border; 
color:#111111; font-size:8px; text-align:center;" class="prettytable; center"
|- bgcolor=#F5FFFA  height="25"
|
|-
|}

Segments

| style="width:38%;text-align:center; white-space: nowrap; color:#000" |
<h1 style="font-size: 150%; border: none; margin: 0; padding:.1em;">
<font color=#FF6600>

style="background-color:transparent;"

Simple menu system

{|style="width:75%; background:#f0f0f0; " border="1" cellpadding="7" cellspacing="0"
|style="width:25%;text-align:left;"| '''[[POW_August|Previous month - August]]'''
|style="width:50%;text-align:center;"| <center>'''Navigation Menu'''
|style="width:25%;text-align:right;"| '''[[POW_October|Next month - October]]'''
|}
Previous month - August
Navigation Menu
Next month - October

example of table 1

{|style="width:70%; background:#f0f0f0; " border="1" cellpadding="7" 
cellspacing="0"
|width=20%| '''Date '''
|width=80%| '''Event'''
|-
|November 2007 || Sarika is excluded from Aberdare 
|-
|September 1, 2008 || Sarika announces that she will 
|}
Date Event
November 2007 Sarika is excluded from Aberdare
September 1, 2008 Sarika announces that she will

example of table 2

{|style="width:90%; background:#f0f0f0; " border="0" cellpadding="7" cellspacing="0"
|width=20%| '''Date '''
|width=80%| '''Event'''
|-
|November 2007 || Sarika is excluded from Aberdare 
|-
|September 1, 2008 || Sarika announces that she will 
|}
Date Event
November 2007 Sarika is excluded from Aberdare
September 1, 2008 Sarika announces that she will

Example 3

{| class="wikitable" style="margin: 1em auto 1em auto"
|+ '''Cells left-aligned, table centered'''
! col 1  || col 2 || col 3
|-
| dolor  || in reprehenderit || in voluptate velit
|-
| esse cillum dolore || eu fugiat nulla || pariatur.
|}
Cells left-aligned, table centered
col 1 col 2 col 3
dolor in reprehenderit in voluptate velit
esse cillum dolore eu fugiat nulla pariatur.

Example 4 - sortable

{| class="wikitable sortable"
|+Sortable table
|-
! Alphabetic !! Numeric !! Date !! class="unsortable" | Unsortable
|-
| d || 2 || 2008-11-24 || This
|-
| b || 8 || 2004-03-01 || column
|-
| a || 6 || 1979-07-23 || cannot
|-
| c || 4 || 1492-12-08 || be
|-
| e || 0 || 1601-08-13 || sorted.
|}
Sortable table
Alphabetic Numeric Date Unsortable
d 2 2008-11-24 This
b 8 2004-03-01 column
a 6 1979-07-23 cannot
c 4 1492-12-08 be
e 0 1601-08-13 sorted.

Example 6 - complex

{| border="1" cellpadding="5" cellspacing="0" align="center"
|+'''An example table'''
|-
! style="background:#efefef;" | First header
! colspan="2" style="background:#ffdead;" | Second header
|-
| upper left
|  
| rowspan=2 style="border-bottom:3px solid gray;" valign="top" |right side
|-
| style="border-bottom:3px solid gray;" | lower left
| style="border-bottom:3px solid gray;" | lower middle
|-
| colspan="3" align="center" |
{| border="0"
|+''A table in a table''
|-
| align="center" width="150px" | [[Image:khanda.jpg]]
| align="center" width="150px" | [[Image:khanda.jpg]]
|-
| align="center" colspan="2" style="border-top:1px solid red; border-right:1px solid red; border-bottom:2px solid red; border-left:1px solid red;" |
Two [[Sikhiwiki]] [[Khanda]]s
|}
|}
An example table
First header Second header
upper left   right side
lower left lower middle
A table in a table
Khanda.jpg Khanda.jpg

Two Sikhiwiki Khandas

Column layout

Simple

1. Simple List using tables:

{| cellspacing= "5" cellpadding="4"
| width="250px" |
*1
*2
*3 
| width="40%" |
*4
*5
*6
| width="30%" |
*7
*8
*9
|}
  • 1 Column 1
  • 2 Apples
  • 3 Pears
  • 4 Column 2
  • 5 djdjhjhjkhhuiuhuigyigi
  • 6 dkdfkldfjkdfjkd
  • 7 Column 3
  • 8 hjhjkhhuiuhuigyigi
  • 9 dkdkdkdkdk
  • 2. More
{| cellspacing= "5" cellpadding="4"
| 
1 Column 1
----
*2 Apples
*3 Pears
| 
4 Column 2
----
*5 djdjhjhjkhhuiuhuigyigi
*6 dkdfkldfjkdfjkd
| 
7 Column 3
----
*8 hjhjkhhuiuhuigyigi
*9 dkdkdkdkdk
|}

1 Column 1


  • 2 Apples
  • 3 Pears

4 Column 2


  • 5 djdjhjhjkhhuiuhuigyigi
  • 6 dkdfkldfjkdfjkd

7 Column 3


  • 8 hjhjkhhuiuhuigyigi
  • 9 dkdkdkdkdk

Intermediate

{|
|style="vertical-align:top; width:10%; "|
'''A'''
*Ahdi
----

'''B'''
*Babra 
*Bachu

|style="vertical-align:top; width:10%;font-style:italic;"|
'''C'''
*Caveeshar
*Chaddha
----

'''D'''
*Daddoo
*Dadiala 
----
|style="vertical-align:top; width:10%; font-weight:bold;"|
'''D..'''
*Dhuphar 
*Dogra

|}


A

  • Ahdi
  • Arrii
  • Assi

B

  • Babra
  • Bachu


C

  • Caveeshar
  • Chaddha
  • Chaggar
  • Chamak
  • Chana

D

  • Daddoo
  • Dadiala
  • Daffu
  • Dahale
  • Dahley
  • Daphu

D..

  • Dhuphar
  • Dogra
  • Dulphir
  • Duphar

G

  • Gabri
  • Gabriah
  • Gahir
  • Gaidu

H

  • Harbias
  • Hothi

J

  • Jabba
  • Jagdeo
  • Jagdey
  • Jandu

K

  • Kaile
  • Kainthal
  • Kalsi

L

  • Lall
  • Lafunghaa

M

  • Main
  • Mandaley
  • Mankoo

N

  • Nadoia
  • Nagi
  • Nandhra
  • Nandra
  • Nanery

O

  • Obhi
  • Oshan

P

  • Padam
  • Palhora
  • Palne

R

  • Ramgarhia
  • Ranauta
  • Rayat
  • Rehal
  • Rehnsi

S

  • Sagoo
  • Saggu
  • Salh
  • Sambhi
  • Sandhu

S...

  • Sira
  • Sokhi
  • Sohal

T

  • Tattar
  • Tethi

U

  • Ubhi

V

  • Verdi

Z

  • Zandy



Month Template

Sunday Monday Tuesday Wednesday Thursday Friday Saturday
February 2007 1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28

February 2007
{| border="2" cellpadding="2" cellspacing="0" style=" border-collapse: bordercolor:#111111; font-size:8px; text-align:center;" class="prettytable; center"
|- bgcolor=#F5FFFA  height="25" 
! width="100"| Sunday
! width="100"| Monday
! width="100"| Tuesday
! width="100"| Wednesday
! width="100"| Thursday
! width="100"| Friday
! width="100"| Saturday
|- bgcolor=#FFEFD5; height="25" 
| '''[[February]] [[On This Day|2007]]'''
| 
| 
|  
| 1
| 2
| 3
|- bgcolor=#E6E6BB height="25"
| 4
| 5
| 6
| 7
| 8
| 9
| 10
|- bgcolor=#F0F8FF; height="25"
| 11
| 12
| 13
| 14
| 15
| 16
| 17
|- bgcolor=#d3d3d3 height="25"
| 18
| 19
| 20
| 21
| 22
| 23
| 24
|- bgcolor=#fff5ee height="25" 
| 25
| 26
| 27
| 28
| <br>
| <br>
| '''[[February]] [[On This Day|2007]]'''
|} <noinclude>[[Category:Calendar]]</noinclude>