Jump to content

Template:Infobox casino/doc

From Inqubos Wiki
Revision as of 18:59, 3 October 2025 by imported>Jonesey95 (fix text color in dark mode; this generally works but may cause problems, in which case revert or try specifying a different CSS value)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{{name}}}
{{{native_name}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}]]
{{{logo_caption}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}]]
{{{image_caption}}}
Lua error in Module:Location_map at line 411: Malformed coordinates value.
Lua error in Module:Mapframe at line 382: Unable to get latitude from input '<strong class="error"><span class="scribunto-error mw-scribunto-error-6886ec16">Lua error: callParserFunction: function &quot;#coordinates&quot; was not found.</span></strong>'..
Location {{{location}}}
Address {{{address}}}
Opening date{{{date_opened}}}
Closing date{{{date_closed}}}
Demolished date{{{demolition_date}}}
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}}}
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
Public transit access{{{publictransit}}}
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.

Template parameters

ParameterDescriptionTypeStatus
embedembed

no description

Unknownoptional
casinocasino

no description

Unknownoptional
namename

no description

Unknownoptional
native_namenative_name

no description

Unknownoptional
logologo

no description

Unknownoptional
logo_sizelogo_size

no description

Unknownoptional
logo_altlogo_alt

no description

Unknownoptional
logo_captionlogo_caption

no description

Unknownoptional
imageimage

no description

Unknownoptional
image_sizeimage_size

no description

Unknownoptional
image_altimage_alt

no description

Unknownoptional
image_captionimage_caption

no description

Unknownoptional
captioncaption

no description

Unknownoptional
pushpin_mappushpin_map

no description

Unknownoptional
coordinatescoordinates

no description

Unknownoptional
pushpin_label_positionpushpin_label_position

no description

Unknownoptional
pushpin_map_altpushpin_map_alt

no description

Unknownoptional
pushpin_mapsizepushpin_mapsize

no description

Unknownoptional
pushpin_map_captionpushpin_map_caption

no description

Unknownoptional
map_captionmap_caption

no description

Unknownoptional
locationlocation

no description

Unknownoptional
addressaddress

no description

Unknownoptional
date_openeddate_opened

no description

Unknownoptional
date_closeddate_closed

no description

Unknownoptional
demolition_datedemolition_date demolition_date date_demolished demolished_date

no description

Stringoptional
themetheme

no description

Unknownoptional
roomsrooms

no description

Unknownoptional
space_gamingspace_gaming

no description

Unknownoptional
showsshows

no description

Unknownoptional
attractionsattractions

no description

Unknownoptional
notable_restaurantsnotable_restaurants

no description

Unknownoptional
casino_typecasino_type

no description

Unknownoptional
ownerowner

no description

Unknownoptional
license_holderlicense_holder

no description

Unknownoptional
architectarchitect

no description

Unknownoptional
names_prenames_pre

no description

Unknownoptional
renovationsrenovations

no description

Unknownoptional
coordinates_footnotescoordinates_footnotes

no description

Unknownoptional
publictransitpublictransit

no description

Unknownoptional
websitewebsite

no description

Unknownoptional
footnotesfootnotes

no description

Unknownoptional
nrhpnrhp

no description

Unknownoptional
embeddedembedded

no description

Unknownoptional
modulemodule

no description

Unknownoptional

Example

Bellagio
Photograph of the Bellagio casino, Las Vegas
Lua error in Module:Location_map at line 411: Malformed coordinates value.
Lua error in Module:Mapframe at line 382: Unable to get latitude from input '<strong class="error"><span class="scribunto-error mw-scribunto-error-e2bf66c5">Lua error: callParserFunction: function &quot;#coordinates&quot; was not found.</span></strong>'..
Location Paradise, Nevada
Address 3600 Las Vegas Boulevard South
Opening dateOctober 15, 1998
ThemeBellagio, Italy
No. of rooms3,933
Total gaming space116,000 sq ft (10,800 m2)
Permanent showsO by Cirque du Soleil
Signature attractions
  • Bellagio Gallery of Fine Art
  • Conservatory
  • The Fountains of Bellagio
  • The Bank Nightclub
Notable restaurants
Casino typeLand
OwnerMGM Mirage
ArchitectDeRuyter Butler and Atlandia Design
Renovated inBellagio Spa Tower, 2004, 2006-07
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
WebsiteBellagio.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

Required 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

For coordinates, use |coordinates= with the {{Coord}} template to display linked coordinates. Unless another value for type: is specified, type:landmark is automatically added.

Map

Mapframe map

A Mapframe map is automatically included if:

  • There are coordinates specified, either in the |coordinates= parameter or 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

  • Basic parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no, but also modified by onByDefault
      • Internal onByDefault parameter: yes
    • 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, the subsequent 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-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g. |coord={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata d:Property:P625
    • mapframe-wikidata – Set to yes to show shape/line features from the wikidata item, if any, when |coord= is set. Default: not specified
  • 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.5
    • mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
    • mapframe-stroke-width – Width of line features, and outlines of shape features. Default: 5
    • mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: casino
      • 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: 2
    • 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.5
    • 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: landmark
    • mapframe-population – Set the population, useful with type="city", for {{Infobox dim}}. Default: not specified


Pushpin map

To 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

See also