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
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<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}}
'''Attention''': This form was made for demonstration purposes, read the [[Semantic Forms]] article please.
</noinclude><includeonly>{{{info|create title=Create an opinion item|edit title=Edit an opinion item}}}
 
This is the 'News Item' form. Enter the name of some news item you want to add here. If an news 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=News item|size=60|button text=Create or edit news item|autocomplete on category=Items}}
</noinclude><includeonly>{{{info|create title=Create an news item|edit title=Edit an news 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>
{{{for template|Item}}}
{{{for template|News item}}}
{| class="formtable"
{| class="formtable"
! Author(s):
! Author(s):
Line 32: Line 35:
{{{end template}}}
{{{end template}}}


{{{for template|Reference|label=Previous opinion items this item refers to|multiple}}}
{{{for template|News reference|label=Previous news 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|remote autocompletion|size=60|mandatory}}}
{{{end template}}}
{{{end template}}}
Line 47: Line 50:
{{{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>
</includeonly>
<noinclude>
Source of this example
* http://discoursedb.org/wiki/Form:Item
Copyright:
* [http://en.wikipedia.org/wiki/Wikipedia:Text_of_the_GNU_Free_Documentation_License GNU Free Documentation License]
</noinclude>
Examples:
{{#ask: [[Category:News items]]}}

Latest revision as of 14:25, 29 July 2013


Attention: This form was made for demonstration purposes, read the Semantic Forms article please.

This is the 'News Item' form. Enter the name of some news item you want to add here. If an news 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.


Source of this example

Copyright:


Examples: Test opinion, Test opinion 2