Template:Infobox city: Difference between revisions

From SikhiWiki
Jump to navigationJump to search
(Created page with "{| class="infobox geography vcard" style="width: 22em; font-size: 88%; line-height: 1.5em" align="right" |- | colspan="2" style="margin-left: inherit; color:red; background: tran...")
 
No edit summary
Line 1: Line 1:
{| class="infobox geography vcard" style="width: 22em; font-size: 88%; line-height: 1.5em" align="right"
{| class="infobox geography vcard" style="width: 22em; font-size: 88%; line-height: 1.5em" align="right"
|-
|-
| colspan="2" style="margin-left: inherit; color:red; background: transparent; font-size: 1.5em; text-align:center" | '''{{{native_name}}}'''
| colspan= 2 style="margin-left: inherit; color:red; background: transparent; font-size: 1.5em; text-align:center" | '''{{{native_name}}}'''
|- style="vertical-align: top;"
| style="background: {{{background|#FFCC66}}}; color:white" align="center" colspan= 2 | —  '''{{{type}}}}'''  —
|-
|-
| || {{{type}}}
| align="center" colspan= 2 | |'''Details'''
|- style="vertical-align: top;"
| style="background: {{{background|#FFCC66}}}; color:white" align="center" colspan="2" | '''Details'''
|-
|-
| '''{{w|Coordinates}} :''' || <small>{{{latd}}}, {{{longd}}}</small>
| '''[[Coordinates]] :''' || <small>{{{latd}}}, {{{longd}}}</small>
|-
|-
| '''{{w|Country}} :''' || {{{country}}}
| '''[[Country]] :''' || {{{country}}}
|-
|-
| '''{{w|State}} :''' || {{{state_name}}}
| '''[[State]] :''' || {{{state_name}}}
|-
|-
| '''[[District]] :''' || {{{district}}}
| '''[[District]] :''' || {{{district}}}
|-  
|-  
| '''{{w|Population}}/year :''' || {{{population_total}}} as at {{{population_as_of}}}
| '''[[Population]] :''' || {{{population_total}}} as at {{{population_as_of}}}
|-
| '''{{w|Population Density}} :''' || {{{population_density}}}
|-
|-
| '''{{w|timezone}} :''' |{{w2|Indian Standard Time|IST}} ({{w|UTC+5:30}})
| '''[[Population Density]] :''' || {{{population_density}}}
|-
|-
| '''Area :''' || {{{area_total}}}
| '''[[Timezone]] :''' || {{w2|Indian Standard Time|IST}} ({{w|UTC+5:30}})
|-
|-
| '''Altitude :''' || {{{altitude}}}
| '''[[Area]] :''' || {{{area_total}}}
|-
|-
| '''Children :''' || {{{Children}}}
| '''[[Altitude]] :''' || {{{altitude}}}
|-  
|-  
|  '''Telephone code :'''  || {{{area_telephone}}}
|  '''[[Telephone code]] :'''  || {{{area_telephone}}}
|-
|-
|  '''Postal code :'''  || {{{postal_code}}}
|  '''[[Postal code]] :'''  || {{{postal_code}}}
|-
|-
|  '''Vehicle code :'''  || {{{vehicle_code_range}}}
|  '''[[Vehicle code]] :'''  || {{{vehicle_code_range}}}
|-
|-
| '''Website :'''  || {{{website}}}
| '''[[Website]] :'''  || {{{website}}}
|-
|-
| <small>'''Other Info:'''</small> || {{{footnotes}}}
| <small>'''[[Other Information]]:'''</small> || {{{footnotes}}}
|}
|}
<noinclude>
<noinclude>
==Use of this template==
==Use of this template==
This template can be used in article about the Gurus or Bhagats. You will require a photo of the Guru and the following information to make the template most effective. The file can be in ''jpg'' or ''gif'' format. The other information is:
This template can be used in article about cities and towns. The other information is:
* '''Image name''' - This is the jpg or gif file and enter the full file name. eg: ''xyz.jpg'' or ''xyz.gif''
Name of template is: Infobox city
 
* native_name = ''Name in Gurmukhi''(optional) <br> Name in English
* '''Subject Name''' - This is the short or common name of the person
* type = city
 
* latd = xx.yy
*'''Name''' - The full name of the Guru
* longd =aa.bb
*'''Birth''' - The place & date of birth. Enter this in the format January 12, 1234 at Delhi, India  
* country = India
*'''Parents''' - Names of the parents of the Guru
* state_name =
*'''brosis''' - (Brothers/Sisters) Place here the names of the Guru's brothers and sisters.
* skyline =
*'''Spouse''' - Name of the wife or husband of the Guru
* skyline_caption = 
*'''Children''' - Names of any children
* district = 
*'''Guruship''' - This is the date that the Guru became Guru - Date of Guruship
* leader_title =
*'''Died''' - This will appear as [[Joti jot]]
* leader_name =
*'''Other Info''' - Enter here any other important information about the Guru. eg: [[Bani]]: Sukhmani Sahib written in 1234, etc
* altitude =
* population_as_of =
* population_total =
* population_density =
* area_magnitude= 
* area_total = 
* area_telephone = 
* postal_code = 
* vehicle_code_range =
* sex_ratio =
* unlocode =
* website =
* footnotes =


==How to use this template==
==How to use this template==
Line 58: Line 68:


<pre><nowiki>
<pre><nowiki>
{{infobox Guru
 
|Image name =  
{{Infobox city
|Subject Name =  
|native_name = ਤਰਨ ਤਾਰਨ ਸਾਹਿਬ <br> Tarn Taran Sahib
|Name =  
|type = city
|Birth =  
|latd =31.44 | longd =74.92 |
|Parents =  
|country = India
|brosis =  
|state_name = Punjab
|Spouse =  
|skyline =
|Children =  
|skyline_caption = Tarn Taran Sahib
|Guruship =  
|district = [[Tarn Taran]]
|Died =  
|leader_title =  
|Bani in GGS
|leader_name =  
|Other Info =  
|altitude = 226.5
}}
|population_as_of = 2001
|population_total = 130,587
|population_density = 25.81
|area_magnitude= 
|area_total =  5059
|area_telephone = +91 (0) 1852
|postal_code = 143401
|vehicle_code_range = PB46-
|sex_ratio =
|unlocode =
|website = http://www.tarntaran.punjabtourism.in/
|footnotes =  
|}}
</nowiki></pre>
</nowiki></pre>
[[category:infoboxes]]
[[category:infoboxes]]
</noinclude>
</noinclude>

Revision as of 18:39, 11 October 2010

{{{native_name}}}
—  {{{type}}}}  —
|Details
Coordinates : {{{latd}}}, {{{longd}}}
Country : {{{country}}}
State : {{{state_name}}}
District : {{{district}}}
Population : {{{population_total}}} as at {{{population_as_of}}}
Population Density : {{{population_density}}}
Timezone : IST (UTC+5:30)
Area : {{{area_total}}}
Altitude : {{{altitude}}}
Telephone code : {{{area_telephone}}}
Postal code : {{{postal_code}}}
Vehicle code : {{{vehicle_code_range}}}
Website : {{{website}}}
Other Information: {{{footnotes}}}

