Form:Item: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Make sure URL is interpreted as external link)
(Removed unnecessary "remote autocompletion" params)
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
This is the 'Item' form. Enter the name of the opinion item you want to add here. If an opinion item with that name already exists on this site, you will be sent to the form for editing that page; otherwise, you will be sent to the form for adding the page.
This is the 'Item' form. Enter the name of the opinion item you want to add here. If an opinion item with that name already exists on this site, you will be sent to the form for editing that page; otherwise, you will be sent to the form for adding the page.


{{#forminput:form=Item|size=60|button text=Create or edit opinion item|autocomplete on category=Items|remote autocompletion}}
{{#forminput:form=Item|size=60|button text=Create or edit opinion item|autocomplete on category=Items}}
</noinclude><includeonly>{{{info|create title=Create an opinion item|edit title=Edit an opinion item}}}
</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>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
Line 8: Line 8:
{| class="formtable"
{| class="formtable"
! Author(s):
! Author(s):
| {{{field|author|mandatory|remote autocompletion}}}
| {{{field|author|input type=tokens|mandatory}}}
|-
|-
! Source:
! Source:
| {{{field|source|mandatory|size=50|input type=combobox}}}
| {{{field|source|input type=combobox|mandatory}}}
|-
|-
! Date:
! Date:
Line 17: Line 17:
|-
|-
! URL:
! URL:
| [{{{field|url}}}]
| {{{field|url}}}
|-
|-
! Quote:
! Quote:
Line 27: Line 27:
{|
{|
|'''Topic:'''
|'''Topic:'''
|{{{field|1|size=55|property=Covers topic|input type=combobox}}}
|{{{field|1|input type=combobox}}}
|-
|-
|'''Position:'''
|'''Position:'''
|{{{field|2|size=55|input type=combobox|property=Has position fragment|values dependent on=Opinion[1]}}}
|{{{field|2|input type=combobox|values dependent on=Opinion[1]}}}
|-
|-
|'''Stance:'''
|'''Stance:'''
|{{{field|3|property=Has stance}}}
|{{{field|3}}}
|}
|}
{{{end template}}}
{{{end template}}}


{{{for template|Reference|label=Previous opinion items this item refers to|multiple}}}
{{{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}}}
'''Item name:''' {{{field|1|input type=text with autocomplete|values from category=Items|size=60|mandatory}}}
{{{end template}}}
{{{end template}}}



Revision as of 19:22, May 11, 2016

This is the 'Item' form. Enter the name of the opinion item you want to add here. If an opinion item with that name already exists on this site, you will be sent to the form for editing that page; otherwise, you will be sent to the form for adding the page.