Template:Infobox shopping mall/doc

From Wikipedia, the free encyclopedia

This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.
{{{shopping_mall_name}}}
[[Image:{{{image}}}|{{{image_width}}}px| {{{caption}}} ]]
{{{caption}}}
Facts and statistics
Location {{{location}}}
Coordinates {{{coordinates}}}
Address {{{address}}}
Opening date {{{opening_date}}}
Closing date {{{closing_date}}}
Developer {{{developer}}}
Management {{{manager}}}
Owner {{{owner}}}
Architect {{{architect}}}
No. of stores and services {{{number_of_stores}}}
No. of anchor tenants {{{number_of_anchors}}}
Total retail floor area {{{floor_area}}}
Parking {{{parking}}}
No. of floors {{{floors}}}
Website {{{website}}}
Footnotes
{{{footnotes}}}

[edit] Usage

Copy and paste the following into the top of the article.

{{Infobox shopping mall
  | shopping_mall_name  = 
  | image               = 
  | image_width         = 
  | caption             = 
  | location            = 
  | address             = 
  | coordinates         = 
  | opening_date        = 
  | closing_date        = 
  | developer           = 
  | manager             = 
  | owner               = 
  | architect           = 
  | number_of_stores    = 
  | number_of_anchors   = 
  | floor_area          = 
  | floors              = 
  | parking             =
  | website             =
  | footnotes           =
}}

[edit] Template fields

Field Name Required Description Values
shopping_mall_name yes Name of shopping centre wikitext (can contain links)
image no Image of the shopping centre filename
image_width no Width of image as a numerical value (without px on the end)
caption no Caption for image wikitext (can contain links)
location no Location of the shopping centre wikitext (can contain links) Eg;[[Joondalup, Western Australia]], [[Australia]]
coordinates no Geographic coordinates of location Use {{coord}} with display=inline,title.
opening_date no Date of opening Eg; [[25 January]] [[2007]]
closing_date no Date centre closed Eg; [[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:ANC)
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
website no URL [http://www.url.com.au url.com.au]
footnotes no Footnotes and citations for information within infobox wikitext (can contain links)

[edit] Microformat

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

hCard uses HTML classes including:

  • "adr"
  • "county-name"
  • "fn"
  • "label"
  • "locality"
  • "nickname"
  • "note"
  • "org"
  • "region"
  • "street-address"
  • "vcard"

Geo is produced by calling {{coord}}, and uses HTML classes:

  • "geo"
  • "latitude"
  • "longitude"

Please do not rename or remove these classes.

When giving coordinates, please don't be overly precise.