Template:Location set and format/doc
From Historical Hastings
- Purpose
- Helper function for templates that format a location for display to the user, and sets the values in the page's properties.
- Functions
- Error control- If a location does not have a page, an error property is set for the page.
- Names shortenned. Article page names are shortened to display names. EG: Greene County, Ohio uses property short name to display "Greene County". If there is no page location, then this function uses {{Shortlink2}} to trim predicted suffix patterns (material following the comma or in parens).
- Language specific- order and insertion of connecting grammar "in", "at", and commas that are pertinent for a language.
- Parameters
- Event name eg birth, death, wedding1 etc.
- address
- locality
- county
- nation-subdiv1
- nation
- places-other