Form:News item: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{{for template|Opinion item}}}
<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.
 
{{#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}}}
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|Item}}}
{| class="formtable"
{| class="formtable"
! Author:
! Author(s):
| {{{field|author|mandatory}}}
| {{{field|author|mandatory|remote autocompletion}}}
|-
|-
! Source:
! Source:
| {{{field|source|mandatory}}}
| {{{field|source|mandatory|size=50|input type=combobox}}}
|-
|-
! Date:
! Date:
Line 14: Line 20:
|-
|-
! Quote:
! Quote:
| {{{field|quote|input type=textarea}}}
| {{{field|quote}}}
|}
|}
{{{end template}}}
{{{end template}}}


{{{for template|Opinion|label=Opinions for this item|multiple}}}
{{{for template|Opinion|label=Opinions for this item|multiple}}}
'''Topic:''' {{{field|1}}}
'''Topic:''' {{{field|1|property=Addresses topic|size=55}}}


'''Position:''' {{{field|2|size=55}}}
'''Position:''' {{{field|2|size=55}}}


'''Stance:''' {{{field|3|size=10}}}
'''Stance:''' {{{field|3|input type=dropdown|values=for,against,mixed}}}
{{{end template}}}
{{{end template}}}


{{{for template|Opinion 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|values from category=Opinion items}}}
'''Item name:''' {{{field|1|input type=text with autocomplete|values from category=Items|remote autocompletion|size=60|mandatory}}}
{{{end template}}}
{{{end template}}}


Line 40: Line 46:


{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
</includeonly>

Revision as of 17:04, 26 August 2011

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.