注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Form:News"

From Funtoo
Jump to navigation Jump to search
(Created page with "<noinclude> __NOTOC__ == Add a New Ebuild == {{#forminput:form=News|query string=namespace=News}} </noinclude><includeonly> {{{for template|News}}} {{TableStart}} <tr><th cl...")
 
 
(17 intermediate revisions by the same user not shown)
Line 2: Line 2:
__NOTOC__
__NOTOC__


== Add a New Ebuild ==
== Create a News Item ==


{{#forminput:form=News|query string=namespace=News}}
{{#forminput:form=News|query string=namespace=News}}
Line 8: Line 8:
{{{for template|News}}}
{{{for template|News}}}
{{TableStart}}
{{TableStart}}
<tr><th class="active">Summary</th><td>{{{field|Summary|input type=textarea|placeholder=Specify a short summary of the news item. One or two sentences max.}}}</td></tr>
<tr><th class="active">Summary</th><td>{{{field|Summary|input type=textarea|placeholder=Specify a short summary of the news item. One or two sentences max. If a "short" item, this is the only text that will be displayed.}}}</td></tr>
<tr><th class="active">Publication Status</th><td>{{{field|Publication Status}}}</td></tr>
<tr><th class="active">Format</th><td>{{{field|News Format|input type=dropdown|values=Short,Extended|default=Short}}}
<tr><th class="active">Category</th><td>{{{field|News Category|input type=dropdown|values=Security,Infrastructure,General,Development,Packages}}}</td></tr>
<tr><th class="active">Author</th><td>{{{field|Author|autocomplete on namespace=User|size=100|placeholder=Specify username|default=current user}}}</td></tr>
<tr><th class="active">Publication Status</th><td>{{{field|Publication Status|input type=dropdown|values=Draft,Published|default=Draft}}}</td></tr>
<tr><th class="active">Deprecated by</th><td>{{{field|Deprecated By|placeholder=page of news item that deprecates/replaces this out-of-date news item.|values from namespace=News|remote autocompletion|size=100}}}</td></tr>
<tr><th class="active">Publication Date</th><td>{{{field|Publication Date|input type=datepicker|default=now}}}</td></tr>
<tr><th class="active">Icon</th><td>{{{field|Icon|uploadable|placeholder=Image file. Leave blank to use your gravatar|values from namespace=File|size=100}}}</td></tr>
{{TableEnd}}
{{TableEnd}}
{{{end template}}}
{{{end template}}}
== Documentation ==
== Documentation ==


Enter news information below:
If an extended news item, enter info here:


{{{standard input|free text|rows=30}}}
{{{standard input|free text|rows=30}}}

Latest revision as of 19:32, November 6, 2014


Create a News Item