Template:Infobox venue: Difference between revisions
MusikAnimal (talk | contribs) No edit summary |
MusikAnimal (talk | contribs) No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|name = String (mandatory=1) | |name = String (mandatory=1) | ||
|former_names = List (,) of Strings | |former_names = List (,) of Strings | ||
|aliases = List (,) of Strings | |||
|image = File | |image = File | ||
|address = String | |address = String | ||
Line 15: | Line 16: | ||
|name = {{{name|{{PAGENAME}}}}} | |name = {{{name|{{PAGENAME}}}}} | ||
|former_names = {{{former_names|}}} | |former_names = {{{former_names|}}} | ||
|aliases = {{{aliases|}}} | |||
|image = {{{image|}}} | |image = {{{image|}}} | ||
|address = {{{street_address|}}} | |address = {{{street_address|}}} | ||
Line 29: | Line 31: | ||
| headerstyle = background-color:#ccc | | headerstyle = background-color:#ccc | ||
| title = {{{name|{{PAGENAME}}}}} | | title = {{{name|{{PAGENAME}}}}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|title={{#ifeq:{{{landscape|}}}|yes||upright}}|border={{#if:{{{border|}}}|yes}}|alt={{{alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo_image|}}}|size={{{logo_size|}}}|sizedefault=frameless|upright=1|alt={{{logo_alt|}}}}} | ||
| | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|title={{#ifeq:{{{landscape|}}}|yes||upright}}|border={{#if:{{{border|}}}|yes}}|alt={{{alt|}}}}} | ||
| caption2 = {{{caption|{{{image_caption|}}}}}} | |||
| label1 = Former names | | label1 = Former names | ||
| data1 = {{{former_names|}}} | | data1 = {{{former_names|}}} | ||
| label2 = Address | | label2 = Also known as | ||
| | | label2 = {{{aliases|}}} | ||
| | | label3 = Address | ||
| | | data3 = {{{address|}}} | ||
| | | label4 = Coordinates | ||
| | | data4 = {{#if:{{{lat|}}}|{{#if:{{{lng|}}}|{{maplink single|{{{lat}}}|{{{lng}}}}}}}}} | ||
| | | label5 = Address | ||
| | | data5 = {{#if:{{{location|}}}|{{#if:{{{street_address|}}}|{{{street_address}}}<br/>}}{{{location}}}}} | ||
| | | label6 = Type | ||
| | | data6 = {{{type|}}} | ||
| | | label7 = Capacity | ||
| | | data7 = {{#if:{{{capacity|}}}|{{FORMATNUM:{{{capacity}}}}}}} | ||
| | | label8 = Owner | ||
| | | data8 = {{{owner|}}} | ||
| | | label9 = Opened | ||
| | | data9 = {{{opened|}}} | ||
| | | label10 = Closed | ||
| | | data10 = {{{closed|}}} | ||
| | | label11 = Wikipedia | ||
| | | data11 = {{#if:{{{wikipedia|}}}|[[w:{{{wikipedia}}}|{{{wikipedia}}}]]}} | ||
| | | label12 = Website | ||
| | | data12 = {{{website|}}} | ||
| | | label13 = Instagram | ||
| | | data13 = {{#if:{{{instagram|}}}|[https://instagram.com/{{{instagram}}} @{{{instagram}}}]}} | ||
| | | label14 = Twitter | ||
| | | data14 = {{#if:{{{twitter|}}}|[https://twitter.com/{{{twitter}}} @{{{twitter}}}]}} | ||
| label15 = Facebook | |||
| data15 = {{#if:{{{facebook|}}}|[https://facebook.com/{{{facebook}}} {{{facebook}}}]}} | |||
}}<noinclude><templatedata> | }}<noinclude><templatedata> | ||
{ | { | ||
Line 157: | Line 162: | ||
"label": "Facebook", | "label": "Facebook", | ||
"type": "string" | "type": "string" | ||
} | }, | ||
"aliases": { | |||
"label": "Also known as", | |||
"description": "Other common names that still apply to today's venue", | |||
"suggested": true | |||
}, | |||
"logo_image": {}, | |||
"logo_size": {}, | |||
"logo_alt": {}, | |||
"image_size": {}, | |||
"landscape": {} | |||
}, | }, | ||
"format": "{{_\n| _ = _\n}}\n", | "format": "{{_\n| _ = _\n}}\n", | ||
"paramOrder": [ | "paramOrder": [ | ||
"image", | |||
"caption", | |||
"name", | "name", | ||
" | "former_names", | ||
"aliases", | |||
"street_address", | "street_address", | ||
"location", | "location", | ||
"lat", | "lat", | ||
"lng", | "lng", | ||
Line 178: | Line 194: | ||
"instagram", | "instagram", | ||
"twitter", | "twitter", | ||
"facebook" | "facebook", | ||
"logo_image", | |||
"logo_size", | |||
"logo_alt", | |||
"image_size", | |||
"landscape" | |||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Latest revision as of 06:37, 23 January 2021
This template defines the table "venues". View table.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | no description | File | suggested |
Image caption | caption | no description | String | optional |
Name | name | no description
| String | optional |
Former names | former_names | Comma-separated list | Unknown | suggested |
Also known as | aliases | Other common names that still apply to today's venue | Unknown | suggested |
Street address | street_address | Street address, excluding city, state/province, country | String | suggested |
City, state/province, country | location | Country must be the official ISO 2-letter country code | String | suggested |
Latitude | lat | Decimal latitude of coordinates | Number | suggested |
Longitude | lng | Decimal longitude of coordinates | Number | suggested |
Type | type | Such as 'club', 'theater', 'arena' | String | suggested |
Capacity | capacity | Maximum capacity for concerts (no commas or thousands separators) | Number | suggested |
Owner | owner | Owner(s) of the venue, if notable | String | optional |
Opening date | opened | Date the venue was opened to the public | Date | suggested |
Closing date | closed | Date the venue was closed | Date | optional |
Wikipedia | wikipedia | Title of the Wikipedia page | String | suggested |
Website | website | Use the {{URL}} template | Unknown | optional |
instagram | Instagram handle, without the @ | String | optional | |
twitter | Twitter handle, without the @ | String | optional | |
facebook | no description | String | optional | |
logo_image | logo_image | no description | Unknown | optional |
logo_size | logo_size | no description | Unknown | optional |
logo_alt | logo_alt | no description | Unknown | optional |
image_size | image_size | no description | Unknown | optional |
landscape | landscape | no description | Unknown | optional |