Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/tangowiki/languages/LanguageConverter.php on line 694

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/vhosts/tangowiki/includes/diff/DairikiDiff.php on line 434

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/tangowiki/extensions/SemanticForms/includes/SF_Utils.php on line 262

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/tangowiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_Sql3SmwIds.php on line 816

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/tangowiki/extensions/SemanticMediaWiki/src/PropertyAliasFinder.php on line 74

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/tangowiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Readers.php on line 399

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/tangowiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Readers.php on line 487

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/tangowiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_DIHandler_WikiPage.php on line 112
Difference between revisions of "Template:Infobox Venue" - TangoWiki

Difference between revisions of "Template:Infobox Venue"

From Tangowiki
 
(46 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|border="1" cellpadding="1" align="right" style="border-color:#12529c; border-width:2px; border-style:solid;background-color:#ffffff;text-align:center;font-size:smaller;width:275px;empty-cells:hide;border-collapse:collapse; margin-left:20px"
+
<includeonly>{|border="1" cellpadding="4" align="right" class="infobox venue"
|-style="background-color:#12529c;color:#ffffff;font-size:140%;text-align:center" class="Verlauf"
+
|- class="infobox venue"
!colspan="2"|<br>{{BASEPAGENAME}}<br><br>
+
!colspan="2"|<br /><small>Venue</small><br />{{BASEPAGENAME}}<br /><br />
 
{{#if: {{{Filename|}}}| {{!-}} style="text-align:center;font-size:90%"
 
{{#if: {{{Filename|}}}| {{!-}} style="text-align:center;font-size:90%"
 
{{!}}colspan="2"{{!}}<br>{{#if: {{{Filename|}}}|[[File:{{{Filename}}}|250px]]}}
 
{{!}}colspan="2"{{!}}<br>{{#if: {{{Filename|}}}|[[File:{{{Filename}}}|250px]]}}
 
{{#if: {{{Caption|}}}|{{{Caption}}}}}<br>
 
{{#if: {{{Caption|}}}|{{{Caption}}}}}<br>
 
}}
 
}}
|-
+
{{#if: {{{Offical name|}}} | {{!-}}
 +
! align="left" {{!}} Official name
 +
{{!}} {{#if: {{{Official name|}}}|[[Has official name::{{{Official name}}}]]}}
 +
}}|-
 
! align="left" | Address
 
! align="left" | Address
| width="70%" | {{{Street}}}<br/>{{{Post code}}}&nbsp;[[is located in the city::{{{City}}}]]<br/>[[is located in the country::{{{Country}}}]]
+
| width="70%" | {{{Street|}}}{{#if:{{{District|}}}|<br/>{{{District}}}}}<br/>[[is located in the city::{{{City|}}}]]&nbsp;{{{Post code|}}} {{#if:{{{State|}}}|<br/>{{{State}}}}}<br/>[[is located in the country::{{{Country|}}}]]
 
|-
 
|-
{{#if: {{{Size|}}} | {{!-}}
 
! align="left" {{!}} Size
 
{{!}} {{#if: {{{Size|}}}|{{{Size}}}}}
 
}}
 
 
{{#if: {{{Website|}}} | {{!-}}
 
{{#if: {{{Website|}}} | {{!-}}
 
! align="left" {{!}} Website
 
! align="left" {{!}} Website
 
{{!}} {{#if: {{{Website|}}}|[[is online at::{{{Website}}}]]}}
 
{{!}} {{#if: {{{Website|}}}|[[is online at::{{{Website}}}]]}}
 
}}
 
}}
 +
<!------------------HIDDEN
 +
{{#if: {{{Facebook page|}}} | {{!-}}
 +
! align="left" {{!}} Facebook page
 +
{{!}} {{#if: {{{Facebook page|}}}|[[is on Facebook at::{{{Facebook page}}}]]}} -
 +
}}
 
{{#if: {{{Contact person|}}} | {{!-}}
 
{{#if: {{{Contact person|}}} | {{!-}}
 
! align="left" {{!}} Contact person
 
! align="left" {{!}} Contact person
Line 26: Line 30:
 
{{!}} {{#if: {{{Contact|}}}|[[Has e-mail::{{{Contact}}}]]}}
 
{{!}} {{#if: {{{Contact|}}}|[[Has e-mail::{{{Contact}}}]]}}
 
}}
 
}}
{{#if: {{{Music style|}}} | {{!-}}
+
{{#if: {{{Telephone number|}}} | {{!-}}
! align="left" {{!}} Music style
+
! align="left" {{!}} Telephone number
{{!}} {{#if: {{{Music style|}}}|{{{Music style}}}}}
+
{{!}} {{#if: {{{Telephone number|}}}|[[Has telephone number::{{{Telephone number}}}]]}}
 +
}} ------------------------->
 +
{{#if: {{{Size|}}} | {{!-}}
 +
! align="left" {{!}} Size
 +
{{!}} {{#if: {{{Size|}}}|{{{Size}}}}}
 
}}
 
}}
{{#if: {{{TJs|}}} | {{!-}}
+
|-
! align="left" {{!}} TJs
+
! align="left" | Milongas
{{!}} {{#if: {{{TJs|}}}|{{#arraymap:{{{TJs|}}}|,|x|[[has TJ::x]]|<br /> }} }}
+
| {{#ask:[[Category:Milonga]][[Takes place at venue::{{BASEPAGENAME}}]]|?Takes place on week day|format=ul|template=Milonga_weekdays}}
}}
+
|-
{{#if: {{{Milongas|}}} | {{!-}}
+
! align="left" | Festivals
! align="left" {{!}} Milongas
+
| {{#ask:[[Category:Festival event]][[Takes place at venue::{{BASEPAGENAME}}]]|format=ul}}
{{!}} {{#if: {{{Milongas|}}}|{{#arraymap:{{{Milongas|}}}|,|x|[[has milonga::x]]|<br /> }} }}
+
{{#if: {{{Geographic coordinates|}}} | {{!-}}
}}
+
! align="left" {{!}} Geographic coordinates
{{#if: {{{Events|}}} | {{!-}}
+
{{!}} {{#if: {{{Geographic coordinates|}}}|[[Has coordinates::{{{Geographic coordinates}}}]]}}
! align="left" {{!}} Events
+
{{!}} {{#if: {{{Events|}}}|[[Has event::{{{Events}}}]]}}
+
}}
+
{{#if: {{{Additional information|}}} | {{!-}}
+
! align="left" {{!}} Additional information
+
{{!}} {{#if: {{{Additional information|}}}|{{{Additional information}}}}}
+
 
}}
 
}}
 +
|-
 +
| colspan="2" align="center" | {{#ask: [[{{BASEPAGENAME}}]] | ?Has coordinates | format=googlemaps | types=roadmap | controls=zoom | showtitle=no | copycoords=yes | width=250 |height=270 }} <br /><small>&uarr; Click on the white '''Google''' logo (bottom left corner) to open this address in Google Maps (new window).</small><br /> Open the [[World map of venues]].
 
|}
 
|}
 
[[Category:Venue]]
 
[[Category:Venue]]
 
</includeonly>
 
</includeonly>
  
<noinclude>{{documentation}}
+
<noinclude>{{documentation}}</noinclude>
[[de:Vorlage:Infobox Veranstaltungsort]]</noinclude>
+

Latest revision as of 11:42, 25 August 2015



[edit] [[[:Template:Purge]]] Template documentation

Template:Note

Description

This template is used for infoboxes on venue pages. This template adds the page, where the template is used automatically to the Category:Venue.

Mastercode for embedding

Mandatory parts are marked bold.

{{ Infobox Venue
| Filename =
| Caption = 
| Street =
| Post code =
| City =
| District =
| State =
| Country =
| Size =
| Website =
| Milongas =
| Festivals =
}}

Parameters

  • Filename: (optional) Logo or image. Write the filename, e.g. Venuelogo.jpg. The image needs to be uploaded to be shown. It will be shown with 250px width max., hence broader images will be shown smaller automatically.
  • Caption: (optional) Image title.
  • Street:
  • Post code:
  • City:
  • District: (Unofficial) district, like "Palermo", "San Telmo".
  • State: State as part of a country
  • Country:
  • Size: (optional) Size in square meters including size measurement (e.g. 220 m2)
  • Website: (optional)
  • Music style: (optional)
  • Milongas: Milongas happening at the location. Automatically shown. Add venue at the milonga page.
  • Festivals: Festival events happening at the location. Automatically shown. Add venue at the event page (e.g. festival event page).

Not used at the moment

  • Facebook page: (optional)
  • Contact person: (optional) A contact person, organizer.
  • Contact: (optional) E-mail address
  • Telephone number: (optional)