Difference between revisions of "Template:Infobox Festival"
From Tangowiki
(131 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <includeonly>{| border="1" cellpadding="10" align="right" class="infobox festival" |
− | + | ! 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|}}}|{{!-}} | |
− | + | {{!}} style="text-align:center" colspan="2"{{!}} [[File:{{{Logo filename}}}|200px|frameless|center]] }} | |
− | { | + | |
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | + | ||
− | }} | + | |
− | </ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
− | + | ||
− | { | + | |
− | ! style="text-align:center | + | |
|- | |- | ||
− | | | + | | 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|}}} | {{!-}} | ||
+ | ! 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 |
− | | | + | | {{Bullet}} {{#arraymap:{{{Organizer|}}}|,|@|[[Has organizer::@]]|{{Bullet_br}} }} |
|- | |- | ||
− | ! | + | ! Contact |
− | | [[ | + | | [[Has e-mail::{{{Contact|}}}]] |
|- | |- | ||
− | + | | class="infobox festival" colspan="4" {{!}} '''Yearly festival events''' | |
− | | | + | |
|- | |- | ||
− | ! | + | ! Yearly festival events |
− | | {{{ | + | | {{#ask: [[Category:Festival event]] [[Is event of festival::{{PAGENAME}}]] |
+ | | format=ul | ||
+ | |link=all | ||
+ | |sort=Start date | ||
+ | |order=desc | ||
+ | |searchlabel=... further results | ||
+ | |columns=1 | ||
+ | }} | ||
|- | |- | ||
− | | | + | | colspan="2" align="center" | {{#forminput:form=Festival event |
+ | |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]]. |
+ | <!-- | ||
|- | |- | ||
− | + | | colspan="2" align="center" | xx {{#ask: Special:PrefixIndex/{{FULLPAGENAME}}/}} xx | |
− | | | + | |
|- | |- | ||
− | + | | colspan="2" align="center" | xx {{#ask: {{PAGENAME}}}} xx | |
− | | | + | --> |
+ | <!-- | ||
|- | |- | ||
− | ! | + | ! Yearly festival events |
− | | {{ | + | | {{Special:PrefixIndex/{{FULLPAGENAME}}/}} |
+ | |- | ||
+ | ! Yearly festival events | ||
+ | | {{Special:PrefixIndex/{{BASEPAGENAME}}/}} | ||
+ | |- | ||
+ | ! Yearly festival events | ||
+ | | {{Special:PrefixIndex/{{PAGENAME}}/}} | ||
+ | --> | ||
|} | |} | ||
− | + | {{#set:Festival and Marathon={{{Festival and Marathon|}}} }} | |
− | + | <!--------- at the moment, all Festivals & Marathongs get sorted into the category "Festival". Could be changed later on. | |
− | [[Category:Festival]] | + | {{#switch:{{{Festival and Marathon|}}} | Marathon=[[Category:Marathon]] | Festival and Marathon=[[Category:Festival]] [[Category:Marathon]] | [[Category:Festival]] }} |
− | </includeonly> | + | ------------> |
+ | [[Category:Festival]]</includeonly> | ||
− | <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.