Template:Street-categories/doc
From Pittsburgh Streets
The {{street-categories}} template is used to classify a street into appropriate categories. It is similar to {{street}} but does not create an infobox and consequently takes a subset of parameters. The {{street-categories}} template is appropriate for redirects. Pages (and redirects) in the main namespace that use the {{street-categories}} template are added to Category:Streets.
Full syntax
Template with all parameters | Parameter | Description |
---|---|---|
{{street-categories |name= |neighborhoods= |origin-categories= |fate= |denominative= |is-content-page= }} |
name | The name of the street. If name is not specified, the article title will be used.
|
neighborhoods | A comma-separated list of neighborhoods through which the street runs. For a street in only one neighborhood, neighborhood can be used as a synonym. Streets that do not specify a value for the neighborhoods or neighborhood parameter will be added to Category:Streets with no neighborhoods specified.
| |
origin-categories | One or more categories corresponding to the origin of the street's name. These should be subcategories of Category:Streets by origin of name. Give the categories in double brackets, and list multiple categories immediately after one another, with no spaces or punctuation between them. For example:
origin-categories=[[Category:Streets named for judges]][[Category:Streets named for mayors]] For a street with only one origin category, | |
fate | If the fate parameter is specified and nonempty, the street will be added to Category:Streets that no longer exist.
| |
denominative | The denominative for the street (e.g., street , avenue , or boulevard ). If this parameter is not specified, the last word of the page title (after stripping the disambiguator, if any) will be used. The special value none can be used to indicate that the street has no denominative (e.g., West Commons).
| |
is-content-page | If this is set to a nonempty value, the page will be added to Category:Streets (excluding redirects). The {{street}} template sets this parameter; it should probably not be set in other cases. |
See also
- {{street}}, to create an infobox