Difference between revisions of "Form:Event"

From Beyond Social
 
(14 intermediate revisions by the same user not shown)
Line 25: Line 25:
  
 
{| class="formtable" style="verticle-align:top;font-weight:normal;"
 
{| class="formtable" style="verticle-align:top;font-weight:normal;"
 +
! Subtitle:
 +
| {{{field|Subtitle|cols=150}}}
 +
|-
 
! Location:  
 
! Location:  
| {{{field|Location|mandatory|cols=150}}} <small>*</small>
+
| {{{field|Location|cols=150}}}
 +
|-
 +
! (Start) date:
 +
| {{{field|Date|mandatory|input type=datepicker}}}
 
|-
 
|-
! Date:  
+
! End date (if applicable):  
| {{{field|Date|mandatory|input type=datetimepicker|date format=LONG}}} <small>*</small>
+
| {{{field|Enddate|input type=datepicker}}}
 
|-
 
|-
 
! Time:  
 
! Time:  
Line 38: Line 44:
 
|-
 
|-
 
! Image: <br>  
 
! Image: <br>  
| {{{field|Image|mandatory|uploadable|image preview}}} <small>*</small>
+
| {{{field|Image|uploadable|image preview}}}
 
|-
 
|-
 
! Image caption: <br>  
 
! Image caption: <br>  
Line 46: Line 52:
 
|}
 
|}
  
<br>(Fields marked with a '*' are required)
 
  
 
==About==
 
==About==
Line 55: Line 60:
 
{{{end template}}}
 
{{{end template}}}
  
{{{for template|Links_internal|multiple|label=Add internal (wiki) links|add button text=Add link}}}
+
{{{for template|Links_external|multiple|label=Add links|add button text=Add link}}}
Link: {{{field|link|input type=text with autocomplete|values from namespace=User||Main||Talk||File|class=articles|cols=100|placeholder=e.g.: About Beyond Social}}}
+
Link: {{{field|link|input type=text|class=articles|cols=100|placeholder=e.g.: https://www.wikipedia.org}}}
 +
Display text: {{{field|displaytext|input type=text|cols=100|placeholder=e.g.: Wikipedia, The Free Encyclopedia}}}
 
{{{end template}}}
 
{{{end template}}}
  
{{{for template|Links_external|multiple|label=Add external links (webpages)|add button text=Add link}}}
+
{{{for template|Article Selection Overview|multiple|label=Add Wiki articles|add button text=Add article}}}
Link: {{{field|link|input type=text|class=articles|cols=100|placeholder=e.g.: <nowiki>www.wikipedia.org</nowiki>}}}
+
Article name:  
Display text: {{{field|displaytext|input type=text|cols=100|placeholder=e.g.: Wikipedia, The Free Encyclopedia}}}
+
{{{field|Article|input type=text with autocomplete|values from namespace=Main|class=articles|cols=100|placeholder=e.g.: Wiki_introduction}}}
 
{{{end template}}}
 
{{{end template}}}
  

Latest revision as of 13:51, 29 June 2018

This is the form page that can be used to add an event. The output of this form is placed in the Template:Event.

Structure of this form

Location
Date
Time
Event type
Image
Image caption

About
Internal (wiki) links
External links (webpages)

Documentation