This is the template sandbox page for Template:Infobox casino (diff). See also the companion subpage for test cases. |
This template uses Lua: |
Usage
edit{{{name}}} | |
---|---|
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}]] | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}]] | |
Location | {{{location}}} |
Address | {{{address}}} |
Opening date | {{{date_opened}}} |
Closing date | {{{date_closed}}} |
Theme | {{{theme}}} |
No. of rooms | {{{rooms}}} |
Total gaming space | {{{space_gaming}}} |
Permanent shows | {{{shows}}} |
Signature attractions | {{{attractions}}} |
Notable restaurants | {{{notable_restaurants}}} |
Casino type | {{{casino_type}}} |
Owner | {{{owner}}} |
Operating license holder | {{{license_holder}}} |
Architect | {{{architect}}} |
Previous names | {{{names_pre}}} |
Renovated in | {{{renovations}}} |
Coordinates | 0°N 0°E / 0°N 0°E |
Website | {{{website}}} |
{{{footnotes}}} | |
{{{embedded}}} |
Copy and paste the following at the start of the casino article:
{{Infobox casino
| name =
| native_name =
| logo =
| logo_size =
| logo_alt =
| logo_caption =
| image =
| image_size =
| image_alt =
| image_caption =
| pushpin_map =
| pushpin_mapsize =
| pushpin_map_alt =
| pushpin_map_caption =
| pushpin_label_position =
| coordinates = <!-- {{Coord}} -->
| location =
| address =
| date_opened = <!-- {{start date|yyyy|mm|dd}} -->
| date_closed = <!-- {{End date|yyyy|mm|dd}} -->>
| demolition_date =
| theme =
| rooms =
| space_gaming = <!-- {{convert}} -->
| shows =
| attractions =
| notable_restaurants =
| casino_type =
| owner =
| license_holder = <!-- Use only if different from owner -->
| architect =
| names_pre = <!-- (previous names) -->
| renovations =
| publictransit =
| website =
| footnotes =
| embedded =
}}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
embed | embed | no description | Unknown | optional |
casino | casino | no description | Unknown | optional |
name | name | no description | Unknown | optional |
native_name | native_name | no description | Unknown | optional |
logo | logo | no description | Unknown | optional |
logo_size | logo_size | no description | Unknown | optional |
logo_alt | logo_alt | no description | Unknown | optional |
logo_caption | logo_caption | no description | Unknown | optional |
image | image | no description | Unknown | optional |
image_size | image_size | no description | Unknown | optional |
image_alt | image_alt | no description | Unknown | optional |
image_caption | image_caption | no description | Unknown | optional |
caption | caption | no description | Unknown | optional |
pushpin_map | pushpin_map | no description | Unknown | optional |
coordinates | coordinates | no description | Unknown | optional |
pushpin_label_position | pushpin_label_position | no description | Unknown | optional |
pushpin_map_alt | pushpin_map_alt | no description | Unknown | optional |
pushpin_mapsize | pushpin_mapsize | no description | Unknown | optional |
pushpin_map_caption | pushpin_map_caption | no description | Unknown | optional |
map_caption | map_caption | no description | Unknown | optional |
location | location | no description | Unknown | optional |
address | address | no description | Unknown | optional |
date_opened | date_opened | no description | Unknown | optional |
date_closed | date_closed | no description | Unknown | optional |
demolition_date | demolition_date demolition_date date_demolished demolished_date | no description | String | optional |
theme | theme | no description | Unknown | optional |
rooms | rooms | no description | Unknown | optional |
space_gaming | space_gaming | no description | Unknown | optional |
shows | shows | no description | Unknown | optional |
attractions | attractions | no description | Unknown | optional |
notable_restaurants | notable_restaurants | no description | Unknown | optional |
casino_type | casino_type | no description | Unknown | optional |
owner | owner | no description | Unknown | optional |
license_holder | license_holder | no description | Unknown | optional |
architect | architect | no description | Unknown | optional |
names_pre | names_pre | no description | Unknown | optional |
renovations | renovations | no description | Unknown | optional |
coordinates_footnotes | coordinates_footnotes | no description | Unknown | optional |
publictransit | publictransit | no description | Unknown | optional |
website | website | no description | Unknown | optional |
footnotes | footnotes | no description | Unknown | optional |
nrhp | nrhp | no description | Unknown | optional |
embedded | embedded | no description | Unknown | optional |
module | module | no description | Unknown | optional |
Example
editBellagio | |
---|---|
Location | Paradise, Nevada |
Address | 3600 Las Vegas Boulevard South |
Opening date | October 15, 1998 |
Theme | Bellagio, Italy |
No. of rooms | 3,933 |
Total gaming space | 116,000 sq ft (10,800 m2) |
Permanent shows | O by Cirque du Soleil |
Signature attractions |
|
Notable restaurants | |
Casino type | Land |
Owner | MGM Mirage |
Architect | DeRuyter Butler and Atlandia Design |
Renovated in | Bellagio Spa Tower, 2004, 2006-07 |
Coordinates | 36°06′47″N 115°10′35″W / 36.11306°N 115.17639°W |
Website | Bellagio.com |
For the Bellagio (resort):
{{Infobox casino
| name = Bellagio
| logo = | logo_size = | logo_alt = | logo_caption =
| image = Bellagio2010.JPG
| image_size = 250
| image_alt = Photograph of the Bellagio casino, Las Vegas
| image_caption =
| pushpin_map = United States Las Vegas Strip
| pushpin_mapsize =
| pushpin_map_alt = Map showing location of Bellagio Las Vegas on the Las Vegas Strip
| pushpin_map_caption = Location within Downtown Las Vegas
| pushpin_label_position = right
| coordinates = {{coord|36|06|47|N|115|10|35|W|region:US-NV_type:landmark|display=inline}}
| location = [[Paradise, Nevada|Paradise]], [[Nevada]]
| address = 3600 [[Las Vegas Boulevard]] South
| date_opened = October 15, 1998
| date_closed =
| theme = [[Bellagio, Italy]]
| rooms = 3,933
| space_gaming = {{convert|116000|sqft|m2|abbr=on}}
| shows = ''[[O (Cirque du Soleil)|O]]'' by [[Cirque du Soleil]]
| attractions = {{hlist |Bellagio Gallery of Fine Art |Conservatory |''The Fountains of Bellagio'' |''The Bank Nightclub''}}
| notable_restaurants = {{hlist |''[[Le Cirque (Las Vegas)|Le Cirque]]'' |''Circo'' |''[[Picasso]]'' |''Michael Mina'' |''Jasmine'' |''Jean-Georges' Prime'' |''Olives'' |''Sensi''}}
| casino_type = Land
| owner = [[MGM Mirage]]
| architect = DeRuyter Butler and Atlandia Design
| names_pre =
| renovations = Bellagio Spa Tower, 2004, 2006-07
| website = {{URL|www.bellagio.com|Bellagio.com}}
| footnotes =
}}
Parameter descriptions
editRequired parameters are shown in bold italics.
Field | Description | Values |
name | Name of the casino | wikitext (can contain links) |
logo | Image of the shopping centre | filename |
logo_size | Width of image as a numerical value (omit "px" suffix) | |
logo_alt | Alternative text for the logo | text |
logo_caption | Caption for image (usually blank) | wikitext (can contain links) |
image | Image of the casino | filename |
image_size | Width of image as a numerical value (omit "px" suffix) | |
image_alt | Alternative text for the image | text |
image_caption | Caption for image | wikitext (can contain links) |
pushpin_map | Name of a {{Location map}} | see note below |
pushpin_mapsize | Width of Location map as a numerical value (omit "px" suffix) | |
pushpin_map_alt | Alternative text for Location map | text |
pushpin_map_caption | Caption for Location map | wikitext (can contain links) |
pushpin_label_position | Location of the pushpin label | none, left, right, top, bottom |
coordinates | Geographic coordinates of location | see note below |
location | Location of the casino | wikitext (can contain links) e.g. [[Joondalup, Western Australia]], [[Australia]] |
address | Address of the casino | wikitext (can contain links) |
date_opened | Date of opening | e.g. 25 January 2007 |
date_closed | Date casino closed | e.g. 25 January 2007 |
theme | Current theme of casino | wikitext (can contain links) |
rooms | Number of rooms expressed as a numerical value | |
space_gaming | Total gaming space of the casino, expressed as a numerical value | (for best practice, use {{convert}}) |
shows | Names of notable shows at the casino | |
attractions | Names of notable attractions at the casino | |
notable_restaurants | Names of notable restaurants at the casino | |
casino_type | The type of casino, such as "Land-based", "Riverboat", "Racino", etc. | |
owner | Name/s of current owner/s | wikitext (can contain links) |
license_holder | Name of license holder if not the owner of the property | wikitext (can contain links) |
architect | Name/s of current architect/s | wikitext (can contain links) |
names_pre | Previous names of the casino | e.g. Harrahs, Adelaide Casino |
renovations | Years of key renovations undertaken on the casino | |
publictransit | Information on nearby public transit options | |
website | Casino's website URL | e.g. [http://www.url.com.au url.com.au] |
footnotes | Footnotes and citations for information within infobox | wikitext (can contain links) |
embedded | Embed another infobox with such capability like {{designation list}} and {{infobox NRHP}} |
Coordinates
editFor coordinates, use |coordinates=
with the {{Coord}} template to display linked coordinates. Unless another value for type:
is specified, type:landmark
is automatically added.
Map
editMapframe map
editA Mapframe map is automatically included if:
- There are coordinates specified on the page's Wikidata item
- It has not be 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 icon)- either
|mapframe-marker-color=
or|mapframe-marker-colour=
for the marker colour (hex triplet, default is#5E74F3
) - either
|mapframe-stroke-color=
or|mapframe-stroke-colour=
for the stroke colour (hex triplet, default is#FF0000
) |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 casino's coordinates. Specify as a decimal number.
Pushpin map
editTo add a {{Location map}}, specify which map to use with the pushpin_map =
parameter.
To add a label next to the pushpin, use pushpin_label_position =
, with a value of top, bottom, left, or right. The default value is none.
Tracking categories
edit- Category:Pages using infobox casino with unknown parameters (0)
- Category:Pages using infobox casino with embed option (5)