User:Hwine/sandbox: Difference between revisions
Jump to navigation
Jump to search
(test) |
(t) |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
= # | ''Test of forms'' | ||
{{#forminput:form=Item|size=60|button text=Create or edit opinion item|autocomplete on category=Items|remote autocompletion}} | |||
</noinclude><includeonly>{{{info|create title=Create an opinion item|edit title=Edit an opinion item}}} | |||
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> | |||
{{{for template|Item}}} | |||
{| class="formtable" | |||
! Author(s): | |||
| {{{field|author|mandatory|property=Was written by|list|remote autocompletion}}} | |||
|- | |||
! Source: | |||
| {{{field|source|mandatory|property=Was published by|size=50|input type=combobox}}} | |||
|- | |||
! Date: | |||
| {{{field|date}}} | |||
|- | |||
! URL: | |||
| {{{field|url}}} | |||
|- | |||
! Quote: | |||
| {{{field|quote}}} | |||
|} | |||
{{{end template}}} | |||
{{{for template|Opinion|label=Opinions for this item|multiple}}} | |||
{| | |||
|'''Topic:''' | |||
|{{{field|1|size=55|property=Covers topic|input type=combobox}}} | |||
|- | |||
|'''Position:''' | |||
|{{{field|2|size=55|input type=combobox|property=Has position fragment|values dependent on=Opinion[1]}}} | |||
|- | |||
|'''Stance:''' | |||
|{{{field|3|property=Has stance}}} | |||
|} | |||
{{{end template}}} | |||
{{{for template|Reference|label=Previous opinion items this item refers to|multiple}}} | |||
'''Item name:''' {{{field|1|input type=text with autocomplete|values from category=Items|remote autocompletion|size=60|mandatory}}} | |||
{{{end template}}} | |||
'''Free text:''' | |||
{{{standard input|free text}}} | |||
{{{standard input|summary}}} | |||
{{{standard input|minor edit}}} {{{standard input|watch}}} | |||
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}} | |||
</includeonly> | |||
Latest revision as of 01:59, 19 May 2015
Test of forms