Location Infobox: Difference between revisions

From FIBIwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
A locations infobox is used to summarize information about a particular location.
A '''Locations Infobox''' is used to summarize information about a particular location.  A completed version, as it appears in an article, can be seen [[Agra|here]].


The infobox can be quickly and easily added using the <nowiki>{{Locations_infobox}}</nowiki> template shown below.
An infobox can be quickly and easily added using the <nowiki>{{Locations_infobox}}</nowiki> 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.


<PRE>{{Locations_Infobox
<PRE>{{Locations_Infobox
Line 11: Line 11:
|stateprovince=  
|stateprovince=  
|country=
|country=
|transport=
}}</PRE>
}}</PRE>
'''Version with Presidency fields filled in''' - delete non-applicable presidencies
<PRE>{{Locations_Infobox
|presidency= [[Bengal (Presidency)|]] [[Bombay (Presidency)|]] [[Madras (Presidency)|]]
|image=
|coordinates=
|altitude=
|presentname= 
|stateprovince=
|country=
|transport=
}}</PRE>
'''Editing tips'''
{{Locations_Infobox
|presidency= [[Madras (Presidency)|Madras]]
|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 <nowiki><br></nowiki> 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 - <nowiki>[[ and ]]</nowiki> - to link to related FibiWiki articles.
* Multiple values given in a single field must be separated by commas and, where appropriate, line breaks <nowiki>(<br>)</nowiki> as spacing them onto separate lines confuses screen reader software.
<PRE>
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 <nowiki><br></nowiki> where line breaks are needed
}}</PRE>
[[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
}}