Difference between revisions of "Form:Article"

From Civicwiki
Jump to: navigation, search
m
 
(38 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|-
 
|-
 
|  
 
|  
*Enter an article title to add a new article or to edit an existing article.  
+
*Enter an article title to add a new article or to edit an existing article. <br>You must be logged in to self-approve your article.
 
|}
 
|}
 
{{#forminput:Article|50}}
 
{{#forminput:Article|50}}
Line 16: Line 16:
 
{| class="formtable" width="600pt"
 
{| class="formtable" width="600pt"
 
|-
 
|-
| valign="top" | Summary:
+
! valign="top" | Category:
| Enter summary, used by "Featured Article"<br>
+
| Choose a Category.<br>
{{{field|HasSummary|editor=wikieditor|rows=10}}}
+
{{{field|HasCategory|input type=category|top category=Theme|hideroot}}}
 
|-
 
|-
| valign="top" | Text<font color="red">*</font>:
+
! valign="top" | Summary:
 +
| Enter summary, used by "Featured Article".<br>
 +
{{{field|HasSummary|editor=wikieditor|rows=5}}}
 +
|-
 +
! valign="top" | Author<font color="red">*</font>:
 +
| {{{field|HasAuthor|mandatory|default=current user}}}
 +
|-
 +
! valign="top" nowrap| Date of entry<font color="red">*</font>:
 +
| {{{field|HasArticleDate|mandatory|default=now}}}
 +
|}
 +
{{{end template}}}
 +
{{{for template|SectionDefault}}}
 +
<div style="opacity: 1; display: block;" class="multipleTemplateInstance multipleTemplate">
 +
{| class="formtable" width="600pt"
 +
|-
 +
! valign="top" | Text<font color="red">*</font>:
 
| Enter article text.<br>
 
| Enter article text.<br>
{{{field|HasArticleText|mandatory|editor=wikieditor|rows=20|autogrow}}}
 
 
|-
 
|-
| valign="top" | Image:
+
| colspan="2"|{{{field|HasArticleText|mandatory|input type=textarea|editor=wikieditor|rows=20}}}
 +
|- 
 +
| colspan="2"| <center><h2>Infobox #1</h2></center>
 +
|-
 +
! valign="top" | Image:
 
| Upload image.<br>
 
| Upload image.<br>
 
{{{field|HasImage|uploadable}}}
 
{{{field|HasImage|uploadable}}}
 
|-
 
|-
| valign="top" | Image title<font color="red">*</font>:
+
! valign="top" | Image title:
| Shown in infobox<br>
+
| Shown in infobox #1<br>
{{{field|HasImageTitle|mandatory}}}
+
{{{field|HasImageTitle}}}
 
|-
 
|-
| valign="top" | Image description:
+
! valign="top" | Image description:
| Shown in infobox<br>
+
| Shown in infobox #1<br>
{{{field|HasImageDescription}}}
 
 
|-
 
|-
| valign="top" | Author<font color="red">*</font>:
+
| colspan="2"|{{{field|HasImageDescription|editor=wikieditor|rows=5}}}
| {{{field|HasAuthor|mandatory|default=current user}}}
+
|- 
 +
| colspan="2"| <center><h2>Infobox #2</h2></center>
 +
|-
 +
! valign="top" | Image:
 +
| Upload image.<br>
 +
{{{field|HasImage2|uploadable}}}
 +
|-
 +
! valign="top" | Image title:
 +
| Shown in infobox #2<br>
 +
{{{field|HasImageTitle2}}}
 +
|-
 +
! valign="top" | Image description:
 +
| Shown in infobox #2<br>
 +
|-
 +
| colspan="2"|{{{field|HasImageDescription2|editor=wikieditor|rows=5}}}
 +
|}
 +
</div>
 +
{{{end template}}}
 +
{{{for template|Section|multiple|add button text=Add NEW section}}}
 +
{| class="formtable" width="600pt"
 +
|-
 +
! valign="top" | Text<font color="red">*</font>:
 +
| Enter article text.<br>
 +
|-
 +
| colspan="2"|{{{field|HasArticleText|mandatory|input type=textarea|editor=wikieditor|rows=20}}}
 +
|- 
 +
| colspan="3"| <center><h2>Infobox #1</h2></center>
 +
|-
 +
! valign="top" | Image:
 +
| Upload image.<br>
 +
{{{field|HasImage|uploadable}}}
 +
|-
 +
! valign="top" | Image title:
 +
| Shown in infobox #1<br>
 +
{{{field|HasImageTitle}}}
 +
|-
 +
! valign="top" | Image description:
 +
| Shown in infobox #1<br>
 +
|-
 +
| colspan="2"|{{{field|HasImageDescription|editor=wikieditor|rows=5}}}
 +
|- 
 +
| colspan="2"| <center><h2>Infobox #2</h2></center>
 +
|-
 +
! valign="top" | Image:
 +
| Upload image.<br>
 +
{{{field|HasImage2|uploadable}}}
 +
|-
 +
! valign="top" | Image title:
 +
| Shown in infobox #2<br>
 +
{{{field|HasImageTitle2}}}
 +
|-
 +
! valign="top" | Image description:
 +
| Shown in infobox #2<br>
 
|-
 
|-
| valign="top" nowrap| Date of entry<font color="red">*</font>:
+
| colspan="2"|{{{field|HasImageDescription2|editor=wikieditor|rows=5}}}
| {{{field|HasArticleDate|mandatory|default=now}}}
 
 
|}
 
|}
 
{{{end template}}}
 
{{{end template}}}
 +
{{{for template|Citations}}}
 +
{{{end template}}}
 +
{{{standard input|free text|editor=wikieditor}}}
 +
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|cancel}}}__NOTOC__
 
</includeonly>
 
</includeonly>

Latest revision as of 17:00, 21 December 2014

  • Enter an article title to add a new article or to edit an existing article.
    You must be logged in to self-approve your article.