Template talk:Place by decade

From Wikimedia Commons, the free media repository
Jump to: navigation, search

Development version. stable version is {{places by decade}} -J JMesserly (talk) 22:00, 14 January 2009 (UTC)

  • {{time and place is|1890|Atlanta/Georgia/United States}}
    • The idea here is that people understand what a file hierarchy means. The above is backwards of course, but is in the order it would occur in an address.
  • (won't work)if placelist element 1= placelist, then not a list. Look up values from Facts (Oops- no, it could have a space.)
  • normalize placelist- scan each element and recreate the list.
  • Parameter 2 used to mean- set category to this value. Now this is obsolete. The lowest order location with a valid cat for the decade gets the autocat.

Docs for future version:

  • Parameter 2 specifies the location. This should correspond to a Commons Category name, but could refer to one that doesn't yet exist yet due to insufficient numbers of images. The place could be a single location, or indicate what larger regions the place is part of. "Atlanta/Georgia/United States" indicates that Atlanta is part of Georgia which is part of the United States. How this value is used:
    • Navbox Groups: A navbox row is enabled for each element in largest to smallest order. For example, if there are any decades categories, "United States in the 1910s" and so on, a row is populated with the decades for cats that exist for United States. Next a row is populated for Georgia if any exist, and so on for all groups including Atlanta.
    • Autocat:
      • File: a cat is applied to the first category that exists. EG if the time given is the 1920s, and cat "Atlanta in the 1920s" does not exist, then apply the cat Georgia in the 1920s. If this cat does not exist, then United States in the 1920s and so on until all places are exhausted.
      • Category: The first place in the list (EG: "Atlanta" is the name of the place that the Category covers.
    • Mapping. These values are passed via microformats to mapping applications like Google Maps and Yahoo maps. They are encoded as localities, unless their type (eg a country-name or region ("state"/"province") is explicitly indicated.
  • Verbose: this is a numeric value indicating how much information is preferred. Minimalist elements with low values, Maximum numbers of elements with higher values. "Atlanta" might be the only row with verbosity =1. With verbosity-5, Georgia and US might be displayed, but not the row with things of the decade (eg automobiles of the 1920s, etc.). Images might not be displayed if verbosity =2.