Difference between revisions of "Form:Article"
From Civicwiki
(14 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 23: | Line 23: | ||
| Enter summary, used by "Featured Article".<br> | | Enter summary, used by "Featured Article".<br> | ||
{{{field|HasSummary|editor=wikieditor|rows=5}}} | {{{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>: | ! valign="top" | Text<font color="red">*</font>: | ||
| Enter article text.<br> | | Enter article text.<br> | ||
− | {{{field|HasArticleText|mandatory|input type=textarea|editor=wikieditor|rows=20}}} | + | |- |
+ | | colspan="2"|{{{field|HasArticleText|mandatory|input type=textarea|editor=wikieditor|rows=20}}} | ||
|- | |- | ||
| colspan="2"| <center><h2>Infobox #1</h2></center> | | colspan="2"| <center><h2>Infobox #1</h2></center> | ||
Line 40: | Line 52: | ||
! valign="top" | Image description: | ! valign="top" | Image description: | ||
| Shown in infobox #1<br> | | Shown in infobox #1<br> | ||
− | {{{field|HasImageDescription|editor=wikieditor|rows=5}}} | + | |- |
+ | | colspan="2"|{{{field|HasImageDescription|editor=wikieditor|rows=5}}} | ||
|- | |- | ||
| colspan="2"| <center><h2>Infobox #2</h2></center> | | colspan="2"| <center><h2>Infobox #2</h2></center> | ||
Line 54: | Line 67: | ||
! valign="top" | Image description: | ! valign="top" | Image description: | ||
| Shown in infobox #2<br> | | Shown in infobox #2<br> | ||
− | |||
|- | |- | ||
− | ! valign="top" | | + | | colspan="2"|{{{field|HasImageDescription2|editor=wikieditor|rows=5}}} |
− | | {{{field| | + | |} |
+ | </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> | ||
|- | |- | ||
− | + | | colspan="2"|{{{field|HasImageDescription2|editor=wikieditor|rows=5}}} | |
− | | {{{field| | ||
|} | |} | ||
{{{end template}}} | {{{end template}}} | ||
− | {{{standard input|save}}} {{{standard input|preview}}} {{{standard input|cancel}}} | + | {{{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 21:00, 21 December 2014
|