User:Hari singh/Templates: Difference between revisions

From SikhiWiki
Jump to navigationJump to search
No edit summary
Line 4: Line 4:


{{Tocright}}
{{Tocright}}
==Example 3==
<pre>
{| 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.
|}
</pre>
{| 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.
|}
==Example 4 - sortable==
<pre>
{| 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.
|}
</pre>
{| 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.
|}
==Example 6 - complex==
<pre>
{| 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
| &nbsp;
| 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
|}
|}
</pre>
{| 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
| &nbsp;
| 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
|}
|}


==Templates==
==Templates==

Revision as of 21:07, 21 January 2012

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


This page lists many sections of code that I use frequently while editing at SikhiWiki.

Templates

Edit User message page: Template:Please_read


Add to end of template to tag the template in that category: 
<noinclude>[[Category:XXXX]]</noinclude>
<noinclude>[[Category:Template]]</noinclude>

To exclude from category:
<includeonly>[[Category:Article incomplete]]</includeonly> 
This will exclude the template from 'category Article incomplete'
{{Aowh|[[Guru Nanak]]}}

[[Image:Nanak2.jpg|200px|left]]

'''On September 22''' every year, the [[Sikh|Sikh's]] 
remember the [[Joti Jot|passing away]] of [[Guru Nanak]], 
the founder of their religion which is now known 
as [[Sikhism]]. The contribution of the Guru to 
our understanding of life and its meaning is immense. 
Why not learn more about the [[Guru|Guru's]] 
contributions to [[Sikh]]i and how this has benefited 
humanity. [[Guru Nanak]] was born on April 15, 1469 
but this year (2007), the [[Sikh]]s have chosen 
November 24 to celebrate this momentous day. Guru ji 
died on 7 May 1539 and the community has marked 
September 22 as the day of remembrance.

{{Aowf|Guru Nanak}}

Refs

==References==
{{reflist|2}}

==References==
<references />


<ref>[http://www.srigranth.org/servlet/gurbani.gurbani?Action=Page&g=1&h=1&r=1&t=1&p=0&k=0&Param=97 
Guru Granth Sahib]</ref>

SGGS Quotes

See reminders

Other Quotes

{{Srigranth|674|29258|<big> ((gurmukhi-line)) </big><br>
((transliteration-line)) <br>
((English-line)) <br>}}

'''reference'''
Template:Srig-h gives "{{{3}}}" (SGGS p {{{1}}})^ al hyperlinkd
Template:Srig & SGGSref & Ref-sggs & Sggsl & Gb gives "{{{3}}}" (SGGS p {{{1}}})^
Gbani - 2 paras only - quote + page no
Sggsl with indent
Template:Sggsb - with background colour

Template:Srig3 & Sggs-ref3 gives "{{{3}}}" "{{{4}}}" "{{{5}}}" (SGGS p {{{1}}})^

Template:Sref & sref1 -1 para; Sref2 -2 paras; gives (SGGS {{{1}}})^ only NO tuk line or (SGGS {{{1}}})^[1] 

Template:Sggsq & Sggs-sri gives big "  "  with small footer sggs page {{{2}}} from sikhitothemax

Template:Quoter-sri gives Quote 1 line with box  Template:Sriguru 3 lines 
Template:Tuk1 gives Quote 1 line with background; Tukb - 3 lines with b/g
'''3 lines'''
Template:Gtuk no b/g: Tukc & Sriguru with b/g: Tukcp with pink b/g; 

'''2 lines'''
Gtuk2 in colour with b/g - Quote 2 lines in colour no b/g; 
Tuk-d with b/g no box

'''1 line'''
Quoter-am amrit kirtan - box, b/g

'''Shabad header:
Template:Sdgs - dasam granth
----
{{Srigranth|674|29258|<big>ਸਭਿ ਕਰਮ ਧਰਮ ਹਰਿ ਨਾਮ੝ ਜਪਾਹਾ ॥ </big><br>


{{sggs-ref|1349|57708}}

(SGGS p1349)

Template:Sggs-sri

“ 	{{{1}}} 	 ”
	sggs page {{{2}}} 	

Template:Sggs-ref

(SGGS p{{{1}}}) 	

Template:Tuk

{{{3}}}
{{{4}}}
{{{5}}}
(SGGS p{{{1}}}) 	


SGGS Page 674 Full Shabad
ਸਭਿ ਕਰਮ ਧਰਮ ਹਰਿ ਨਾਮ੝ ਜਪਾਹਾ ॥

Sabẖ karam ḝẖaram har nĝm japĝhĝ.

All good karma and righteous living are found in meditation on the Lord's Name.


Sri Granth linked

Sri-listg‎: Lists tuks in SGGS with word in Gurmukhi

Sri-word: (Sriword, gdict) Gives meaning of word in Gurmukhi

Image

Format of pictures: Basic

[[image:file.jpg|thumb|250px|right|{{c|title}}]]

[[image:file.jpg|thumb|300px|left|{{cs|'''Sultanpur'''}}]]

Advance

[[image:file.jpg|thumb|300px|right|{{cs|'''Sultanpur'''<br>(courtesy map)}}]]

[http://in.maps.yahoo.com  Click here to go to Yahoo! India Maps]
[[Image:Banga.gif|thumb|800px|center|{{cs|'''Banga''' (click to enlarge)<br>(Map courtesy of Yahoo! India Map )}}]]

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


Article of the Week Header

Gurdwara Panja Sahib

<h1 style="margin: 0; background-color:#FFE4E1; font-size: 145%; 
font-weight:bold; border: 1px solid #ffc9c9; 
margin-top:.0em; margin-bottom:.2em; padding:0.2em 0.2em; 
text-align: center; color:#FF6600">[[Gurdwara Panja Sahib]]</h1>

SGGS pages

{{Sggs_Menu|Sggs_1|Sggs_3}}

{|style="border: 1px solid #FFDEAD; color: #000; background-color: #FFFAF0; padding: .4em .9em .9em; margin-top:.0em; margin-bottom:.3em; text-align: center; font-size: 180%;   margin: 0;" 
|-
|colspan=2|<font color=#800000>

{{insert text here}}

|}

{{Sggs_Nav|Sggs_1|Sggs_3}}


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>

Welcome to SikhiWiki

User page

Template:Please complete

'''Hello, {{SSA}}, {{WKWF}}: {{BASEPAGENAME}} Ji!'''
When you have a few minutes, please introduce yourself to the rest of the [[SikhiWiki]] team. We would welcome if you could tell us a little about yourself. 

Please tell us:
* your nickname or is it {{BASEPAGENAME}}? Should we just call you, ''{{BASEPAGENAME}} Ji''
* what you do in life; Are you a student? If so what sort of school or college do you attend? Or do you work? In which case what sort of company do you work for? And what sort of work do you do?
* the town and country where you live; Do you live in India? Then which state and town? What sort of place is it? Is it a village and a rural community? Or is like my town adjacent to a highly urbanised area like London?
* your interests and hobbies, etc. Do play sports? Are you a photographer or a well travelled person? Perhaps you have an interest in the armed forces? Flying? Walking? gardening? NO! then what? Please tell us.

<center><small>When you add this information, please overwrite the text <nowiki>{{Please complete}} at the top of your user page. This is YOUR user page - You decide what you want here! But insults, nudity, blackmail, threats, incitement to violence, no sales, no adverts for goods, services, etc, etc. No, No, I assure you we DO believe in freedom! LOL</small></center>

Many thanks. [[user:hari singh|Hari Singh]]<sup>[[User talk:Hari singh|talk]]</sup><noinclude>[[Category:Template]]</noinclude>[[Category:Users]]

</nowiki>

User Talk page

Smiley Face 1.jpg

Hello, Sat Sri Akal, Waheguru ji ka Khalsa, Waheguru ji ki Fateh: Hari singh Ji! A very warm welcome from SikhiWiki and many thanks for your contributions so far. I hope you will keep visiting this website and that you will help us enhance it by checking it, amending it, by adding to it, by discussing issues on the discussion pages, etc. Please feel free to add to or amend any of the topics that you have knowledge about. Don't worry about making mistakes, as these can be easily corrected.

For more guidance please see Help or contact me through my user page here.
With Waheguru's kirpa, may you always remain in Chardi kala. Many thanks, Hari Singhtalk 06:17, 22 February 2010 (UTC)
<div class="usermessage" style="font-size: 90%;font-weight:normal;">
[[Image:Smiley Face 1.jpg|left|100px]]
'''Hello, {{SSA}}, {{WKWF}}: {{BASEPAGENAME}} Ji!'''
A very warm welcome from '''SikhiWiki''' and many thanks for your contributions so far. I hope you will keep visiting this website and that you will help us enhance it by checking it, amending it, by adding to it, by discussing issues on the discussion pages, etc. Please feel free to add to or amend any of the topics that you have knowledge about. Don't worry about making mistakes, as these can be easily corrected. 

{{C|'''For more guidance please see [[Help:Contents|Help]] or contact me through my user page [[User_talk:Hari_singh|here]].'''<br>With [[Waheguru]]'s kirpa, may you always remain in [[Chardi kala]]. Many thanks, ~~~~}}
</div>

News

News Item

Template:News020 Template:Newsdirect (Template:Newsdirect1)

Celibacy & Gurmat
Wed44x.jpg

In a recent case in Canada, sevadaars were arrested and charged with sexual misconduct. A news article quoted a member of the Nanaksar Gurdwara saying, "Priests at the temple are expected to be celibate....". This leads to the question, since when has celibacy been a Rehit or compulsion in Sikhi...

{|cellspacing="3" cellpadding="3" style="margin-top:.2em; margin-bottom:.2em; padding:0.2em 0.2em; background-color: #E6E6FA;"
|- style="font-size: 110%;font-weight:bold;"
|colspan="2"|[http://www.panthic.org/news/131/ARTICLE/3067/2007-01-24.html     Celibacy & Gurmat]<br>
|-
| width="120px"|
{{Newsimage|Wed44x.jpg}}
| valign="top" width="270px" style="font-size: 90%;"| 
In a recent case in Canada, sevadaars were arrested and charged with sexual misconduct. A news article quoted a member of the Nanaksar Gurdwara saying, "Priests at the temple are expected to be celibate....". This leads to the question, since when has celibacy been a Rehit or compulsion in Sikhi...
|}<noinclude>[[Category:News]]</noinclude>

Templates

Old Templates

Template:AOW52  : Template:AOW51  : Template:AOW50

Template:AOW49  : Template:AOW48  : Template:AOW47  : Template:AOW46  : Template:AOW45  : Template:AOW44

Template:AOW43  : Template:AOW42  : Template:AOW41  : Template:AOW40  : Template:AOW39  : Template:AOW38  : Template:AOW37


Template:AOW1 : Template:AOW2 : Template:AOW3  : Template:AOW4  : Template:AOW5 : Template:AOW6 : Template:AOW7 : Template:AOW8  : Template:AOW9  : Template:Today's featured article: Template:Newest_Articles

Template:AOW15 : Template:AOW14 : Template:AOW13 : Template:AOW12 : Template:AOW11  : Template:AOW10


Template:News : Template:SikhBlogs  : Template:Special Celebrations  : Template:Popular Articles : Template:Picture Feature : Template:JanuaryCalendar2006 : Template:FebruaryCalendar2006


Template:Did you know : Template:Forthcoming Events  : Template:POW : Template:RecentArticles

New Templates

Others

Template:AOW20 : Template:AOW21 : Template:AOW22 : Template:AOW23 : Template:AOW24 : Template:AOW25


Template:AOWM1 : Template:AOWM2 : Template:AOWM3 : Template:AOWM4 : Template:AOWM5 : Template:AOWM6


Template:Selected anniversaries 2 : Template:Selected anniversaries 3 : Template:Selected anniversaries 4  :


Template:JuneCalendar2006 : Template:JulyCalendar2006 : Template:AugustCalendar2006 : Template:SeptemberCalendar2006 : Template:OctoberCalendar2006 : Template:NovemberCalendar2006 : Template:DecemberCalendar2006