Form:External event: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
(replace obsolete extension regexfun with regexfunction)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{{info|page name={{#if:<ExternalEventSidebar[workgroup]>|<ExternalEventSidebar[workgroup]>/}}Event/{{#time:d m Y|<ExternalEventSidebar[date]>}}/<ExternalEventSidebar[city]> }}}
<includeonly>{{{info|page name={{#rreplace:{{#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>


{{#switch: {{int:language-code}}
{{#switch: {{int:language-code}}
| fr = {{{for template|ExternalEventgSidebar|label=Évènement}}}
| fr = {{{for template|ExternalEventSidebar|label=Évènement}}}
| nl = {{{for template|ExternalEventSidebar|label=Evenement}}}
| nl = {{{for template|ExternalEventSidebar|label=Evenement}}}
| {{{for template|ExternalEventSidebar|label=Event}}}
| {{{for template|ExternalEventSidebar|label=Event}}}
}}
}}
{{int:event-form-external-description}}


{| 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="5" | {{{field|title|size=50|input type=text with autocomplete|property=Has title|mandatory}}}
|-
! style="vertical-align: middle;"| {{int:sidebar-workgroup}}:
| {{{field|workgroup|size=50|list|input type=text with autocomplete|property=Organized by}}}
! style="vertical-align: middle;"| {{int:sidebar-topics}}:
| colspan="3" | {{{field|topics|size=50|list|input type=text with autocomplete|property=In topic}}}
|-
|-
! style="width: 100px; vertical-align: middle;" | {{int:sidebar-city}}:
! style="vertical-align: middle;" | {{int:sidebar-date}}:
| {{{field|city|size=30|input type=text with autocomplete|property=In city|mandatory}}}
| {{{field|date|input type=datepicker|list|property=Has date|mandatory}}}
! style="width: 100px; vertical-align: middle;" | {{int:sidebar-postal-code}}:
! style="vertical-align: middle;" | {{int:sidebar-time}}:
| {{{field|postalcode|size=10|input type=text with autocomplete|property=In postal code}}}
| {{{field|time|size=10|input type=text with autocomplete|property=Has time}}}
! style="vertical-align: middle;" | {{int:sidebar-end-time}}:
| {{{field|endtime|size=10|input type=text with autocomplete|property=Has time}}}
|-
! style="vertical-align: middle;" | {{int:sidebar-price}}:
| colspan="5" | {{{field|price|size=10|input type=text with autocomplete|property=Has price|default={{int:sidebar-price-free}} }}}
|-
|-
! style="vertical-align: middle;" | {{int:sidebar-address}}:
! style="height: 1em;" colspan="6" |  
| colspan="3" | {{{field|address|size=50|input type=text with autocomplete|property=Has address|values dependent on=ExternalEventSidebar[city]}}}
|-
|-
! 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}}}
| colspan="3" | {{{field|linkvenue|size=50|input type=text with autocomplete|property=Has link venue}}}
|-
|-
! style="vertical-align: middle;" | {{int:sidebar-date}}:
! style="vertical-align: middle;" | {{int:sidebar-address}}:
| {{{field|date|input type=datepicker|property=Has date|mandatory}}}
| colspan="5" | {{{field|address|size=50|input type=text with autocomplete|property=Has address}}}
! style="vertical-align: middle;" | {{int:sidebar-time}}:
|-
| {{{field|time|size=10|input type=text with autocomplete|property=Has time}}}
! style="width: 100px; vertical-align: middle;" | {{int:sidebar-postal-code}}:
| {{{field|postalcode|size=10|input type=text with autocomplete|property=In postal code}}}
! style="width: 100px; vertical-align: middle;" | {{int:sidebar-city}}:
| colspan="3" | {{{field|city|size=30|input type=text with autocomplete|property=In city}}}
|-
! style="height: 1em;" colspan="6" |
|-
|-
! style="vertical-align: middle;" | {{int:sidebar-url}}:
! style="vertical-align: middle;" | {{int:sidebar-url}}:
| {{{field|url|size=50|input type=text}}}
| colspan="5" | {{{field|url|size=50|input type=text}}}
! style="vertical-align: middle;" | {{int:sidebar-price}}:
|-
| {{{field|price|size=10|input type=text with autocomplete|property=Has price}}}
! style"height: 1em;" colspan=6 |
|-
|-
! style="vertical-align: middle;"| {{int:sidebar-workgroup}}:
! style="vertical-align: middle;" | Image:
| colspan="3"| {{{field|workgroup|size=50|input type=text with autocomplete|list|property=Organized by}}}
| colspan="5" | {{{field|image|size=100|uploadable|input type=text with autocomplete|values from namespace=File}}}
|}
|}
{{{end template}}}
{{{end template}}}
Line 44: Line 61:
| fr = {{{standard input|free text|editor|rows=20|preload=Template:EmptyExternalEvent/fr}}}
| fr = {{{standard input|free text|editor|rows=20|preload=Template:EmptyExternalEvent/fr}}}
| nl = {{{standard input|free text|editor|rows=20|preload=Template:EmptyExternalEvent/nl}}}
| nl = {{{standard input|free text|editor|rows=20|preload=Template:EmptyExternalEvent/nl}}}
| {{{standard input|free text|editor|rows=20|preload=Template:EmptyExternalEvent}}}
| {{{standard input|free text|editor|rows=20|preload=Template:EmptyExternalEvent/en}}}
}}
}}



Latest revision as of 17:46, 16 September 2024

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