Form:Item: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
No edit summary
(17 intermediate revisions by 3 users not shown)
Line 5: Line 5:
</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>
Also possible?
{{{for template|Item}}}
{{{for template|Item}}}
{| 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 26: Line 25:


{{{for template|Opinion|label=Opinions for this item|multiple}}}
{{{for template|Opinion|label=Opinions for this item|multiple}}}
'''Topic:''' {{{field|1|property=Addresses topic|size=55}}}
<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}}}
<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|input type=dropdown|values=for,against,mixed}}}
<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 10:54, September 30, 2019

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.