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
 
(13 intermediate revisions by the same user not shown)
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:#FFCC66; color:white" align="center" colspan= 2 |—&nbsp;&nbsp;'''<big>{{{type}}}</big>'''&nbsp;&nbsp;—
|-
|colspan="2"|[[File:{{{Image_name}}}|250px|center]]
|-
|-
|  || {{{type}}}
| style="background:#FFCC66; color:white" 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>
| '''[[wikipedia:Coordinate system|Coordinates]] :''' || <small>{{{latd}}}, {{{longd}}}</small>
|-
|-
| '''{{w|Country}} :''' || {{{country}}}
| '''[[Country]] :''' || '''[[{{{country}}}]]'''
|-
|-
| '''{{w|State}} :''' || {{{state_name}}}
| '''[[wikipedia:Federated state|State]] :''' || '''[[{{{state_name}}}]]'''
|-
|-
| '''[[District]] :''' || {{{district}}}
| '''[[District]] :''' || '''[[{{{district}}}]]'''
|-  
|-  
| '''{{w|Population}}/year :''' || {{{population_total}}} as at {{{population_as_of}}}
| '''[[wikipedia:Population|Population]] :''' || {{{population_total}}} as at {{{population_as_of}}}
|-
|-
| '''{{w|Population Density}} :''' || {{{population_density}}}
| '''[[wikipedia:Population_density|Population Density]] :''' || {{{population_density}}}/[[wikipedia:km2|km<sup>2</sup>]]
|-
|-
| '''{{w|timezone}} :''' |{{w2|Indian Standard Time|IST}} ({{w|UTC+5:30}})
| '''[[wikipedia:timezone|Timezone]] :''' || {{w2|Indian Standard Time|IST}} ({{w|UTC+5:30}})
|-
|-
| '''Area :''' || {{{area_total}}}
| '''[[wikipedia:area|Area]] :''' || {{{area_total}}} [[wikipedia:km2|km<sup>2</sup>]]
|-
|-
| '''Altitude :''' || {{{altitude}}}
| '''[[wikipedia:altitude|Altitude]] :''' || {{{altitude}}} [[wikipedia:metre|m]]
|-
| '''Children :''' || {{{Children}}}
|-  
|-  
|  '''Telephone code :'''  || {{{area_telephone}}}
|  '''[[wikipedia:telephone_code|Telephone code]] :'''  || {{{area_telephone}}}
|-
|-
|  '''Postal code :'''  || {{{postal_code}}}
|  '''[[wikipedia:postal_code|Postal code]] :'''  || {{{postal_code}}}
|-
|-
|  '''Vehicle code :'''  || {{{vehicle_code_range}}}
|  '''[[wikipedia:Vehicle registration plate|Vehicle code]] :'''  || {{{vehicle_code_range}}}
|-
|-
| '''Website :'''  || {{{website}}}
| '''[[wikipedia:website|Website]] :'''  || <small> {{{website}}} </small>
|-
|-
| <small>'''Other Info:'''</small> || {{{footnotes}}}
| <small>'''[[wikipedia:information|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
 
* image_name = any image file with jpg, png, etc extension
* '''Subject Name''' - This is the short or common name of the person
* native_name = ''Name in Gurmukhi''(optional)<nowiki> <br> </nowiki> Name in English
 
* type = city
*'''Name''' - The full name of the Guru
* latd = xx.yy N
*'''Birth''' - The place & date of birth. Enter this in the format January 12, 1234 at Delhi, India  
* longd =aa.bb E
*'''Parents''' - Names of the parents of the Guru
* country = India
*'''brosis''' - (Brothers/Sisters) Place here the names of the Guru's brothers and sisters.
* state_name =
*'''Spouse''' - Name of the wife or husband of the Guru
* skyline =
*'''Children''' - Names of any children
* skyline_caption = 
*'''Guruship''' - This is the date that the Guru became Guru - Date of Guruship
* district = 
*'''Died''' - This will appear as [[Joti jot]]
* leader_title =
*'''Other Info''' - Enter here any other important information about the Guru. eg: [[Bani]]: Sukhmani Sahib written in 1234, etc
* 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==
==How to use this template==
Line 58: Line 71:


<pre><nowiki>
<pre><nowiki>
{{infobox Guru
Example of use:
|Image name =  
 
|Subject Name =  
{{Infobox city
|Name =  
|image_name = tarntaran.jpg
|Birth =  
|native_name = ਤਰਨ ਤਾਰਨ ਸਾਹਿਬ <br> Tarn Taran Sahib
|Parents =  
|type = city
|brosis =  
|latd =31.44 N
|Spouse =  
|longd =74.92 E
|Children =  
|country = India
|Guruship =  
|state_name = Punjab
|Died =  
|skyline =
|Bani in GGS
|skyline_caption = Tarn Taran Sahib
|Other Info =  
|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/ punjabtourism]
|footnotes =  
|}}
</nowiki></pre>
</nowiki></pre>
[[category:infoboxes]]
[[category:infoboxes]]
</noinclude>
</noinclude>

Latest revision as of 12:42, 22 January 2012

{{{native_name}}}
—  {{{type}}}  —
[[File:{{{Image_name}}}|250px|center]]
Details
Coordinates : {{{latd}}}, {{{longd}}}
Country : [[{{{country}}}]]
State : [[{{{state_name}}}]]
District : [[{{{district}}}]]
Population : {{{population_total}}} as at {{{population_as_of}}}
Population Density : {{{population_density}}}/km2
Timezone : IST (UTC+5:30)
Area : {{{area_total}}} km2
Altitude : {{{altitude}}} m
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

  • image_name = any image file with jpg, png, etc extension
  • native_name = Name in Gurmukhi(optional) <br> Name in English
  • type = city
  • latd = xx.yy N
  • longd =aa.bb E
  • 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.

Example of use:

{{Infobox city 
|image_name = tarntaran.jpg
|native_name = ਤਰਨ ਤਾਰਨ ਸਾਹਿਬ <br> Tarn Taran Sahib
|type = city 
|latd =31.44 N
|longd =74.92 E
|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/ punjabtourism]
|footnotes = 
|}}