Form:Item: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(New semantic structure for "Opinion" template)
No edit summary
(16 intermediate revisions by 3 users not shown)
Line 8: Line 8:
{| class="formtable"
{| class="formtable"
! Author(s):
! Author(s):
| {{{field|author|mandatory|remote autocompletion}}}
| {{{field|author|mandatory}}}
|-
|-
! Source:
! Source:
| {{{field|source|mandatory|size=50|input type=combobox}}}
| {{{field|source|mandatory}}}
|-
|-
! Date:
! Date:
Line 25: Line 25:


{{{for template|Opinion|label=Opinions for this item|multiple}}}
{{{for template|Opinion|label=Opinions for this item|multiple}}}
'''Topic:''' {{{field|1|size=55|property=Covers topic}}}
<span style="float: left; padding-right: 5px;">'''Topic:'''</span>
 
<span style="float: left; padding-right: 20px;">{{{field|1|input type=combobox}}}</span>
'''Position:''' {{{field|2|size=55|input type=text with autocompletion|property=Has position fragment|values dependent on=Opinion[1]}}}
<span style="float: left; padding-right: 5px;">'''Position:'''</span>
 
<span style="float: left; padding-right: 20px;">{{{field|2|input type=combobox|values dependent on=Opinion[1]}}}</span>
'''Stance:''' {{{field|3|property=Has stance}}}
<span style="float: left; padding-right: 5px;">'''Stance:'''</span>
<span style="float: left;">{{{field|3}}}</span>
{{{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 20:22, November 11, 2020

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.