Forms & quizzes

From Redazione
Jump to navigation Jump to search
Line 1: Line 1:
{{CI inline logo}} offers effective tools for rapid creation of forms, fitted to various purposes, and quizzes, which have been inspired by the this [https://en.wikiversity.org/wiki/Help:Quiz Wikiversity's extension] and have further developed for an optimal user experience, and diverge mainly because the submitted data are sent to the provided email address, rather than used to compute a score.
+
{{CI inline logo}} offers effective tools for rapid creation of forms, fitted to various purposes, and quizzes, which have been inspired by this [https://en.wikiversity.org/wiki/Help:Quiz Wikiversity's extension] and have further developed for an optimal user experience, and diverge mainly because the submitted data are sent to the provided email address, rather than used to compute a score.
  
A form can be created through a template like the following
+
A form can be created through a template like the following:
  
 
<pre>
 
<pre>
Line 17: Line 17:
  
 
{{#CI form:  
 
{{#CI form:  
title = Cloze test
+
title = Contact form
 
| submit = ici.tbilisi@culturaitaliana.org
 
| submit = ici.tbilisi@culturaitaliana.org
 
| first and last name [] *
 
| first and last name [] *
Line 23: Line 23:
 
| your message []  *
 
| your message []  *
 
}}
 
}}
 +
 +
where the double square brackets represent an input (if empty the input type is assumed to be 'text' otherwise it can be any of 'password', 'textarea', 'email', 'search', 'tel', 'file', 'number', 'url', 'time', 'date') the asterisk a mandatory field, and a pipe is of course used to separate the rows.
 +
 +
But a '''CI form''' template (precisely a 'parser function') can be also used to display inputs with placeholders, like the following:
 +
 +
{{#CI form:
 +
title = Contact form
 +
| submit = ici.tbilisi@culturaitaliana.org
 +
| [first name] *
 +
| [last name] *
 +
| [email=email ]  *
 +
| [your message=text]  *
 +
}}
 +
 +
 +
 +
 +
 +
Currently the parser function '''CI form''' can display the following type of forms:
 +
* inputs (as in the example above)
 +
* multiple choice questions
 +
* Cloze tests (completion tests)
 +
 +
The

Revision as of 19:30, 1 February 2021

Cultura italiana offers effective tools for rapid creation of forms, fitted to various purposes, and quizzes, which have been inspired by this Wikiversity's extension and have further developed for an optimal user experience, and diverge mainly because the submitted data are sent to the provided email address, rather than used to compute a score.

A form can be created through a template like the following:

{{#CI form: 
title = Contact form
| submit = support@culturaitaliana.org
| first and last name [] *
| email [email]  *
| your message [textarea]  *
}}

which produces the following result


Contact form
form protected using Google recaptcha

where the double square brackets represent an input (if empty the input type is assumed to be 'text' otherwise it can be any of 'password', 'textarea', 'email', 'search', 'tel', 'file', 'number', 'url', 'time', 'date') the asterisk a mandatory field, and a pipe is of course used to separate the rows.

But a CI form template (precisely a 'parser function') can be also used to display inputs with placeholders, like the following:

Contact form
form protected using Google recaptcha



Currently the parser function CI form can display the following type of forms:

  • inputs (as in the example above)
  • multiple choice questions
  • Cloze tests (completion tests)

The