Difference between revisions of "Template:Infobox housing project/doc"

From blackwiki
Jump to navigation Jump to search
imported>Lord Bolingbroke
imported>Funandtrvl
(add navbox)
 
(5 intermediate revisions by 3 users not shown)
Line 97: Line 97:
 
==Parameters==
 
==Parameters==
 
All fields are optional:  
 
All fields are optional:  
* '''building name''' - the name of the building(s)
+
* '''building name''' the name of the building(s)
* '''image''' - an image of the building; this must be in wiki syntax (e.g. <tt><nowiki>[[Image:SomeFile.jpg|200px]]</nowiki></tt>)
+
* '''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''' - an optional text regarding the building (perhaps an interesting fact about the building could be put here). If a caption is not provided, the template will use the '''year_highest''' and '''year_end''' fields to create one.
+
* '''image_size''' – the size of the image in pixels (e.g. <code>200px</code>)
 
+
* '''alt''' – alt text for visually impaired readers; see [[WP:ALT]]
* '''location''' - the address (and at least the city) in which the building is located
+
* '''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.
**'''Major, international cities:''' [[Tokyo]] is okay, but [[Tokyo]], [[Japan]] is preferred unless it compromises stylistic appearance
+
* '''location''' the address (and at least the city) in which the housing project is located
**'''Major cities in well-known provinces:''' [[Toronto]], [[Ontario]], [[Canada]] is unnecessarily specific; [[Toronto]], [[Ontario]] or [[Toronto]], [[Canada]] preferred (although [[Toronto]] is okay)
+
**'''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 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]], [[United States|USA]] is not good either; [[Portland, Oregon|Portland]], [[Oregon]] (well-known state) or [[Portland, Oregon|Portland]], [[Oregon]], [[United States|USA]] preferred
+
**'''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"
+
* '''coordinates''' use {{tl|coord}} with "display=inline,title"
* '''status''' - this should often be left blank, as the template will attempt to either fill in ''Completed'', ''Under Construction'', ''Demolished'', ''Destroyed'', or ''Never Built''. To override the status added by the template, please assign something to this parameter
+
* '''status''' – the status of the housing project (e.g., ''Completed'', ''Proposed'', ''Under construction'', ''Demolished'', ''Destroyed'', or ''Never built'')
* '''constructed''' - the years in which the building was constructed (e.g. 1996-1999)
+
* '''units''' the number of [[housing unit]]s in the housing project
* '''demolished''' - the date in which the building was demolished
+
* '''constructed''' the year(s) in which the housing project was constructed (e.g. 1996–1999)
* '''governing body''' - the building management company
+
* '''demolished''' the date in which the housing project was demolished
* '''famous residents''' - famous (or infamous) people who have lived in the project
+
* '''governing body''' the housing project management agency or company
 +
* '''famous residents''' famous (or infamous) people who have lived in the housing project
  
 
== Tracking category ==
 
== Tracking category ==
 
* {{clc|Pages using infobox housing project with unknown parameters}}
 
* {{clc|Pages using infobox housing project with unknown parameters}}
 +
 +
{{Buildings and structures infobox templates}}
  
 
<includeonly>{{basepage subpage|
 
<includeonly>{{basepage subpage|
 
<!-- CATEGORIES HERE, THANKS -->
 
<!-- CATEGORIES HERE, THANKS -->
[[Category:Buildings and structures infobox templates|Housing project]]
+
[[Category:Buildings and structures infobox templates|Housing Project]]
 
[[Category:Infobox templates|Housing project]]
 
[[Category:Infobox templates|Housing project]]
 
[[Category:Templates with coordinates fields]]
 
[[Category:Templates with coordinates fields]]
 
[[Category:Templates that add a tracking category]]
 
[[Category:Templates that add a tracking category]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 17:08, 6 July 2020

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.jpg rather 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
  • 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