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

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/tangowiki/extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_Property.php on line 460

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/src/DataValues/ValueValidators/PatternConstraintValueValidator.php on line 90

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_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

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

Notice: Trying to access array offset on value of type null in /var/www/vhosts/tangowiki/includes/profiler/SectionProfiler.php on line 104

Notice: Trying to access array offset on value of type null in /var/www/vhosts/tangowiki/includes/profiler/SectionProfiler.php on line 104

Notice: Trying to access array offset on value of type null in /var/www/vhosts/tangowiki/includes/profiler/SectionProfiler.php on line 105

Notice: Trying to access array offset on value of type null in /var/www/vhosts/tangowiki/includes/profiler/SectionProfiler.php on line 105

Notice: Trying to access array offset on value of type null in /var/www/vhosts/tangowiki/includes/profiler/SectionProfiler.php on line 106

Notice: Trying to access array offset on value of type null in /var/www/vhosts/tangowiki/includes/profiler/SectionProfiler.php on line 106

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
Difference between revisions of "Template:Infobox Festival" - TangoWiki

Difference between revisions of "Template:Infobox Festival"

From Tangowiki
 
(Created page with "<noinclude> This is the template "Infobox Festival". It should be used in the following format: <pre> {{Infobox Festival |Logo = |Location = |Next date: start = |Next date:...")
(136 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| border="1" cellpadding="10" align="right" class="infobox festival"
+
<noinclude>
! 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 />
+
This is the template "Infobox Festival".
{{#if:{{{Logo filename|}}}|{{!-}}
+
It should be used in the following format:
{{!}} style="text-align:center" colspan="2"{{!}} [[File:{{{Logo filename}}}|200px|frameless|center]] }}
+
<pre>
 +
{{Infobox Festival
 +
|Logo =
 +
|Location =  
 +
|Next date: start =  
 +
|Next date: end =  
 +
|Website =
 +
|Facebook page =
 +
|Organizer =
 +
|Maestros =
 +
|TJs =
 +
|Orchestras =
 +
}}
 +
</pre>
 +
 
 +
Click on "Edit" to see the source code of the template.
 +
 
 +
The form for creating a page with this template is [[Page has default form::Festival]].
 +
</noinclude><includeonly>
 +
 
 +
{| border="1" cellpadding="5" align="right" style="border-color:#99cccc; 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;"
 +
! style="text-align:center;font-size:larger;background-color:#99cccc;color:#000000;font-size:120%" colspan="2" |<big>{{PAGENAME}}</big>
 
|-
 
|-
| class="infobox festival" colspan="2" {{!}} '''General information'''
+
| style="text-align:center" colspan="2"{{!}} [[File:{{{Logofilename}}}|200px|frameless|center]]
 +
|-
 +
| style="background: #99cccc; text-align:center;" colspan="2" {{!}} '''General information'''
 
|-
 
|-
 
! Location
 
! Location
| [[takes place in the city::{{{City|}}}]], [[takes place in the country::{{{Country|}}}]]
+
| [[takes place in::{{{Location|}}}]]  
<!--{{#if: {{{City2|}}} | {{!-}}
+
! Second location
+
{{!}} {{#if: {{{City2|}}}|[[takes place in the city::{{{City2}}}]], [[takes place in the country::{{{Country2|}}}]]}}
+
}}-->
+
{{#if: {{{Geographic coordinates|}}} | {{!-}}
+
! align="left" {{!}} Geographic coordinates
+
{{!}} {{#if: {{{Geographic coordinates|}}}|[[Has coordinates::{{{Geographic coordinates}}}]]}}
+
}}
+
{{#if: {{{Website|}}} | {{!-}}
+
! Website
+
{{!}} {{#if: {{{Website|}}}|[[is online at::{{{Website}}}]]}}
+
}}
+
{{#if: {{{Facebook page|}}} | {{!-}}
+
! align="left" {{!}} Facebook page
+
{{!}} {{#if: {{{Facebook page|}}}|[[Is on Facebook at::{{{Facebook page}}}|Facebook page]]}}
+
}}
+
{{#if: {{{Facebook group|}}} | {{!-}}
+
! align="left" {{!}} Facebook group
+
{{!}} {{#if: {{{Facebook group|}}}|[[Is on Facebook at::{{{Facebook group}}}|Facebook group]]}}
+
}}
+
 
|-
 
|-
! Organizer
+
! Next date
| {{Bullet}} {{#arraymap:{{{Organizer|}}}|,|@|[[Has organizer::@]]|{{Bullet_br}} }}
+
| [[start date::{{{Next date: start|}}}|{{#time:D, d. M Y|{{{Next date: start}}}}}]] — [[end date::{{{Next date: end|}}}|{{#time:D, d. M Y|{{{Next date: end}}}}}]]
 
|-
 
|-
! Contact
+
! Website
| [[Has e-mail::{{{Contact|}}}]]
+
| [[is online at::{{{Website|}}}]]
 
|-
 
|-
| class="infobox festival" colspan="4" {{!}} '''Yearly festival events'''
+
! Facebookseite
 +
| [[is on Facebook at::{{{Facebook page|}}}]]
 
|-
 
|-
! Yearly festival events
+
! Organizer
| {{#ask: [[Category:Festival event]] [[Is event of festival::{{PAGENAME}}]]
+
| {{{Organizer|}}}
| format=ul
+
|link=all
+
|sort=Start date
+
|order=desc
+
|searchlabel=... further results
+
|columns=1
+
}}
+
 
|-
 
|-
| colspan="2" align="center" | {{#forminput:form=Festival event
+
| style="text-align:center;" colspan="2" {{!}} [[Datei:Ical.png|30]] {{#ask:[[{{PAGENAME}}]]|?{{PAGENAME}}=summary|?start date=start|?end date=end|?takes place in=location|searchlabel=Add festival to my calendar (iCal)|format=icalendar}}
|size= 18
+
|placeholder=2015
+
|button text=Create a new festival event
+
|query string= super_page={{PAGENAME}}&<Festival event[Related festival]>={{PAGENAME}}
+
}}
+
 
|-
 
|-
| colspan="2" align="center" | {{#ask: [[{{BASEPAGENAME}}]] | ?Has coordinates | format=googlemaps | width=300 |height=300 }} <!------------------------------<br /> [http://maps.google.com/maps?daddr={{{Geographic coordinates}}} Open in Google Maps] ------------------------------> <br /> Open the [[World map of festivals]].
+
| style="background: #99cccc; text-align:center;" colspan="2" {{!}} '''Program'''
<!--
+
 
|-
 
|-
| colspan="2" align="center" | xx {{#ask: Special:PrefixIndex/{{FULLPAGENAME}}/}} xx
+
! Maestros
 +
| {{Bullet}} {{#arraymap:{{{Maestros|}}}|*|x|[[has Maestros::x]]| {{Bullet_br}} }}
 
|-
 
|-
| colspan="2" align="center" | xx {{#ask: {{PAGENAME}}}} xx
+
! TJs
-->
+
| {{Bullet}} {{#arraymap:{{{TJs|}}}|*|x|[[has TJ::x]]| {{Bullet_br}} }}
<!--
+
 
|-
 
|-
! Yearly festival events
+
! Orchestra
| {{Special:PrefixIndex/{{FULLPAGENAME}}/}}
+
| {{Bullet}} {{#arraymap:{{{Orchestra|}}}|*|x|[[has Orchestra::x]]| {{Bullet_br}} }}
|-
+
! Yearly festival events
+
| {{Special:PrefixIndex/{{BASEPAGENAME}}/}}
+
|-
+
! Yearly festival events
+
| {{Special:PrefixIndex/{{PAGENAME}}/}}
+
-->
+
 
|}
 
|}
  
{{#set:Festival and Marathon={{{Festival and Marathon|}}} }}
+
__NOEDITSECTION__
<!--------- 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>[[Kategorie:Artikelvorlage]]</noinclude>

Revision as of 01:27, 12 December 2013

This is the template "Infobox Festival". It should be used in the following format:

{{Infobox Festival
|Logo = 
|Location = 
|Next date: start = 
|Next date: end = 
|Website = 
|Facebook page = 
|Organizer = 
|Maestros = 
|TJs = 
|Orchestras = 
}}

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

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


Kategorie:Artikelvorlage