Template:Infobox city: Difference between revisions
From SikhiWiki
Jump to navigationJump to search
Hari singh (talk | contribs) No edit summary |
Hari singh (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
| 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="vertical-align: top;" | ||
| style="background: | | style="background:#FFCC66; color:white" align="center" colspan= 2 |— '''<big>{{{type}}}</big>''' — | ||
|- | |- | ||
|colspan="2"|[[ | |colspan="2"|[[File:{{{Image_name}}}|250px|center]] | ||
|- | |- | ||
| align="center" colspan= 2 |'''Details''' | | style="background:#FFCC66; color:white" align="center" colspan= 2 |'''Details''' | ||
|- | |- | ||
| '''[[wikipedia:Coordinate system|Coordinates]] :''' || <small>{{{latd}}}, {{{longd}}}</small> | | '''[[wikipedia:Coordinate system|Coordinates]] :''' || <small>{{{latd}}}, {{{longd}}}</small> | ||
Line 33: | Line 33: | ||
| '''[[wikipedia:Vehicle registration plate|Vehicle code]] :''' || {{{vehicle_code_range}}} | | '''[[wikipedia:Vehicle registration plate|Vehicle code]] :''' || {{{vehicle_code_range}}} | ||
|- | |- | ||
| '''[[wikipedia:website|Website]] :''' || {{{website}}} | | '''[[wikipedia:website|Website]] :''' || <small> {{{website}}} </small> | ||
|- | |- | ||
| <small>'''[[wikipedia:information|Other Information]]:'''</small> || {{{footnotes}}} | | <small>'''[[wikipedia:information|Other Information]]:'''</small> || {{{footnotes}}} | ||
Line 41: | Line 41: | ||
This template can be used in article about cities and towns. The other information is: | This template can be used in article about cities and towns. The other information is: | ||
Name of template is: Infobox city | Name of template is: Infobox city | ||
* native_name = ''Name in Gurmukhi''(optional) <br> Name in English | * image_name = any image file with jpg, png, etc extension | ||
* native_name = ''Name in Gurmukhi''(optional)<nowiki> <br> </nowiki> Name in English | |||
* type = city | * type = city | ||
* latd = xx.yy | * latd = xx.yy N | ||
* longd =aa.bb | * longd =aa.bb E | ||
* country = India | * country = India | ||
* state_name = | * state_name = | ||
Line 70: | Line 71: | ||
<pre><nowiki> | <pre><nowiki> | ||
Example of use: | |||
{{Infobox city | {{Infobox city | ||
|image_name = tarntaran.jpg | |||
|native_name = ਤਰਨ ਤਾਰਨ ਸਾਹਿਬ <br> Tarn Taran Sahib | |native_name = ਤਰਨ ਤਾਰਨ ਸਾਹਿਬ <br> Tarn Taran Sahib | ||
|type = city | |type = city | ||
|latd =31.44 | longd =74.92 | |latd =31.44 N | ||
|longd =74.92 E | |||
|country = India | |country = India | ||
|state_name = Punjab | |state_name = Punjab | ||
|skyline = | |skyline = | ||
|skyline_caption = Tarn Taran Sahib | |skyline_caption = Tarn Taran Sahib | ||
|district = | |district = Tarn Taran | ||
|leader_title = | |leader_title = | ||
|leader_name = | |leader_name = | ||
Line 93: | Line 97: | ||
|sex_ratio = | |sex_ratio = | ||
|unlocode = | |unlocode = | ||
|website = http://www.tarntaran.punjabtourism.in/ | |website = [http://www.tarntaran.punjabtourism.in/ punjabtourism] | ||
|footnotes = | |footnotes = | ||
|}} | |}} |
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 = |}}