Form:Semantic Form demo: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
Please '''do not create new forms'''. Here are your options: | Please '''do not create new forms'''. Here are your options: | ||
* Look at the source code and read the [[Semantic Forms]] | * Look at the source code and read the [[Semantic Forms]] and [[Semantic Forms Inputs]] articles | ||
* Play with the single [[Semantic Form demo page]] | * Play with the single [[Semantic Form demo page]] | ||
* Create a new form, but do not save it ... | * Create a new form, but do not save it ... | ||
Official documentation: | |||
* [http://www.mediawiki.org/wiki/Extension:Semantic_Forms Semantic Forms] (Mediawiki.org) | |||
* [http://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs Semantic Forms Inputs] (Mediawiki.org) | |||
{{#forminput:form=Semantic Form demo}} | {{#forminput:form=Semantic Form demo}} | ||
Line 15: | Line 19: | ||
! Field_text (Any text no longer than 65 chars): | ! Field_text (Any text no longer than 65 chars): | ||
| {{{field|field_text|size=40|placeholder=Texte par défaut|maxlength=65|}}} | | {{{field|field_text|size=40|placeholder=Texte par défaut|maxlength=65|}}} | ||
|- | |||
! Field_screenshot (upload a file or link to it): | |||
| {{{field|field_screenshot|uploadable}}} | |||
|- | |- | ||
! Field_text_autocomplete (Type a correct developer name): | ! Field_text_autocomplete (Type a correct developer name): | ||
Line 26: | Line 33: | ||
|- | |- | ||
! Field_category (Select a category): | ! Field_category (Select a category): | ||
| {{{field|field_category|input type=category|top category= | | {{{field|field_category|input type=category|top category=3D printing}}} | ||
|- | |- | ||
! Field_categories: | ! Field_categories: | ||
| {{{field|field_categories|input type=categories| | | {{{field|field_categories|input type=categories|top category=Technologies|height=200|hideroot=on|depth=1}}} | ||
|- | |- | ||
! Field_dropdown (Choose one): | ! Field_dropdown (Choose one): | ||
| {{{field|field_dropdown|input type=dropdown|values = | | {{{field|field_dropdown|input type=dropdown|values = hot, cold, medium}}} | ||
|- | |- | ||
! Field_combobox (Pick or type your favorite drug): | ! Field_combobox (Pick or type your favorite drug): | ||
Line 52: | Line 59: | ||
| {{{field|field_listbox|input type=listbox|values = Coffee, Computer gaming, Alcohol, Sex, Gambling, Loud Rock Music, Coca Cola}}} | | {{{field|field_listbox|input type=listbox|values = Coffee, Computer gaming, Alcohol, Sex, Gambling, Loud Rock Music, Coca Cola}}} | ||
|- | |- | ||
! Field_datepicker: | ! Field_datepicker (not on weekends): | ||
| {{{field|field_datepicker|input type=datepicker}}} | | {{{field|field_datepicker|input type=datepicker||date format=dd.mm.yy|disable days of week=6,0}}} | ||
|- | |- | ||
! Field_timepicker: | ! Field_timepicker (only reasonable hours): | ||
| {{{field|field_timepicker|input type=timepicker}}} | | {{{field|field_timepicker|input type=timepicker||show reset button|mintime=10:00|maxtime=18:59|interval=15}}} | ||
|- | |- | ||
! Field_datetimepicker: | ! Field_datetimepicker (any date/time): | ||
| {{{field|field_datetimepicker|input type=datetimepicker}}} | | {{{field|field_datetimepicker|input type=datetimepicker|interval=15|default=yes}}} | ||
|- | |- | ||
! Field_menuselect: | ! Field_menuselect: |
Latest revision as of 12:30, 24 July 2013
This is the "Semantic Form demo" form.
Please do not create new forms. Here are your options:
- Look at the source code and read the Semantic Forms and Semantic Forms Inputs articles
- Play with the single Semantic Form demo page
- Create a new form, but do not save it ...
Official documentation:
- Semantic Forms (Mediawiki.org)
- Semantic Forms Inputs (Mediawiki.org)
Readme
This form demonstrates Semantic Forms. It uses the Form:Semantic_Form_demo and the Template:Semantic_Form_demo
In order to avoid "data pollution" in this wiki, the Form is not "semantic", i.e. it demonstrates input types that are not linked to semantic properties.