Form:News

From BioDIP
(Difference between revisions)
Jump to: navigation, search
 
(30 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"
 +
! Facility:
 +
| {{{field|facility|mandatory|values from category=Facility|default=IFN}}}
 +
|-
 +
! Topic:
 +
| {{{field|topic|mandatory|values from category=Topic-db|default=The Network}}}
 +
|-
 
! News Text:
 
! News Text:
| {{{field|text|mandatory}}}
+
| {{{field|text|mandatory|input type=textarea}}}
|}
+
|-
! Date:
+
! Show on main page?
| {{{field|date|input type=datetime|mandatory}}}
+
| {{{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}}}

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