CIForms sandbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
This is a sandbox for https://www.mediawiki.org/wiki/Extension:CIForms ! | This is a sandbox for https://www.mediawiki.org/wiki/Extension:CIForms ! | ||
=== | <pre> | ||
{{#CI form: title = Contact form | |||
| submission groups = sysop | |||
| first and last name [] * | |||
| email [email] * | |||
| your message [textarea] * | |||
}} | |||
</pre> | |||
which produces the following result | |||
{{#CI form: title = Contact form | |||
| submission groups = sysop | |||
| first and last name [] * | |||
| email [email] * | |||
| your message [textarea] * | |||
}} | |||
<pre> | |||
{{#CI form: title = Contact form | |||
| [first and last name] * | |||
| [email=email] * | |||
| [phone=tel] | |||
| [your message=textarea] * | |||
}} | |||
</pre> | |||
which produces the following: | |||
{{#CI form: title = Contact form | |||
| [first and last name] * | |||
| [email=email] * | |||
| [phone=tel] | |||
| [your message=textarea] * | |||
}} | |||
<pre> | |||
{{#CI form: title = Contact form | |||
| type = inputs responsive | |||
| submit = abc@test.com | |||
| first name [] * | |||
| last name [] * | |||
| email [email] * | |||
| phone [tel] | |||
| your message [textarea] * | |||
}} | |||
</pre> | |||
{{#CI form: title = Contact form | |||
| type = inputs responsive | |||
| submit = abc@test.com | |||
| first name [] * | |||
| last name [] * | |||
| email [email] * | |||
| phone [tel] | |||
| your message [textarea] * | |||
}} | |||
<pre> | |||
{{#CI form: title = Why do you want to learn Italian? | |||
| type = multiple choice | list-type = letters | max answers = 2 | |||
| I want to work using Italian language | |||
| I want to study using Italian language | |||
| Cultural interest / personal knowledge | |||
| interpersonal relationships [] * | |||
| prospective stay in Italy | |||
}} | |||
</pre> | |||
{{#CI form: title = Why do you want to learn Italian? | |||
| type = multiple choice | list-type = letters | max answers = 2 | |||
| I want to work using Italian language | |||
| I want to study using Italian language | |||
| Cultural interest / personal knowledge | |||
| interpersonal relationships [] * | |||
| prospective stay in Italy | |||
}} | |||
<pre> | |||
{{#CI form: title = Metti i verbi al futuro semplice | |||
| type = cloze test | |||
| * Vedo, vedo... che tra poco [incontrare=incontrerai] l'uomo della tua vita | |||
| Vedo, vedo... che [avere] una grande vincita al gioco | |||
| Questa carta mi dice che [vincere] il concorso che hai appena fatto | |||
| Quest'altra carta mi dice che [sposarsi] al massimo entro tre anni | |||
| Ah, qui vedo che [fare] un viaggio molto interessante | |||
| Qui vedo che [andare] ad abitare in un'altra citta' | |||
}} | |||
</pre> | |||
{{#CI form: title = Metti i verbi al futuro semplice | |||
| type = cloze test | |||
| * Vedo, vedo... che tra poco [incontrare=incontrerai] l'uomo della tua vita | |||
| Vedo, vedo... che [avere] una grande vincita al gioco | |||
| Questa carta mi dice che [vincere] il concorso che hai appena fatto | |||
| Quest'altra carta mi dice che [sposarsi] al massimo entro tre anni | |||
| Ah, qui vedo che [fare] un viaggio molto interessante | |||
| Qui vedo che [andare] ad abitare in un'altra citta' | |||
}} | |||
{{#CI form: | |||
title = Simple form | |||
| submission groups = sysop | |||
| name [] * | |||
| email [email] * | |||
| message [textarea=250] * | |||
}} | |||
{{#CI form: | {{#CI form: | ||
title = | title = Simple form (inputs) | ||
| submission groups = sysop | | submission groups = sysop | ||
| name [] * | | name [] * | ||
Line 12: | Line 140: | ||
{{#CI form: title = | |||
{{#CI form: title = Form with nested sections | |||
| submission groups = sysop | | submission groups = sysop | ||
| | | |
Revision as of 20:34, 8 January 2022
This is a sandbox for https://www.mediawiki.org/wiki/Extension:CIForms !
{{#CI form: title = Contact form | submission groups = sysop | first and last name [] * | email [email] * | your message [textarea] * }}
which produces the following result
{{#CI form: title = Contact form | [first and last name] * | [email=email] * | [phone=tel] | [your message=textarea] * }}
which produces the following:
{{#CI form: title = Contact form | type = inputs responsive | submit = abc@test.com | first name [] * | last name [] * | email [email] * | phone [tel] | your message [textarea] * }}
{{#CI form: title = Why do you want to learn Italian? | type = multiple choice | list-type = letters | max answers = 2 | I want to work using Italian language | I want to study using Italian language | Cultural interest / personal knowledge | interpersonal relationships [] * | prospective stay in Italy }}
{{#CI form: title = Metti i verbi al futuro semplice | type = cloze test | * Vedo, vedo... che tra poco [incontrare=incontrerai] l'uomo della tua vita | Vedo, vedo... che [avere] una grande vincita al gioco | Questa carta mi dice che [vincere] il concorso che hai appena fatto | Quest'altra carta mi dice che [sposarsi] al massimo entro tre anni | Ah, qui vedo che [fare] un viaggio molto interessante | Qui vedo che [andare] ad abitare in un'altra citta' }}