Línea 1: |
Línea 1: |
− | <noinclude>Example form and belongs to [[Demo:Event calendar]] | + | <noinclude>{{#forminput:form=Event calendar item}}</noinclude> |
− | ==See also ==
| + | <includeonly><div style="text-align: right; margin-top:-45px; margin-bottom:15px;"> {{{standard input|cancel}}} {{!}} {{{standard input|save|label=Save}}}</div> |
− | [[Template:Event calendar item]] [[Category:Semantic Forms examples]]</noinclude><includeonly><div style="text-align: right; margin-top:-45px; margin-bottom:15px;"> {{{standard input|cancel}}} {{!}} {{{standard input|save|label=Save}}}</div>
| + | {{{for template|Event calendar item|multiple|add button text=Add another event}}} |
− | {{{info|page name=Demo:Event calendar:<Event calendar item[start]>}}}
| |
− | {{{for template|Event calendar item}}} | |
− | | |
| {| style="width:100%;" | | {| style="width:100%;" |
| ! style="width: 110px; text-align: left; vertical-align: middle;" |Event: | | ! style="width: 110px; text-align: left; vertical-align: middle;" |Event: |
| | style="text-align: left;" colspan="3"|{{{field|event|size=85|input type=text|mandatory}}} | | | style="text-align: left;" colspan="3"|{{{field|event|size=85|input type=text|mandatory}}} |
| |- | | |- |
− | ! style="width: 110px; text-align: left; vertical-align: middle;" | Start: | + | ! style="width: 110px; text-align: left; vertical-align: middle;" | Start date: |
− | | {{{field|start|size=15|input type=datetimepicker}}} | + | | {{{field|startdate|size=15|input type=date}}} |
− | ! style="width: 110px; text-align: left; vertical-align: middle;" | End: | + | |- |
− | | {{{field|end|size=15|input type=datetimepicker}}} | + | ! style="width: 110px; text-align: left; vertical-align: middle;" | End date: |
| + | | {{{field|enddate|size=15|input type=date}}} |
| + | |- |
| + | ! style="width: 110px; text-align: left; vertical-align: middle;" | Color: |
| + | | {{{field|color|size=15|input type=text}}} |
| |- | | |- |
− | ! style="text-align: left;"| Type:
| |
− | | style="text-align: left;"| {{{field|type|size=30|input type=combobox|values from property=Has event type|remote autocompletion|mandatory}}}
| |
| ! style="width: 80px; text-align: left; vertical-align: middle;" | Location: | | ! style="width: 80px; text-align: left; vertical-align: middle;" | Location: |
| | {{{field|location|size=23|input type=text with autocomplete|values from property=Has location|remote autocompletion}}} | | | {{{field|location|size=23|input type=text with autocomplete|values from property=Has location|remote autocompletion}}} |
Línea 22: |
Línea 21: |
| | style="text-align: left;" colspan="3" | {{{field|description|input type=textarea|rows=5|cols=65}}}{{{field|some|hidden}}} | | | style="text-align: left;" colspan="3" | {{{field|description|input type=textarea|rows=5|cols=65}}}{{{field|some|hidden}}} |
| |} | | |} |
− | {{{end template}}} __NOFACTBOX__ </includeonly> | + | {{{end template}}} |
| + | </includeonly> |