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 Festival" - TangoWiki

Difference between revisions of "Template:Infobox Festival"

From Tangowiki
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| border="1" cellpadding="10" align="right" style="border-color:#60b377; border-style:none;background-color:#ffffff;text-align:left;font-size:smaller;width:inherit;empty-cells:hide;border-collapse:collapse; margin:0px 20px 5px 20px;"
+
<includeonly>{| border="1" cellpadding="10" align="right" class="infobox festival"
! style="text-align:center;font-size:larger;background-color:#60b377;color:#000000;font-size:120%" colspan="2" |<big>{{PAGENAME}}</big>
+
! class="infobox festival" colspan="2" |<br /><small>{{#switch:{{{Festival and Marathon|}}}|Festival=Festival|Marathon=Marathon|Festival and Marathon=Festival & Marathon|Festival}}</small> <br /><big>{{BASEPAGENAME}}</big><br /><br />
 
{{#if:{{{Logo filename|}}}|{{!-}}
 
{{#if:{{{Logo filename|}}}|{{!-}}
 
{{!}} style="text-align:center" colspan="2"{{!}} [[File:{{{Logo filename}}}|200px|frameless|center]] }}
 
{{!}} style="text-align:center" colspan="2"{{!}} [[File:{{{Logo filename}}}|200px|frameless|center]] }}
 
|-
 
|-
| style="background: #60b377; text-align:center;" colspan="2" {{!}} '''General information'''
+
| class="infobox festival" colspan="2" {{!}} '''General information'''
 
|-
 
|-
 
! Location
 
! Location
 
| [[takes place in the city::{{{City|}}}]], [[takes place in the country::{{{Country|}}}]]
 
| [[takes place in the city::{{{City|}}}]], [[takes place in the country::{{{Country|}}}]]
{{#if: {{{City2|}}} | {{!-}}
+
<!--{{#if: {{{City2|}}} | {{!-}}
 
! Second location
 
! Second location
 
{{!}} {{#if: {{{City2|}}}|[[takes place in the city::{{{City2}}}]], [[takes place in the country::{{{Country2|}}}]]}}
 
{{!}} {{#if: {{{City2|}}}|[[takes place in the city::{{{City2}}}]], [[takes place in the country::{{{Country2|}}}]]}}
}}
+
}}-->
 
{{#if: {{{Geographic coordinates|}}} | {{!-}}
 
{{#if: {{{Geographic coordinates|}}} | {{!-}}
 
! align="left" {{!}} Geographic coordinates
 
! align="left" {{!}} Geographic coordinates
Line 23: Line 23:
 
! align="left" {{!}} Facebook page
 
! align="left" {{!}} Facebook page
 
{{!}} {{#if: {{{Facebook page|}}}|[[Is on Facebook at::{{{Facebook page}}}|Facebook page]]}}
 
{{!}} {{#if: {{{Facebook page|}}}|[[Is on Facebook at::{{{Facebook page}}}|Facebook page]]}}
}}
 
{{#if: {{{Facebook event page|}}} | {{!-}}
 
! align="left" {{!}} Facebook event page
 
{{!}} {{#if: {{{Facebook event page|}}}|[[Is on Facebook at::{{{Facebook event page}}}|Facebook event page]]}}
 
 
}}
 
}}
 
{{#if: {{{Facebook group|}}} | {{!-}}
 
{{#if: {{{Facebook group|}}} | {{!-}}
Line 34: Line 30:
 
|-
 
|-
 
! Organizer
 
! Organizer
| {{#arraymap:{{{Organizer|}}}|,|@|[[Has organizer::@]]|<br/>}}
+
| {{Bullet}} {{#arraymap:{{{Organizer|}}}|,|@|[[Has organizer::@]]|{{Bullet_br}} }}
 
|-
 
|-
 
! Contact
 
! Contact
 
| [[Has e-mail::{{{Contact|}}}]]
 
| [[Has e-mail::{{{Contact|}}}]]
 
|-
 
|-
| style="background: #60b377; text-align:center;" colspan="4" {{!}} '''Yearly festival events'''
+
| class="infobox festival" colspan="4" {{!}} '''Yearly festival events'''
 
|-
 
|-
 
! Yearly festival events
 
! Yearly festival events
Line 67: Line 63:
 
<!--
 
<!--
 
|-
 
|-
! Yearly festival events
 
| {{Special:PrefixIndex/{{FULLPAGENAME}}/}}
 
|-
 
 
! Yearly festival events
 
! Yearly festival events
 
| {{Special:PrefixIndex/{{FULLPAGENAME}}/}}
 
| {{Special:PrefixIndex/{{FULLPAGENAME}}/}}
Line 81: Line 74:
 
|}
 
|}
  
 +
{{#set:Festival and Marathon={{{Festival and Marathon|}}} }}
 +
<!--------- at the moment, all Festivals & Marathongs get sorted into the category "Festival". Could be changed later on.
 +
{{#switch:{{{Festival and Marathon|}}} | Marathon=[[Category:Marathon]] | Festival and Marathon=[[Category:Festival]] [[Category:Marathon]] | [[Category:Festival]] }}
 +
------------>
 
[[Category:Festival]]</includeonly>
 
[[Category:Festival]]</includeonly>
  
 
<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Latest revision as of 14:54, 21 August 2015



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

Description

This is the template "Infobox Festival". It should not be embedded, instead use the festival form to create a new festival page. For certain annual festival events, use the form from the festival page itself.

Click on "Edit" to see the source code of the template.

The form for creating a page with this template is Festival.