Difference between revisions of "Template:Infobox housing project/doc"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Funandtrvl (add navbox) |
||
| (10 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- PLEASE ADD CATEGORIES | + | <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> |
| + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | ||
| + | __TOC__ | ||
| − | == | + | ==Usage== |
| − | <pre>{{Infobox housing project | + | {{Infobox housing project |
| + | | building name = {{{building name}}} | ||
| + | | image = {{{image}}} | ||
| + | | image_size = {{{image_size}}} | ||
| + | | alt = {{{alt}}} | ||
| + | | caption = {{{caption}}} | ||
| + | | image_caption = {{{image_caption}}} | ||
| + | | location = {{{location}}} | ||
| + | | coordinates = {{{coordinates}}} | ||
| + | | status = {{{status}}} | ||
| + | | category = {{{category}}} | ||
| + | | demolished = {{{demolished}}} | ||
| + | | area = {{{area}}} | ||
| + | | population date = {{{population date}}} | ||
| + | | population = {{{population}}} | ||
| + | | blocknumber = {{{blocknumber}}} | ||
| + | | units = {{{units}}} | ||
| + | | density = {{{density}}} | ||
| + | | built = {{{built}}} | ||
| + | | construction period = {{{construction period}}} | ||
| + | | constructed = {{{constructed}}} | ||
| + | | construction architect = {{{construction architect}}} | ||
| + | | construction contractors = {{{construction contractors}}} | ||
| + | | construction style = {{{construction style}}} | ||
| + | | construction date = {{{construction date}}} | ||
| + | | construction authority = {{{construction authority}}} | ||
| + | | construction influence = {{{construction influence}}} | ||
| + | | refurbishment architect = {{{refurbishment architect}}} | ||
| + | | refurbishment contractors = {{{refurbishment contractors}}} | ||
| + | | refurbishment style = {{{refurbishment style}}} | ||
| + | | refurbishment method = {{{refurbishment method}}} | ||
| + | | refurbishment image = {{{refurbishment image}}} | ||
| + | | refurbishment caption = {{{refurbishment caption}}} | ||
| + | | refurbishment proposal date = {{{refurbishment proposal date}}} | ||
| + | | refurbishment units = {{{refurbishment units}}} | ||
| + | | refurbished = {{{refurbished}}} | ||
| + | | refurbishment authority = {{{refurbishment authority}}} | ||
| + | | listing date = {{{listing date}}} | ||
| + | | listing type = {{{listing type}}} | ||
| + | | succession = {{{succession}}} | ||
| + | | governing body = {{{governing body}}} | ||
| + | | famous residents = {{{famous residents}}} | ||
| + | }} | ||
| + | |||
| + | <pre style="overflow:auto"> | ||
| + | {{Infobox housing project | ||
| building name = | | building name = | ||
| image = | | image = | ||
| Line 13: | Line 60: | ||
| coordinates = | | coordinates = | ||
| status = | | status = | ||
| + | | category = | ||
| demolished = | | demolished = | ||
| area = | | area = | ||
| population date = | | population date = | ||
| population = | | population = | ||
| + | | blocknumber = | ||
| units = | | units = | ||
| density = | | density = | ||
| Line 43: | Line 92: | ||
| governing body = | | governing body = | ||
| famous residents = | | famous residents = | ||
| − | }}</pre> | + | }} |
| + | </pre> | ||
| + | |||
| + | ==Parameters== | ||
All fields are optional: | All fields are optional: | ||
| − | * '''building name''' | + | * '''building name''' – the name of the building(s) |
| − | * '''image''' | + | * '''image''' – an image of the housing project; provide the image name without wikimarkup (e.g. <code>SomeFile.jpg</code> rather than <code><nowiki>[[Image:SomeFile.jpg|200px]]</nowiki></code>) |
| − | * '''caption''' | + | * '''image_size''' – the size of the image in pixels (e.g. <code>200px</code>) |
| + | * '''alt''' – alt text for visually impaired readers; see [[WP:ALT]] | ||
| + | * '''caption''' – an optional text regarding the image; see [[WP:CAPTION]]. If a caption is not provided, the template will use the '''year_highest''' and '''year_end''' fields to create one. | ||
| + | * '''location''' – the address (and at least the city) in which the housing project is located | ||
| + | **'''Major, international cities:''' [[Tokyo]] is okay, but [[Tokyo]], Japan is preferred unless it compromises stylistic appearance | ||
| + | **'''Major cities in well-known provinces:''' [[Toronto]], [[Ontario]], Canada is unnecessarily specific; [[Toronto]], [[Ontario]] or [[Toronto]], Canada preferred (although [[Toronto]] is okay) | ||
| + | **'''Cities with relative international anonymity:''' [[Beslan]] is not good due to the city's relative anonymity; [[Beslan]], [[Russia]] is preferred, [[Beslan]], [[North Ossetia–Alania]] discouraged, [[Beslan]], [[Russia]], [[North Ossetia–Alania]] unnecessarily specific | ||
| + | **'''Cities with common names:''' [[Portland, Oregon|Portland]] is not good; [[Portland, Oregon|Portland]], US is not good either; [[Portland, Oregon]] (well-known state) or [[Portland, Oregon]], US preferred | ||
| + | * '''coordinates''' – use {{tl|coord}} with "display=inline,title" | ||
| + | * '''status''' – the status of the housing project (e.g., ''Completed'', ''Proposed'', ''Under construction'', ''Demolished'', ''Destroyed'', or ''Never built'') | ||
| + | * '''units''' – the number of [[housing unit]]s in the housing project | ||
| + | * '''constructed''' – the year(s) in which the housing project was constructed (e.g. 1996–1999) | ||
| + | * '''demolished''' – the date in which the housing project was demolished | ||
| + | * '''governing body''' – the housing project management agency or company | ||
| + | * '''famous residents''' – famous (or infamous) people who have lived in the housing project | ||
| − | + | == Tracking category == | |
| − | + | * {{clc|Pages using infobox housing project with unknown parameters}} | |
| − | + | ||
| − | + | {{Buildings and structures infobox templates}} | |
| − | |||
| − | * | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </includeonly> | + | <includeonly>{{basepage subpage| |
| + | <!-- CATEGORIES HERE, THANKS --> | ||
| + | [[Category:Buildings and structures infobox templates|Housing Project]] | ||
| + | [[Category:Infobox templates|Housing project]] | ||
| + | [[Category:Templates with coordinates fields]] | ||
| + | [[Category:Templates that add a tracking category]] | ||
| + | }}</includeonly> | ||
Latest revision as of 17:08, 6 July 2020
| This is a documentation subpage for Template:Infobox housing project. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Contents
Usage
| {{{building name}}} | |
|---|---|
| [[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|{{{alt}}}]] {{{caption}}} | |
| General information | |
| Location | {{{location}}} |
| Coordinates | {{{coordinates}}} |
| Status | {{{status}}} |
| Category | {{{category}}} |
| Area | {{{area}}} |
| Population | {{{population}}} ({{{population date}}}) |
| No. of blocks | {{{blocknumber}}} |
| No. of flats | {{{units}}} |
| Density | {{{density}}} |
| Construction | |
| Constructed | {{{built}}} |
| Constructed | {{{construction date}}} |
| Architect | {{{construction architect}}} |
| Contractors | {{{construction contractors}}} |
| Authority | {{{construction authority}}} |
| Style | {{{construction style}}} |
| Influence | {{{construction influence}}} |
| Refurbishment | |
| [[File:{{{refurbishment image}}}|frameless]] {{{refurbishment caption}}} | |
| Proposed in | {{{refurbishment proposal date}}} |
| Proposed action | {{{refurbishment method}}} |
| Units | {{{refurbishment units}}} |
| Refurbished | {{{refurbished}}} |
| Architect | {{{refurbishment architect}}} |
| Contractor | {{{refurbishment contractors}}} |
| Directing authority | {{{refurbishment authority}}} |
| Influence | {{{refurbishment style}}} |
| Listing | |
| Listed | {{{listing date}}} |
| Listed as | {{{listing type}}} |
| Demolished | {{{demolished}}} |
| Replaced by | {{{succession}}} |
| Other information | |
| Governing body | {{{governing body}}} |
| Famous residents | {{{famous residents}}} |
{{Infobox housing project
| building name =
| image =
| image_size =
| alt =
| caption =
| image_caption =
| location =
| coordinates =
| status =
| category =
| demolished =
| area =
| population date =
| population =
| blocknumber =
| units =
| density =
| built =
| construction period =
| constructed =
| construction architect =
| construction contractors =
| construction style =
| construction date =
| construction authority =
| construction influence =
| refurbishment architect =
| refurbishment contractors =
| refurbishment style =
| refurbishment method =
| refurbishment image =
| refurbishment caption =
| refurbishment proposal date =
| refurbishment units =
| refurbished =
| refurbishment authority =
| listing date =
| listing type =
| succession =
| governing body =
| famous residents =
}}
Parameters
All fields are optional:
- building name – the name of the building(s)
- image – an image of the housing project; provide the image name without wikimarkup (e.g.
SomeFile.jpgrather than[[Image:SomeFile.jpg|200px]]) - image_size – the size of the image in pixels (e.g.
200px) - alt – alt text for visually impaired readers; see WP:ALT
- caption – an optional text regarding the image; see WP:CAPTION. If a caption is not provided, the template will use the year_highest and year_end fields to create one.
- location – the address (and at least the city) in which the housing project is located
- Major, international cities: Tokyo is okay, but Tokyo, Japan is preferred unless it compromises stylistic appearance
- Major cities in well-known provinces: Toronto, Ontario, Canada is unnecessarily specific; Toronto, Ontario or Toronto, Canada preferred (although Toronto is okay)
- Cities with relative international anonymity: Beslan is not good due to the city's relative anonymity; Beslan, Russia is preferred, Beslan, North Ossetia–Alania discouraged, Beslan, Russia, North Ossetia–Alania unnecessarily specific
- Cities with common names: Portland is not good; Portland, US is not good either; Portland, Oregon (well-known state) or Portland, Oregon, US preferred
- coordinates – use {{coord}} with "display=inline,title"
- status – the status of the housing project (e.g., Completed, Proposed, Under construction, Demolished, Destroyed, or Never built)
- units – the number of housing units in the housing project
- constructed – the year(s) in which the housing project was constructed (e.g. 1996–1999)
- demolished – the date in which the housing project was demolished
- governing body – the housing project management agency or company
- famous residents – famous (or infamous) people who have lived in the housing project
Tracking category