Difference between revisions of "Form:Event"

From Beyond Social
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
=Add an event=
+
This is the form page that can be used to add an '''event'''. The output of this form is placed in the [[Template:Event]].
To create an event enter the title you want to use below.  
 
  
<div class="contribute-container">{{#forminput:form=Event|button text=→ create event}}</div>
+
=Structure of this form=
 
+
<div class="overview">
+
Location
=Previous created events=
+
Date
{{#ask:
+
Time
[[Template::Template:Event]]
+
Event type
|?Thumb
+
Image
|?Category
+
Image caption
|?Modification date
+
|?Creation date
+
About
|?Last editor is
+
Internal (wiki) links
|format=template
+
External links (webpages)
|template=Events
+
|limit=10
+
Documentation
|sort=Modification date
 
|order=descending
 
}}</div><small class="arrow-link">[[Events|→ show all events created with this template]]</small>
 
  
 
</noinclude>
 
</noinclude>
Line 29: 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>(Required)</small>
+
| {{{field|Location|cols=150}}}
 +
|-
 +
! (Start) date:
 +
| {{{field|Date|mandatory|input type=datepicker}}}
 
|-
 
|-
! Date:  
+
! End date (if applicable):  
| {{{field|Date|mandatory|input type=datepicker|date format=LONG}}} <small>(Required)</small>
+
| {{{field|Enddate|input type=datepicker}}}
 
|-
 
|-
 
! Time:  
 
! Time:  
Line 39: Line 41:
 
|-
 
|-
 
! Event type: <br>  
 
! Event type: <br>  
| {{{field|Type|mandatory|cols=150}}} <small>(Required)</small>
+
| {{{field|Type|mandatory|cols=150}}}
 
|-
 
|-
 
! Image: <br>  
 
! Image: <br>  
| {{{field|Image|mandatory|uploadable|image preview}}} <small>(Required)</small>
+
| {{{field|Image|uploadable|image preview}}}
 
|-
 
|-
 
! Image caption: <br>  
 
! Image caption: <br>  
| {{{field|Caption|cols=150}}} <small>(Required)</small>
+
| {{{field|Caption|cols=150}}} <small></small>
 
|-
 
|-
 
!
 
!
 
|}
 
|}
 +
  
 
==About==
 
==About==
Line 57: 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 14: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