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 |
||
(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= | | 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 |— '''<big>{{{type}}}</big>''' — | |||
|- | |||
|colspan="2"|[[File:{{{Image_name}}}|250px|center]] | |||
|- | |- | ||
| style="background:#FFCC66; color:white" align="center" colspan= 2 |'''Details''' | |||
| style="background: | |||
|- | |- | ||
| ''' | | '''[[wikipedia:Coordinate system|Coordinates]] :''' || <small>{{{latd}}}, {{{longd}}}</small> | ||
|- | |- | ||
| ''' | | '''[[Country]] :''' || '''[[{{{country}}}]]''' | ||
|- | |- | ||
| ''' | | '''[[wikipedia:Federated state|State]] :''' || '''[[{{{state_name}}}]]''' | ||
|- | |- | ||
| '''[[District]] :''' || {{{district}}} | | '''[[District]] :''' || '''[[{{{district}}}]]''' | ||
|- | |- | ||
| ''' | | '''[[wikipedia:Population|Population]] :''' || {{{population_total}}} as at {{{population_as_of}}} | ||
|- | |- | ||
| ''' | | '''[[wikipedia:Population_density|Population Density]] :''' || {{{population_density}}}/[[wikipedia:km2|km<sup>2</sup>]] | ||
|- | |- | ||
| ''' | | '''[[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]] | ||
|- | |- | ||
| '''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 | | <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 | 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)<nowiki> <br> </nowiki> 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== | ==How to use this template== | ||
Line 58: | Line 71: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{ | 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 = | |||
|}} | |||
</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 = |}}