Difference between revisions of "Template:Infobox housing project/sandbox"
Jump to navigation
Jump to search
imported>Lord Bolingbroke (revise) |
imported>Trialpears (Syncing sandbox code with main template (sync-template-sandbox.js)) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 3: | Line 3: | ||
| above = {{{building name|<includeonly>{{BASEPAGENAME}}</includeonly>}}} | | above = {{{building name|<includeonly>{{BASEPAGENAME}}</includeonly>}}} | ||
| aboveclass = fn org | | aboveclass = fn org | ||
| − | | | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}} |
| − | | | + | | caption = {{{caption|{{{image_caption|}}}}}} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| label1 = Location | | label1 = Location | ||
| data1 = {{{location|}}} | | data1 = {{{location|}}} | ||
| Line 42: | Line 11: | ||
| data2 = {{{coordinates|}}} | | data2 = {{{coordinates|}}} | ||
| label3 = Status | | label3 = Status | ||
| − | | data3 = | + | | data3 = {{{status|}}} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| label4 = Category | | label4 = Category | ||
| data4 = {{{category|}}} | | data4 = {{{category|}}} | ||
Latest revision as of 00:31, 26 August 2019
| This is the template sandbox page for Template:Infobox housing project (diff). See also the companion subpage for test cases. |
| 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
| The above documentation is transcluded from Template:Infobox housing project/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |