Template:Places by decade/doc

Overview: This family of templates sets up a navigation box for moving between categories for Places or Things of the same decade. The color scheme changes from blue to sepia tone if the decade is 1910 or earlier. Optionally, up to 3 notable images from the period may used to illustrate the breadth of the category's contents.

Related:
 * Template:Events by decade identical functionality except recognizes the event parameter, and does not auto categorize the same way.
 * Template:Things by decade performs the similar functions, but recognizes thing categories such as for fashion, ships, paintings, and automobiles. This template currently has not been upgraded and it's syntax may vary substantially from the current version.


 * See also: Template:Places by decade/faq

Simple example

 * Yields:

Parameter list

 * First parameter (required) place
 * The place. Categories are listed for the given place if they obey the naming convention form:  in the s.  Example:Category:Paris in the 1880s


 * Second parameter (required) decade
 * First year of the decade desired.


 * Third parameter (optional) geoPosition
 * Landmark, address or place name (eg. Eiffel Tower, Rue Soufflot, Natzweiler-Struthof). Used by Google/Yahoo maps, so the more precise, the better.


 * image, Image2, Image3 optional
 * Notable image(s) from the collection. Up to 3 images may be indicated.  Omit "Image:" prefix.


 * width, width2, width3 optional. example value for large image: [ ]
 * Used for changing image size. Default width is 500 pixels.  Multiple images can be adjusted to the same height by  adjusting these smaller or larger.


 * event (For events by decade only) This name appears next to the calendar icon, and in a Toolbar such as Operator for all event applications.


 * partof1, partof2... these define the list of elements of the group boxes, and usually correspond to template pages in the form Template:Place info placeName.  placeNames should correspond to a Commons category page name.  The existence of these pages is optional, and these can be used to identify ambiguous placenames for Google/Yahoo maps.  EG if placename is St. Petersburg, placeof1=Florida would allow the map application to know you didn't mean the city in Russia.
 * partof1 = in practice, this is set to the location geographically nearest the point of interest. EG: Tour Eiffel
 * partof2,3 these are set to more general locations.  eg: partof2=Paris|partof3=France
 * partof8,9 These will override the toplevel Countries and cities groups.  defaults= partof8=major cities; partof9=countries.


 * cat=no Supresses automatic addition of categories.  Eg. Use this when an image is already nested in a place category for that decade.


 * showImage=no if set to no, then images are not displayed.


 * noEdit=X  if non null, then Image addition edit link is suppressed.


 * collapsed values=(collapsed, auto, uncollapsed).  More info may be found on documentation for Template:Navbox's state'' parameter


 * Styles - optional. Used for formatting the Navbox colors, alignments and other options.  See navigation box documentation for more information.  Example value for a green title bar: [   ]
 * titlestyle - the title bar
 * groupstyle - the side bar
 * liststyle - the format of the lists
 * bodystyle - the default formating for the navbox


 * Map search terms (optional) authors should use location if they have precise location information. This information is relevant only if the author wants to override default vaules sent to Map applications such as Google and Yahoo Maps. Users may override the default search terms passed by setting them as parameters.
 * term1: default:geoPosition; if none then parameter 1.
 * term2: default:partof1 (empty if = geoPosition)
 * term3: default:partof2 (empty if = geoPosition)
 * term4: default:partof3 (empty if = geoPosition)
 * term5: default:parameter 1 (place) if not = geoPosition, partof1, 2 or 3.

Complex examples
Images can be adjusted in width so that their height is equal: 
 * Yields:

Events
Example use of Events on an image page. See File:Horace Vernet-Barricade rue Soufflot.jpg 

Empty syntax


 __