Template:Infobox city: Difference between revisions
From SikhiWiki
Jump to navigationJump to search
Hari singh (talk | contribs) (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...") |
Hari singh (talk | contribs) 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= | | 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}}}}''' — | |||
|- | |- | ||
| | | align="center" colspan= 2 | |'''Details''' | ||
|- | |- | ||
| ''' | | '''[[Coordinates]] :''' || <small>{{{latd}}}, {{{longd}}}</small> | ||
|- | |- | ||
| ''' | | '''[[Country]] :''' || {{{country}}} | ||
|- | |- | ||
| ''' | | '''[[State]] :''' || {{{state_name}}} | ||
|- | |- | ||
| '''[[District]] :''' || {{{district}}} | | '''[[District]] :''' || {{{district}}} | ||
|- | |- | ||
| ''' | | '''[[Population]] :''' || {{{population_total}}} as at {{{population_as_of}}} | ||
|- | |- | ||
| ''' | | '''[[Population Density]] :''' || {{{population_density}}} | ||
|- | |- | ||
| ''' | | '''[[Timezone]] :''' || {{w2|Indian Standard Time|IST}} ({{w|UTC+5:30}}) | ||
|- | |- | ||
| ''' | | '''[[Area]] :''' || {{{area_total}}} | ||
|- | |- | ||
| ''' | | '''[[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 | | <small>'''[[Other Information]]:'''</small> || {{{footnotes}}} | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
==Use of this template== | ==Use of this template== | ||
This template can be used in article about | 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) <br> 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== | ==How to use this template== | ||
Line 58: | Line 68: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{ | |||
| | {{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 = | |||
|}} | |||
</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 = |}}