Location Infobox: Difference between revisions
Jump to navigation
Jump to search
HughWilding (talk | contribs) Example Infobox and code added |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 32: | Line 32: | ||
|coordinates= | |coordinates= | ||
|altitude= | |altitude= | ||
|presentname= | |presentname=[http://en.wikipedia.org/wiki/Poonamallee Poonamallee] | ||
|stateprovince= | |stateprovince=[http://en.wikipedia.org/wiki/Tamil_Nadu Tamil Nadu] | ||
|country= '''India''', '''''Pakistan''''', ''Bangladesh'', Myanmar (Burma), Afghanistan, Nepal, Sri Lanka | |country= '''India''', '''''Pakistan''''', ''Bangladesh'', Myanmar (Burma), Afghanistan, Nepal, Sri Lanka | ||
|transport= Put a railway, canal or road name here like this<br>'''Great Trunk Road''' or [[East India Railway]]<br>and use <nowiki><br></nowiki> where line breaks are needed | |transport= Put a railway, canal or road name here like this<br>'''Great Trunk Road''' or [[East India Railway]]<br>and use <nowiki><br></nowiki> where line breaks are needed | ||
Line 39: | Line 39: | ||
* Place the template at the very top of an article, before any other text. | * Place the template at the very top of an article, before any other text. | ||
* It is quite in order to leave fields blank - if you don't know, don't guess! | * It is quite in order to leave fields blank - if you don't know, don't guess! | ||
* In the Present Day Details section, links should be to Wikipedia articles as these cover the modern location in a way our wiki cannot. | |||
* If you have an image to contribute, please make sure that its use does not infringe copyright. If at all in doubt, don't use it. | * If you have an image to contribute, please make sure that its use does not infringe copyright. If at all in doubt, don't use it. | ||
* You can use the normal codes to format text. | * You can use the normal codes to format text. | ||
Line 66: | Line 67: | ||
|coordinates= | |coordinates= | ||
|altitude= | |altitude= | ||
|presentname= | |presentname=[http://en.wikipedia.org/wiki/Poonamallee Poonamallee] | ||
|stateprovince= | |stateprovince=[http://en.wikipedia.org/wiki/Tamil_Nadu Tamil Nadu] | ||
|country= ''India'', '''Pakistan''', '''''Bangladesh''''', Myanmar (Burma), Afghanistan, Nepal, Sri Lanka | |country= ''India'', '''Pakistan''', '''''Bangladesh''''', Myanmar (Burma), Afghanistan, Nepal, Sri Lanka | ||
|transport= Put a railway, canal or road name here like this<br>'''Great Trunk Road''' or [[East India Railway]]<br>and use <nowiki><br></nowiki> where line breaks are needed | |transport= Put a railway, canal or road name here like this<br>'''Great Trunk Road''' or [[East India Railway]]<br>and use <nowiki><br></nowiki> where line breaks are needed | ||
Line 73: | Line 74: | ||
[[Category:Infoboxes]] | [[Category:Infoboxes]] | ||
[[Category:Location templates]] |
Latest revision as of 14:58, 7 April 2012
A Locations Infobox is used to summarize information about a particular location. A completed version, as it appears in an article, can be seen here.
An infobox can be quickly and easily added using the {{Locations_infobox}} template shown below. Just copy and paste the text into an article and fill in the fields. It is fine to leave any fields blank. Place the infobox at the very top of an article, before any other text.
{{Locations_Infobox |presidency= |image= |coordinates= |altitude= |presentname= |stateprovince= |country= |transport= }}
Version with Presidency fields filled in - delete non-applicable presidencies
{{Locations_Infobox |presidency= [[Bengal (Presidency)|]] [[Bombay (Presidency)|]] [[Madras (Presidency)|]] |image= |coordinates= |altitude= |presentname= |stateprovince= |country= |transport= }}
Editing tips
Location Infobox | |
---|---|
Presidency: Madras | |
Coordinates: | |
Altitude: | |
Present Day Details | |
Place Name: | Poonamallee |
State/Province: | Tamil Nadu |
Country: | India, Pakistan, Bangladesh, Myanmar (Burma), Afghanistan, Nepal, Sri Lanka |
Transport links | |
Put a railway, canal or road name here like this Great Trunk Road or East India Railway and use <br> where line breaks are needed |
- Place the template at the very top of an article, before any other text.
- It is quite in order to leave fields blank - if you don't know, don't guess!
- In the Present Day Details section, links should be to Wikipedia articles as these cover the modern location in a way our wiki cannot.
- If you have an image to contribute, please make sure that its use does not infringe copyright. If at all in doubt, don't use it.
- You can use the normal codes to format text.
- As a rule, you cannot change the positioning of text (eg the text in the Transport field is always centred).
- Use square brackets - [[ and ]] - to link to related FibiWiki articles.
- Multiple values given in a single field must be separated by commas and, where appropriate, line breaks (<br>) as spacing them onto separate lines confuses screen reader software.
The code used to generate the Infobox on the right can be seen in the template below. (For obvious reasons, do not copy and paste this!) {{Locations_Infobox |presidency= [[Madras (Presidency)|]] |image= Gateway of India.jpg |coordinates= |altitude= |presentname=[http://en.wikipedia.org/wiki/Poonamallee Poonamallee] |stateprovince=[http://en.wikipedia.org/wiki/Tamil_Nadu Tamil Nadu] |country= ''India'', '''Pakistan''', '''''Bangladesh''''', Myanmar (Burma), Afghanistan, Nepal, Sri Lanka |transport= Put a railway, canal or road name here like this<br>'''Great Trunk Road''' or [[East India Railway]]<br>and use <br> where line breaks are needed }}