Form:News

From BioDIP
(Difference between revisions)
Jump to: navigation, search
 
(36 intermediate revisions by one user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the 'News' form.
+
Enter a title for news. If news with that name already exist, you will be sent to a form to edit that news.
To add a page with this form, enter the page name below;
+
if a page with that name already exists, you will be sent to a form to edit that page.
+
  
{{#forminput:News}}
+
{{#forminput:News|autocomplete on category=News}}
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{{{for template|News}}}
 
{{{for template|News}}}
 
{| class="formtable"
 
{| class="formtable"
! Category:
+
! Facility:
| {{{field|category|hidden}}}
+
| {{{field|facility|mandatory|values from category=Facility|default=IFN}}}
 
|-
 
|-
! News Title:
+
! Topic:
| {{{field|title|mandatory}}}
+
| {{{field|topic|mandatory|values from category=Topic-db|default=The Network}}}
 +
|-
 +
! News Text:
 +
| {{{field|text|mandatory|input type=textarea}}}
 +
|-
 +
! Show on main page?
 +
| {{{field|include|mandatory|input type=radiobutton|values=Yes,No|default=Yes}}}
 +
|-
 +
| {{{field|category|hidden|default=news}}}
 +
| {{{field|date|input type=date|mandatory|hidden|default=now}}}
 +
| {{{field|user|input type=text|hidden|default=current user|mandatory}}}
 
|}
 
|}
 
{{{end template}}}
 
{{{end template}}}
  
{{{standard input|summary}}}
+
{{{standard input|save}}} {{{standard input|changes}}} {{{standard input|cancel}}}
 
+
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
+
 
</includeonly>
 
</includeonly>

Latest revision as of 16:22, 25 September 2009

Enter a title for news. If news with that name already exist, you will be sent to a form to edit that news.


Personal tools