Difference between revisions of "Template:Infobox shopping mall/doc"

From blackwiki
Jump to navigation Jump to search
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 ==
{{Infobox shopping mall
+
{{Parameter names example
| name              = {{{name}}}
+
| 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
| native_name        = {{{native_name}}}
 
| logo              = {{{logo}}}
 
| image             = {{{image}}}
 
| caption            = {{{caption}}}
 
| location           = {{{location}}}
 
| address            = {{{address}}}
 
| coordinates        = {{{coordinates}}}
 
| opening_date      = {{{opening_date}}}
 
| closing_date      = {{{closing_date}}}
 
| developer          = {{{developer}}}
 
| manager            = {{{manager}}}
 
| owner              = {{{owner}}}
 
| architect          = {{{architect}}}
 
| number_of_stores   = {{{number_of_stores}}}
 
| number_of_anchors  = {{{number_of_anchors}}}
 
| floor_area        = {{{floor_area}}}
 
| floors            = {{{floors}}}
 
| parking            = {{{parking}}}
 
| publictransit     = {{{publictransit}}}
 
| website           = {{{website}}}
 
| footnotes          = {{{footnotes}}}
 
| embedded          = {{{embedded}}}
 
 
}}
 
}}
  
 
<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>{{basepage subpage|
+
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
+
<!-- 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 template can be used to provide at-a-glance comparative information for shopping malls (shopping centres).

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

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox shopping mall

This template can be used to provide at-a-glance comparative information for [[shopping mall|shopping malls]] (shopping centres).

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of shopping centre

Unknownrequired
Native namenative_name

Name of the shopping centre in the native language

Unknownoptional
Language of native namenative_name_lang

ISO code for the language used in the native name field

Stringoptional
Logologo

Logo of the shopping centre

Fileoptional
Logo widthlogo_width

Width of logo as a numerical value

Unknownoptional
Imageimage

Image of the shopping centre

Fileoptional
Image widthimage_width

Width of image as a numerical value

Unknownoptional
Captioncaption

Caption for image

Unknownoptional
Locationlocation

Location of the shopping centre

Example
[[Joondalup, Western Australia]], [[Australia]]
Unknownoptional
Coordinatescoordinates

Geographic coordinates of location; use {{coord}} with display=inline,title.

Templateoptional
Addressaddress

Street address

Unknownoptional
Opening dateopening_date

Date of opening

Example
25 January 2007
Unknownoptional
Closing dateclosing_date

Date centre closed

Example
25 January 2007
Unknownoptional
Developerdeveloper

Name of original centre developer

Unknownoptional
Managermanager

Name of current centre manager

Unknownoptional
Ownerowner

Name(s) of current owner(s)

Unknownoptional
Architectarchitect

Name(s) of current architect(s)

Unknownoptional
Number of storesnumber_of_stores

Number of stores

Numberoptional
Number of anchorsnumber_of_anchors

Number of [[anchor store|anchor tenants]] (must be sourced, as per [[Wikipedia:ANC|WP:ANC]])

Numberoptional
Floor areafloor_area

[[Gross leasable area]] of the centre; for best practice, use {{convert}} in this field.

Numberoptional
Floorsfloors

Number of floors

Numberoptional
Parkingparking

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.

Numberoptional
Public transitpublictransit

The nearest public transport stop

Example
[[Roosevelt/State (CTA)|Roosevelt Station]], [[Chicago Transit Authority]]
Unknownoptional
Websitewebsite

URL

Example
{{URL|url.com.au}}
URLoptional
Footnotesfootnotes

Footnotes and citations for information within infobox

Unknownoptional
Embeddedembedded

An infobox to embed (see [[Wikipedia:WikiProject Infoboxes/embed]])

Templateoptional

Microformat

Template:UF-hcard-geo

Tracking category

See also