Difference between revisions of "Template:Infobox shopping mall/doc"
imported>Zyxw |
imported>Funandtrvl (add parameter names example and missing parameters) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| + | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | ||
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | ||
| Line 5: | Line 6: | ||
== Usage == | == Usage == | ||
| − | {{ | + | {{Parameter names example |
| − | | | + | | address | architect | caption | closing_date | coordinates | developer | embed | embedded | floor_area | floors | footnotes | image | image_alt | image_width | location | logo | logo_alt| logo_width | manager | name | native_name | native_name_lang | number_of_anchors | number_of_stores | opening_date | owner | parking | previous_names | publictransit | website | shopping_mall_name |
| − | | | ||
| − | | | ||
| − | | image | ||
| − | | | ||
| − | | location | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | number_of_stores | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | publictransit | ||
| − | | website | ||
| − | | | ||
| − | |||
}} | }} | ||
<pre style="overflow:auto"> | <pre style="overflow:auto"> | ||
{{Infobox shopping mall | {{Infobox shopping mall | ||
| − | | name = | + | | name = |
| − | | native_name = | + | | native_name = |
| − | | native_name_lang = | + | | native_name_lang = |
| − | | logo = | + | | logo = |
| − | | logo_width = | + | | logo_alt = |
| − | | image = | + | | logo_width = |
| − | | image_width = | + | | image = |
| − | | caption = | + | | image_alt = |
| − | | location = | + | | image_width = |
| − | | coordinates = | + | | caption = |
| − | | address = | + | | location = |
| − | | opening_date = | + | | coordinates = <!-- {{Coord|}} --> |
| − | | closing_date = | + | | address = |
| − | | developer = | + | | opening_date = |
| − | | manager = | + | | closing_date = |
| − | | owner = | + | | previous_names = |
| − | | architect = | + | | developer = |
| − | | number_of_stores = | + | | manager = |
| − | | number_of_anchors = | + | | owner = |
| − | | floor_area = | + | | architect = |
| − | | floors = | + | | number_of_stores = |
| − | | parking = | + | | number_of_anchors = |
| − | | publictransit = | + | | floor_area = |
| − | | website = | + | | floors = |
| − | | footnotes = | + | | parking = |
| − | | embedded = | + | | publictransit = |
| + | | website = | ||
| + | | footnotes = | ||
| + | | embedded = | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 288: | Line 270: | ||
{{Buildings and structures infobox templates}} | {{Buildings and structures infobox templates}} | ||
| − | <includeonly>{{ | + | <includeonly>{{sandbox other|| |
| − | <!-- Categories below this line | + | <!-- Categories below this line; interwikis at Wikidata --> |
[[Category:Shopping mall templates| ]] | [[Category:Shopping mall templates| ]] | ||
[[Category:Buildings and structures infobox templates|Shopping mall]] | [[Category:Buildings and structures infobox templates|Shopping mall]] | ||
Revision as of 00:01, 12 August 2020
| This is a documentation subpage for Template:Infobox shopping mall. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
This template can be used to provide at-a-glance comparative information for shopping malls (shopping centres).
Contents
Usage
Template:Parameter names example
{{Infobox shopping mall
| name =
| native_name =
| native_name_lang =
| logo =
| logo_alt =
| logo_width =
| image =
| image_alt =
| image_width =
| caption =
| location =
| coordinates = <!-- {{Coord|}} -->
| address =
| opening_date =
| closing_date =
| previous_names =
| developer =
| manager =
| owner =
| architect =
| number_of_stores =
| number_of_anchors =
| floor_area =
| floors =
| parking =
| publictransit =
| website =
| footnotes =
| embedded =
}}
Parameters
| Field Name | Required | Description | Values |
|---|---|---|---|
| name | yes | Name of shopping centre | wikitext |
| native_name | no | Name of the shopping centre in the native language | wikitext |
| native_name_lang | no | ISO code for the language used in the native name field | |
| logo | no | Logo of the shopping centre | filename |
| logo _width | no | Width of logo as a numerical value | |
| image | no | Image of the shopping centre | filename |
| image_width | no | Width of image as a numerical value | |
| caption | no | Caption for image | wikitext (can contain links) |
| location | no | Location of the shopping centre | wikitext (can contain links) E.g., [[Joondalup, Western Australia]], [[Australia]] |
| coordinates | no | Geographic coordinates of location | Use {{coord}} with display=inline,title. |
| address | no | Street address | wikitext (can contain links) |
| opening_date | no | Date of opening | E.g.; 25 January 2007 |
| closing_date | no | Date centre closed | E.g.; 25 January 2007 |
| developer | no | Name of original centre developer | wikitext (can contain links) |
| manager | no | Name of current centre manager | wikitext (can contain links) |
| owner | no | Name(s) of current owner(s) | wikitext (can contain links) |
| architect | no | Name(s) of current architect(s) | wikitext (can contain links) |
| number_of_stores | no | Number of stores expressed as a numerical value | |
| number_of_anchors | no | Number of anchor tenants expressed as a numerical value (must be sourced, as per WP:TENANTS) | |
| floor_area | no | Gross leasable area of the centre, expressed as a numerical value | 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. |
| publictransit | 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) |
| embedded | 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
The following optional parameters can then be used to adjust the map
|mapframe-zoom=zoom level (default is 10)|mapframe-width=and|mapframe-height=for the map size (defaults are 270 and 200)|mapframe-marker=for the marker icon (default is no marker icon)- either
|mapframe-marker-color=or|mapframe-marker-colour=for the marker colour (hex triplet, default is#5E74F3) |mapframe-caption=caption below the map|mapframe-lat=and|mapframe-long=(or|mapframe-latitude=and|mapframe-longitude=) – alternate initial latitude and longitude for the map, instead of the building's coordinates. Specify as a decimal number.
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).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of shopping centre | Unknown | required |
| Native name | native_name | Name of the shopping centre in the native language | Unknown | optional |
| Language of native name | native_name_lang | ISO code for the language used in the native name field | String | optional |
| Logo | logo | Logo of the shopping centre | File | optional |
| Logo width | logo_width | Width of logo as a numerical value | Unknown | optional |
| Image | image | Image of the shopping centre | File | optional |
| Image width | image_width | Width of image as a numerical value | Unknown | optional |
| Caption | caption | Caption for image | Unknown | optional |
| Location | location | Location of the shopping centre
| Unknown | optional |
| Coordinates | coordinates | Geographic coordinates of location; use {{coord}} with display=inline,title. | Template | optional |
| Address | address | Street address | Unknown | optional |
| Opening date | opening_date | Date of opening
| Unknown | optional |
| Closing date | closing_date | Date centre closed
| Unknown | optional |
| Developer | developer | Name of original centre developer | Unknown | optional |
| Manager | manager | Name of current centre manager | Unknown | optional |
| Owner | owner | Name(s) of current owner(s) | Unknown | optional |
| Architect | architect | Name(s) of current architect(s) | Unknown | optional |
| Number of stores | number_of_stores | Number of stores | Number | optional |
| Number of anchors | number_of_anchors | Number of [[anchor store|anchor tenants]] (must be sourced, as per [[Wikipedia:ANC|WP:ANC]]) | Number | optional |
| Floor area | floor_area | [[Gross leasable area]] of the centre; for best practice, use {{convert}} in this field. | Number | optional |
| Floors | floors | Number of floors | Number | optional |
| Parking | parking | Number of parking bays, or 0 (valet only). Mixed or unusual parking types covered/uncovered, underground, municipal lot, paid & validated, etc. are explained in the article body. | Number | optional |
| Public transit | publictransit | The nearest public transport stop
| Unknown | optional |
| Website | website | URL
| URL | optional |
| Footnotes | footnotes | Footnotes and citations for information within infobox | Unknown | optional |
| Embedded | embedded | An infobox to embed (see [[Wikipedia:WikiProject Infoboxes/embed]]) | Template | optional |
Microformat
Tracking category
See also