Template:Infobox venue: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
(add maplink!)
No edit summary
Line 36: Line 36:
| data2 = {{{address|}}}
| data2 = {{{address|}}}
| label3 = Coordinates
| label3 = Coordinates
| data3 = {{#if:{{{lat|}}}|{{#if:{{{lng|}}}|{{#tag:maplink|{"type": "Feature", "geometry": { "type": "Point", "coordinates": [{{{lng}}}, {{{lat}}}] } }|zoom=15|latitude={{{lat}}}|longitude={{{lng}}}}}}}}}
| data3 = {{#if:{{{lat|}}}|{{#if:{{{lng|}}}|{{maplink single|{{{lat}}}|{{{lng}}}}}}}}}
| label4 = Address
| label4 = Address
| data4 = {{#if:{{{location|}}}|{{#if:{{{street_address|}}}|{{{street_address}}}<br/>}}{{{location}}}}}
| data4 = {{#if:{{{location|}}}|{{#if:{{{street_address|}}}|{{{street_address}}}<br/>}}{{{location}}}}}

Revision as of 21:45, 29 December 2020

This template defines the table "venues". View table.

Infobox venue

No description.

[Edit template data]

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename

no description

Default
{{PAGENAME}}
Stringoptional
Imageimage

no description

Filesuggested
Street addressstreet_address

Street address, excluding city, state/province, country

Stringsuggested
Former namesformer_names

Comma-separated list

Unknownsuggested
City, state/province, countrylocation

Country must be the official ISO 2-letter country code

Stringsuggested
Image captioncaption

no description

Stringoptional
Latitudelat

Decimal latitude of coordinates

Numbersuggested
Longitudelng

Decimal longitude of coordinates

Numbersuggested
Typetype

Such as 'club', 'theater', 'arena'

Stringsuggested
Capacitycapacity

Maximum capacity for concerts (no commas or thousands separators)

Numbersuggested
Ownerowner

Owner(s) of the venue, if notable

Stringoptional
Opening dateopened

Date the venue was opened to the public

Datesuggested
Closing dateclosed

Date the venue was closed

Dateoptional
Wikipediawikipedia

Title of the Wikipedia page

Stringsuggested
Websitewebsite

Use the {{URL}} template

Unknownoptional
Instagraminstagram

Instagram handle, without the @

Stringoptional
Twittertwitter

Twitter handle, without the @

Stringoptional
Facebookfacebook

no description

Stringoptional