Template:Infobox shopping mall
| This template is used on approximately 3,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| This template adds an automatically generated short description. If the automatic short description is not desired, override it by adding {{Short description}} at the top of the article. |
| This template uses Lua: |
This template can be used to provide at-a-glance comparative information for shopping malls (shopping centres).
Usage
| {{{native_name}}} | |
| [[File:{{{logo}}}|frameless|alt={{{logo_alt}}}|upright=.5|class=notpageimage]] | |
| [[File:{{{image}}}|frameless|alt={{{image_alt}}}|upright=1|class=pageimage]] {{{caption}}} | |
| <mapframe zoom="10" frameless="1" align="center" longitude="4.56" latitude="12.3" height="200" width="250">{"type":"Feature","geometry":{"coordinates":[4.56,12.3],"type":"Point"},"properties":{"marker-color":"#5E74F3","title":"Infobox shopping mall","marker-symbol":"shop"}}</mapframe> {{{mapframe-caption}}} | |
| Location | {{{location}}} |
|---|---|
| Address | {{{address}}} |
| Opened | {{{opened}}} |
| Renovated | {{{renovated}}} |
| Closed | {{{closed}}} |
| Demolished | {{{demolished}}} |
Previous names | {{{previous_names}}} |
| Developer | {{{developer}}} |
| Manager | {{{manager}}} |
| Owner | {{{owner}}} |
| Architect | {{{architect}}} |
| Num. of stores | {{{number_of_stores}}} |
Num. of anchor tenants | {{{number_of_anchors}}} |
| Floor area | {{{floor_area}}} |
| Floors | {{{floors}}} |
| Parking | {{{parking}}} |
Public transit | {{{public_transit}}} |
| Website | {{{website}}} |
| {{{module}}} | |
| {{{footnotes}}} | |
{{Infobox shopping mall
| name =
| native_name =
| native_name_lang =
| logo =
| logo_alt =
| logo_size =
| logo_upright =
| image =
| image_alt =
| image_size =
| image_upright =
| caption =
| location =
| coordinates = <!-- {{Coord|}} -->
| address =
| opened =
| renovated =
| closed =
| demolished =
| previous_names =
| developer =
| manager =
| owner =
| architect =
| number_of_stores =
| number_of_anchors =
| floor_area =
| floors =
| parking =
| public_transit =
| website =
| footnotes =
| module =
}}
Parameters
| Field Name | Required | Description | Values |
|---|---|---|---|
| name | yes | Name of the shopping centre. Defaults to the page name. | wikitext |
| native_name | no | Name of the shopping centre in the native language | wikitext |
| native_name_lang | no | ISO 639 code for the language of the native name | E.g. fr
|
| embed | no | Set to yes when this infobox is embedded in another infobox |
yes
|
| logo | no | Logo of the shopping centre | filename |
| logo_alt | no | Alt text for the logo. Defaults to "<name> logo" | text |
| logo_size | no | Size of the logo | E.g. 150px
|
| logo_upright | no | Scaling factor for the logo. Defaults to 0.5 | E.g. 0.7
|
| image | no | Image of the shopping centre | filename |
| image_alt | no | Alt text for the image | text |
| image_size | no | Size of the image | E.g. 250px
|
| image_upright | no | Scaling factor for the image. Defaults to 1 | E.g. 1.2
|
| caption | no | Caption for image | wikitext (can contain links) |
| location | no | Location of the shopping centre | wikitext (can contain links) E.g., [[Sydney]], New South Wales, Australia |
| coordinates | no | Geographic coordinates of location | Use {{coord}} with display=inline,title. |
| address | no | Street address | wikitext (can contain links) |
| opened | no | Date the centre opened (shown as "Opened") | E.g.; 25 January 2007 |
| renovated | no | Date(s) of renovation (shown as "Renovated") | E.g.; 25 January 2007 |
| closed | no | Date the centre closed (shown as "Closed") | E.g.; 25 January 2007 |
| demolished | no | Date the building was demolished (shown as "Demolished") | E.g.; 25 January 2007 |
| previous_names | no | Former names of the centre | wikitext |
| developer | no | Name of original centre developer | wikitext (can contain links) |
| manager | no | Name of current centre manager (shown as "Manager") | wikitext (can contain links) |
| owner | no | Name(s) of current owner(s) | wikitext (can contain links) |
| architect | no | Name(s) of architect(s) | wikitext (can contain links) |
| number_of_stores | no | Number of stores expressed as a numerical value (shown as "Number of stores") | |
| number_of_anchors | no | Number of anchor tenants expressed as a numerical value (must be sourced, as per WP:TENANTS) (shown as "Number of anchor tenants") | |
| floor_area | no | Gross leasable area of the centre | For best practice, use {{convert}} in this field. |
| floors | no | Number of floors expressed as a numerical value | |
| parking | no | Number of parking bays expressed as a numerical value, or e.g. 0 (valet only). | Mixed or unusual parking types covered/uncovered, underground, municipal lot, paid & validated, etc. are explained in the article body. |
| public_transit | no | The nearest public transport stop | [[Roosevelt/State (CTA)|Roosevelt Station]], [[Chicago Transit Authority]] |
| website | no | URL | {{URL|url.com.au}} |
| footnotes | no | Footnotes and citations for information within infobox | wikitext (can contain links) |
| module | no | An infobox to embed (see Wikipedia:WikiProject Infoboxes/embed) | an infobox template |
Mapframe maps
A Mapframe map is automatically included if:
- There are coordinates specified on the page's Wikidata item
- It has not been turned off by setting
|mapframe=no
- Basic {{Infobox mapframe}} parameters:
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: yes
- Internal onByDefault parameter: not specified
- mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g.
|coord=. Default: coordinates from Wikidata d:Property:P625{{Coord|12.34|N|56.78|E}} - mapframe-caption – Caption for the map. Default: blank (or if
|mapframe-geomask=is set, "Location in geomask's label") - mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a
{{maplink}}template, or another template that generates a mapframe map, or an image name. If used, most mapframe parameters will be ignored. Default: not specified - mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
- mapframe-wikidata – Set to yes to show all shape/line features from OpenStreetMap. Default: not specified
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: yes
- Customise which features are displayed:
- mapframe-point – Turn off display of point feature by setting to none. Force point marker to be displayed by setting to on. Default: not specified
- mapframe-shape – Turn off display of shape feature by setting to none. Force display of shape by setting to on. Use an inverse shape (geomask) instead of a regular shape by setting to inverse. Default: not specified
- mapframe-line – Turn off display of line feature by setting to none. Force display of line by setting to on. Default: not specified
- mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for (P17), P131 for (P131)). Default: not specified
- mapframe-switcher – set to auto or geomasks or zooms to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
- auto – switch geomasks found in (P276) and (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.
- geomasks – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
- zooms – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of 3), "zoomed out" is 1, and "zoomed midway" is the average
- Other optional parameters:
- mapframe-frame-width or mapframe-width – Frame width. Default: 270
- mapframe-frame-height or mapframe-height – Frame height. Default: 200
- mapframe-shape-fill – Color used to fill shape features. Default: #606060
- mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.1
- mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
- mapframe-line-stroke-color or mapframe-line-stroke-colour – Color of line features. Default: #ff0000
- mapframe-shape-stroke-color or mapframe-shape-stroke-colour – Color of outlines of shape features. Default: #ff0000
- mapframe-stroke-width – Width of line features, and outlines of shape features. Default: 2
- mapframe-shape-stroke-width – Width of outlines of shape features. Default: 2
- mapframe-line-stroke-width – Width of line features. Default: 5
- mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: not specified (i.e. blank)
- Can also be set to blank to override any default marker symbol
- mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
- mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
- mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 1
- mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
- mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.25
- mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: 10
- mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified / not specified / not specified / not specified
- mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
- mapframe-type – Set the type of the object, with the same usage as {{coord}}. Default: not specified
- mapframe-population – Set the population, useful with type="city", for {{Infobox dim}}. Default: not specified
Template data
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See a monthly parameter usage report for Template:Infobox shopping mall in articles based on its TemplateData.
TemplateData for Infobox shopping mall This template can be used to provide at-a-glance comparative information for [[shopping mall|shopping malls]] (shopping centres).
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||