Form:Item: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(No need for underscore)
No edit summary
 
(82 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<h2>Add or edit an item</h2>
<noinclude>
 
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.
  <p><strong>Title:</strong> {{{field|page title}}}</p>


{{#forminput:form=Item|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}}}
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|Item}}}
{{{for template|Item}}}
  <p><strong>Author:</strong> {{{field|author|mandatory}}}</p>
{| class="formtable"
  <p><strong>Source:</strong> {{{field|source|mandatory}}}</p>
! Author(s):
  <p><strong>URL:</strong> {{{field|url}}}</p>
| {{{field|author|mandatory}}}
  <p><strong>Date:</strong> {{{field|date}}}</p>
|-
  <p><strong>Quote:</strong> {{{field|quote|input type=textarea|}}}</p>
! Source:
| {{{field|source|mandatory}}}
|-
! Date:
| {{{field|date}}}
|-
! URL:
| {{{field|url}}}
|-
! Quote:
| {{{field|quote}}}
|}
{{{end template}}}
{{{end template}}}


<div style="border:1px black solid; padding:5px; margin-top:10px; margin-bottom:10px">
{{{for template|Opinion|label=Opinions for this item|multiple}}}
<p><strong>Additional authors:</strong></p>
<span style="float: left; padding-right: 5px;">'''Topic:'''</span>
{{{for template|Additional author|multiple}}}
<span style="float: left; padding-right: 20px;">{{{field|1|input type=combobox}}}</span>
  <p><strong>Author:</strong> {{{field|1|autocomplete on=Authors}}}</p>
<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>
<span style="float: left; padding-right: 5px;">'''Stance:'''</span>
<span style="float: left;">{{{field|3}}}</span>
{{{end template}}}
{{{end template}}}
</div>


<div style="border:1px black solid; padding:5px; margin-top:10px; margin-bottom:10px">
{{{for template|Reference|label=Previous opinion items this item refers to|multiple}}}
<p><strong>Opinions for this item:</strong></p>
'''Item name:''' {{{field|1|input type=text with autocomplete|values from category=Items|size=60|mandatory}}}
{{{for template|Opinion|multiple}}}
  <p><strong>Topic:</strong> {{{field|1}}} <strong>Position:</strong> {{{field|2|size=55}}}</p>
  <p><strong>Stance:</strong> {{{field|3|size=10}}}</p>
{{{end template}}}
{{{end template}}}
</div>


<div style="border:1px black solid; padding:5px; margin-top:10px; margin-bottom:10px">
'''Free text:'''
<p><strong>Previous items this item refers to:</strong></p>
 
{{{for template|Reference|multiple}}}
{{{standard input|free text}}}
  <p><strong>Item name:</strong> {{{field|1|autocomplete on=Items}}}</p>
</includeonly>
{{{end template}}}
</div>

Latest revision as of 14:41, July 20, 2022

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.