Use of this template

This template can be used in article about cities and towns. The other information is: Name of template is: Infobox city

  • native_name = Name in Gurmukhi(optional)
    Name in English
  • type = city
  • latd = xx.yy
  • longd =aa.bb
  • country = India
  • state_name =
  • skyline =
  • skyline_caption =
  • district =
  • leader_title =
  • leader_name =
  • altitude =
  • population_as_of =
  • population_total =
  • population_density =
  • area_magnitude=
  • area_total =
  • area_telephone =
  • postal_code =
  • vehicle_code_range =
  • sex_ratio =
  • unlocode =
  • website =
  • footnotes =

How to use this template

Copy the template shown below and paste in to your article page. Then fill in the data items after the "=" (equal sign). The image file name should be in the form xyz.jpg or xyz.gif.


{{Infobox city 
|native_name = ਤਰਨ ਤਾਰਨ ਸਾਹਿਬ <br> Tarn Taran Sahib
|type = city 
|latd =31.44 | longd =74.92 |
|country = India
|state_name = Punjab
|skyline =
|skyline_caption = Tarn Taran Sahib 
|district = [[Tarn Taran]] 
|leader_title = 
|leader_name = 
|altitude = 226.5
|population_as_of = 2001 
|population_total = 130,587
|population_density = 25.81
|area_magnitude=  
|area_total =  5059 
|area_telephone = +91 (0) 1852 
|postal_code = 143401 
|vehicle_code_range = PB46- 
|sex_ratio = 
|unlocode = 
|website = http://www.tarntaran.punjabtourism.in/
|footnotes = 
|}}