Form:External event: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(link venue field next to the venue field)
(fix multiple workgroups bug + support for topics)
Line 1: Line 1:
<includeonly>{{{info|page name={{#if:<ExternalEventSidebar[workgroup]>|<ExternalEventSidebar[workgroup]>/}}Event/{{#time:d m Y|<ExternalEventSidebar[date]>}}/<unique number;start=1> }}}
<includeonly>{{{info|page name={{#regex:{{#if:<ExternalEventSidebar[workgroup]>|<ExternalEventSidebar[workgroup]>|<ExternalEventSidebar[topics]>}}|/^[^,]+/}}{{#if:<ExternalEventSidebar[workgroup]><ExternalEventSidebar[topics]>|/}}Event/{{#time:d m Y|<ExternalEventSidebar[date]>}}/<unique number;start=1> }}}


<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
Line 11: Line 11:
{| style="text-align: left; width:100%;"
{| style="text-align: left; width:100%;"
! style="width: 100px; vertical-align: middle;" | {{int:sidebar-title}}:
! style="width: 100px; vertical-align: middle;" | {{int:sidebar-title}}:
| colspan="3" | {{{field|title|size=50|input type=text with autocomplete|property=Has title}}}
| colspan="3" | {{{field|title|size=50|input type=text with autocomplete|property=Has title|mandatory}}}
!
|
|-
|-
! style="vertical-align: middle;"| {{int:sidebar-workgroup}}:
! style="vertical-align: middle;"| {{int:sidebar-workgroup}}:
| colspan="3"| {{{field|workgroup|size=50|input type=text with autocomplete|property=Organized by}}}
| {{{field|workgroup|size=50|list|input type=text with autocomplete|property=Organized by}}}
!
! style="vertical-align: middle;"| {{int:sidebar-topics}}:
|
| {{{field|topics|size=50|list|input type=text with autocomplete|property=In topic}}}
|-
|-
! style="vertical-align: middle;" | {{int:sidebar-date}}:
! style="vertical-align: middle;" | {{int:sidebar-date}}:
Line 26: Line 24:
|-
|-
! style="vertical-align: middle;" | {{int:sidebar-price}}:
! style="vertical-align: middle;" | {{int:sidebar-price}}:
| {{{field|price|size=10|input type=text with autocomplete|property=Has price|default={{int:sidebar-price-free}} }}}
| colspan="3" | {{{field|price|size=10|input type=text with autocomplete|property=Has price|default={{int:sidebar-price-free}} }}}
!
|
|-
|-
! style="height: 1em;" |
! style="height: 1em;" colspan="4" |  
|
!
|
|-
|-
! style="vertical-align: middle;" | {{int:sidebar-venue}}:
! style="vertical-align: middle;" | {{int:sidebar-venue}}:
| {{{field|venue|size=30|input type=text with autocomplete|property=In venue|values dependent on=ExternalEventSidebar[city]}}}
| {{{field|venue|size=30|input type=text with autocomplete|property=In venue}}}
! style="vertical-align: middle;" | {{int:sidebar-link}}:
! style="vertical-align: middle;" | {{int:sidebar-link}}:
| {{{field|linkvenue|size=50|input type=text with autocomplete|property=Has link venue}}}
| {{{field|linkvenue|size=50|input type=text with autocomplete|property=Has link venue}}}
|-
|-
! style="vertical-align: middle;" | {{int:sidebar-address}}:
! style="vertical-align: middle;" | {{int:sidebar-address}}:
| colspan="3" | {{{field|address|size=50|input type=text with autocomplete|property=Has address|values dependent on=ExternalEventSidebar[city]}}}
| colspan="3" | {{{field|address|size=50|input type=text with autocomplete|property=Has address}}}
!
|
|-
|-
! style="width: 100px; vertical-align: middle;" | {{int:sidebar-postal-code}}:
! style="width: 100px; vertical-align: middle;" | {{int:sidebar-postal-code}}:
| {{{field|postalcode|size=10|input type=text with autocomplete|property=In postal code}}}
| {{{field|postalcode|size=10|input type=text with autocomplete|property=In postal code}}}
! style="width: 100px; vertical-align: middle;" | {{int:sidebar-city}}:
! style="width: 100px; vertical-align: middle;" | {{int:sidebar-city}}:
| {{{field|city|size=30|input type=text with autocomplete|property=In city|mandatory}}}
| {{{field|city|size=30|input type=text with autocomplete|property=In city}}}
|-
|-
! style="height: 1em;" |
! style="height: 1em;" colspan="4" |  
|
!
|
|-
|-
! style="vertical-align: middle;" | {{int:sidebar-url}}:
! style="vertical-align: middle;" | {{int:sidebar-url}}:
| {{{field|url|size=50|input type=text}}}
| colspan="3" | {{{field|url|size=50|input type=text}}}
|}
|}
{{{end template}}}
{{{end template}}}

Revision as of 14:04, 27 September 2017

This form lets you manage external event pages. You can create a new external event page with this form..